forked from jenkinsci/uipath-automation-package-plugin
-
Notifications
You must be signed in to change notification settings - Fork 3
/
stage.security.yml
33 lines (33 loc) · 1.15 KB
/
stage.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
jobs:
- deployment: BuildAndScan
displayName: Build and Security Scan
pool:
vmImage: windows-latest
demands:
- maven
environment: Security-Scan
strategy:
runOnce:
deploy:
steps:
- checkout: self
- download: none
- 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: ''