fix(jenkins): do not trigger emissary-firmware with dirty tag
arcad/emissary/pipeline/head This commit is unstable
Details
arcad/emissary/pipeline/head This commit is unstable
Details
This commit is contained in:
parent
06b1235707
commit
7ee4344adc
|
@ -51,6 +51,9 @@ pipeline {
|
||||||
sh 'make gitea-release'
|
sh 'make gitea-release'
|
||||||
}
|
}
|
||||||
def currentVersion = sh(returnStdout: true, script: 'make full-version').trim()
|
def currentVersion = sh(returnStdout: true, script: 'make full-version').trim()
|
||||||
|
if (currentVersion.endsWith('-dirty')) {
|
||||||
|
unstable('Could not trigger emissary-firmware build, dirty version !')
|
||||||
|
} else {
|
||||||
build(
|
build(
|
||||||
job: "../emissary-firmware/${env.GIT_BRANCH}",
|
job: "../emissary-firmware/${env.GIT_BRANCH}",
|
||||||
parameters: [
|
parameters: [
|
||||||
|
@ -61,6 +64,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
|
|
Loading…
Reference in New Issue