[DO-273] add svace analyze pipeline (!16)
Reviewed-on: https://git.avroid.tech/DevOps/jenkins-pipelines/pulls/16 Reviewed-by: Andrey Danin <andrey.danin@avroid.tech> Co-authored-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech> Co-committed-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech>
This commit is contained in:
committed by
Aleksandr Vodyanov
parent
ce9e9cd67a
commit
87ad52f470
4
jobs-dsl/folders/DevSecOps.groovy
Normal file
4
jobs-dsl/folders/DevSecOps.groovy
Normal file
@@ -0,0 +1,4 @@
|
||||
folder('DevSecOps') {
|
||||
displayName('DevSecOps')
|
||||
description('DevSecOps directory for devsec CI')
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
folder('BBL-Waydroid') {
|
||||
displayName('BBL-Waydroid')
|
||||
description("Job for build Waydroid")
|
||||
}
|
||||
34
jobs-dsl/jobs/DevSecOps/svace_analyze.groovy
Normal file
34
jobs-dsl/jobs/DevSecOps/svace_analyze.groovy
Normal file
@@ -0,0 +1,34 @@
|
||||
pipelineJob('DevSecOps/svace_analyze') {
|
||||
parameters {
|
||||
string {
|
||||
description('Git project url')
|
||||
name('GIT_PROJECT')
|
||||
defaultValue('')
|
||||
}
|
||||
string {
|
||||
description('Git project branch')
|
||||
name('BRANCH')
|
||||
defaultValue('')
|
||||
}
|
||||
string {
|
||||
description('Link with build results')
|
||||
name('SVACE_BUILD_RESULTS_LINK')
|
||||
defaultValue('')
|
||||
}
|
||||
}
|
||||
|
||||
definition {
|
||||
cpsScm {
|
||||
scm {
|
||||
git {
|
||||
remote {
|
||||
url("${JENKINS_GIT_REPOSITORY_URL}/DevOps/jenkins-pipelines.git")
|
||||
credentials("${JENKINS_GIT_CREDENTIALS_HTTP}")
|
||||
}
|
||||
branch('master')
|
||||
}
|
||||
}
|
||||
scriptPath('pipelines/DevSecOps/svace-analyze.groovy')
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user