Files
jenkins-pipelines/jobs-dsl/jobs/DevSecOps/svace_analyze.groovy
aleksandr.vodyanov 7d18b08d0b [DO-736] svace analyze for different arch (!29)
Добавлены параметры для разделения анализов по платформе под сборку.

Reviewed-on: https://git.avroid.tech/DevOps/jenkins-pipelines/pulls/29
Co-authored-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech>
Co-committed-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech>
2024-07-17 13:37:51 +03:00

45 lines
1.2 KiB
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('Git project main branch')
name('MAIN_BRANCH')
defaultValue('')
}
string {
description('Link with build results')
name('SVACE_BUILD_RESULTS_LINK')
defaultValue('')
}
string {
description('Name, version and arch of build. Example: aurora5_armv7hl')
name('BUILD_PATFORM')
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')
}
}
}