Files
jenkins-pipelines/jobs-dsl/jobs/DevSecOps/svace_analyze.groovy
aleksandr.vodyanov 87ad52f470 [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>
2024-02-22 15:31:40 +03:00

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')
}
}
}