[DO-618] Changed svacer client ersion to 9.0.2 (!39)
[DO-618] Reviewed-on: https://git.avroid.tech/DevOps/jenkins-pipelines/pulls/39 Reviewed-by: Denis Patrakeev <denis.patrakeev@avroid.tech> Co-authored-by: Boris Shestov <boris.shestov@avroid.tech> Co-committed-by: Boris Shestov <boris.shestov@avroid.tech>
This commit is contained in:
committed by
Denis Patrakeev
parent
2648d95b56
commit
76b0be0000
@@ -5,7 +5,7 @@ import tech.avroid.scm.Git
|
|||||||
|
|
||||||
String buildThreads = '16'
|
String buildThreads = '16'
|
||||||
String svaceVersion = '3.4.240312'
|
String svaceVersion = '3.4.240312'
|
||||||
String svacerVersion = '8-0-1'
|
String svacerVersion = '9-0-2'
|
||||||
String svaceCmd = "/data/opt/svace-${svaceVersion}-x64-linux/bin/svace"
|
String svaceCmd = "/data/opt/svace-${svaceVersion}-x64-linux/bin/svace"
|
||||||
String svacerCmd = "/data/opt/svacer-${svacerVersion}/bin/svacer"
|
String svacerCmd = "/data/opt/svacer-${svacerVersion}/bin/svacer"
|
||||||
String svaceBuildResults = ''
|
String svaceBuildResults = ''
|
||||||
@@ -85,8 +85,8 @@ node('svace') {
|
|||||||
String mainBranch = params.MAIN_BRANCH
|
String mainBranch = params.MAIN_BRANCH
|
||||||
|
|
||||||
if (params.BUILD_PLATFORM) {
|
if (params.BUILD_PLATFORM) {
|
||||||
branch += '_' + params.BUILD_PLATFORM
|
branch += '_' + params.BUILD_PLATFORM
|
||||||
mainBranch += '_' + params.BUILD_PLATFORM
|
mainBranch += '_' + params.BUILD_PLATFORM
|
||||||
}
|
}
|
||||||
|
|
||||||
nexusSvaceSarifRepoPath = "${params.GIT_PROJECT}/${params.BRANCH}/${commitShortSha}"
|
nexusSvaceSarifRepoPath = "${params.GIT_PROJECT}/${params.BRANCH}/${commitShortSha}"
|
||||||
@@ -96,7 +96,7 @@ node('svace') {
|
|||||||
-o ${svaceSarifResultFile}
|
-o ${svaceSarifResultFile}
|
||||||
|
|
||||||
cd ${svaceResultsDir}
|
cd ${svaceResultsDir}
|
||||||
|
|
||||||
${svacerCmd} import --svace ${svaceCmd} \
|
${svacerCmd} import --svace ${svaceCmd} \
|
||||||
--project ${params.GIT_PROJECT} \
|
--project ${params.GIT_PROJECT} \
|
||||||
--branch ${branch} \
|
--branch ${branch} \
|
||||||
|
|||||||
Reference in New Issue
Block a user