-
Notifications
You must be signed in to change notification settings - Fork 28
/
.vsts-ci-security.yml
41 lines (39 loc) · 1.36 KB
/
.vsts-ci-security.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
resources:
repositories:
- repository: common
type: github
name: UiPath/AzurePipelinesTemplates
ref: refs/tags/uipath.security.scans.1.5.17
endpoint: "GitHub connection"
variables:
MavenPOMFile: '$(Build.SourcesDirectory)\pom.xml'
stages:
- stage: BuildSecurityScan
displayName: Build and Security Scan
jobs:
- job: BuildAndScan
displayName: Build and Security Scan
pool:
vmImage: windows-latest
demands:
- maven
steps:
- task: BuildProcessCleaner@0
- task: Maven@3
displayName: 'Build plugin package (Java 11)'
inputs:
mavenPomFile: $(MavenPOMFile)
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.11'
sqMavenPluginVersionChoice: 'latest'
options: '-DskipTests -Dsonar.projectKey=jenkins-plugin -Duser.name=UiPath --no-transfer-progress -Dmaven.artifact.threads=16 -T 4 -DrerunFailingTestsCount=0'
- template: Security/security.yml@common
parameters:
removeSpecificPath: true
OS: 'windows'
azureSubscription: 'Internal-Production-EA'
FOSSAFlags: '--branch "AUTO-PluginsJenkins-$(Build.SourceBranch)-$(System.PipelineStartTime)"'
FOSSAInitFlags: ''
FOSSAPathToRemove: ''
FOSSAPathInclusionRegex: ''
FOSSAExclusionRegex: ''