Compare commits

..

1 Commits

Author SHA1 Message Date
7ee4344adc fix(jenkins): do not trigger emissary-firmware with dirty tag
Some checks reported warnings
arcad/emissary/pipeline/head This commit is unstable
2023-04-06 10:40:05 +02:00

17
Jenkinsfile vendored
View File

@ -51,13 +51,16 @@ 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()
sh 'git status' if (currentVersion.endsWith('-dirty')) {
// build( unstable('Could not trigger emissary-firmware build, dirty version !')
// job: "../emissary-firmware/${env.GIT_BRANCH}", } else {
// parameters: [ build(
// [$class: 'StringParameterValue', name: 'emissaryRelease', value: currentVersion] job: "../emissary-firmware/${env.GIT_BRANCH}",
// ] parameters: [
// ) [$class: 'StringParameterValue', name: 'emissaryRelease', value: currentVersion]
]
)
}
} }
} }
} }