ci: use jenkins environment to define current branch name for version generation
Some checks failed
arcad/emissary/pipeline/head There was a failure building this commit

This commit is contained in:
wpetit 2023-08-25 10:36:18 -06:00
parent 777648ff44
commit b31900ae2f

9
Jenkinsfile vendored
View File

@ -19,7 +19,7 @@ pipeline {
}
}
}
stage('Run unit tests') {
steps {
script {
@ -58,12 +58,13 @@ pipeline {
passwordVariable: 'GITEA_RELEASE_PASSWORD'
])
]) {
sh '''
sh """
export MKT_PROJECT_VERSION_BRANCH_NAME=${env.BRANCH_NAME}
make mktools
make gitea-release
'''
"""
}
build(
job: "../emissary-firmware/${env.GIT_BRANCH}",
parameters: [