forked from google/guava
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines-1.yml
45 lines (43 loc) · 1.71 KB
/
azure-pipelines-1.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
- master
pool:
vmImage: ubuntu-latest
variables:
- group: polaris-Kyle
resources:
repositories:
- repository: AzureBoardsScript
ref: master
type: git
name: Implementations
steps:
- checkout: self
- bash: |
curl -fLsS -o bridge.zip $BRIDGECLI_LINUX64 && unzip -qo -d $(Agent.TempDirectory) bridge.zip && rm -f bridge.zip
$(Agent.TempDirectory)/synopsys-bridge --verbose --stage polaris \
polaris.assessment.types='SAST' \
polaris.application.name='kyleh' \
polaris.project.name='ADO-BashTest' \
polaris.branch.name='$(Build.SourceBranchName)' \
project.directory=guava
- bash: |
$(Agent.TempDirectory)/synopsys-bridge --verbose --stage polaris \
polaris.assessment.types='SCA' \
polaris.application.name='kyleh' \
polaris.project.name='ADO-BashTest' \
polaris.branch.name='$(Build.SourceBranchName)' \
project.directory=guava
- checkout: AzureBoardsScript
- task: CmdLine@2
inputs:
script: |
cd Implementations/AzureBoardsScript
python polaris_azure_ci.py --config "polaris-azure.conf" --polaris-application-name "kyleh" --polaris-project-name "ADO-BashTest" --polaris-branch-name $(Build.SourceBranchName) --polaris-severities-filter "''''critical'''',''''high'''',''''medium'''',''''low'''',''''info''''" --azure-project-name "PolarisTickets" --azure-iteration-path "iteration 2" --azure-area-path "area path test"
- task: CmdLine@2
inputs:
script: 'cat Implementations/AzureBoardsScript/logs/synopsys-azure.log'
condition: always()