ci: use jenkins environment to define current branch name for version generation
arcad/emissary/pipeline/head There was a failure building this commit
Details
arcad/emissary/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
777648ff44
commit
b31900ae2f
|
@ -19,7 +19,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Run unit tests') {
|
stage('Run unit tests') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
|
@ -58,12 +58,13 @@ pipeline {
|
||||||
passwordVariable: 'GITEA_RELEASE_PASSWORD'
|
passwordVariable: 'GITEA_RELEASE_PASSWORD'
|
||||||
])
|
])
|
||||||
]) {
|
]) {
|
||||||
sh '''
|
sh """
|
||||||
|
export MKT_PROJECT_VERSION_BRANCH_NAME=${env.BRANCH_NAME}
|
||||||
make mktools
|
make mktools
|
||||||
make gitea-release
|
make gitea-release
|
||||||
'''
|
"""
|
||||||
}
|
}
|
||||||
|
|
||||||
build(
|
build(
|
||||||
job: "../emissary-firmware/${env.GIT_BRANCH}",
|
job: "../emissary-firmware/${env.GIT_BRANCH}",
|
||||||
parameters: [
|
parameters: [
|
||||||
|
|
Loading…
Reference in New Issue