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>
35 lines
917 B
Groovy
35 lines
917 B
Groovy
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')
|
|
}
|
|
}
|
|
}
|