Skip to content
Snippets Groups Projects
Commit 3611bdcb authored by Emanuele Aina's avatar Emanuele Aina
Browse files

Jenkinsfile: Define PIPELINE_VERSION early to fix devroot name


Move the definition of env.PIPELINE_VERSION very early so that the devroot name
setting can make use of it.

Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent 0645d029
No related branches found
No related tags found
1 merge request!110Jenkinsfile: Define PIPELINE_VERSION early to fix devroot name
#!/usr/bin/env groovy
env.PIPELINE_VERSION = VersionNumber(versionNumberString: '${BUILD_DATE_FORMATTED,"yyyyMMdd"}.${BUILDS_TODAY_Z}')
osname = 'apertis'
release = "v2019dev0"
......@@ -398,8 +400,7 @@ def buildImages(architecture, type, boards, debosarguments = "", image = true, s
buildenv.inside("--device=/dev/kvm") {
stage("setup ${architecture} ${type}") {
env.PIPELINE_VERSION = VersionNumber(versionNumberString: '${BUILD_DATE_FORMATTED,"yyyyMMdd"}.${BUILDS_TODAY_Z}')
sh ("env ; mkdir -p ${PIPELINE_VERSION}/${architecture}/${type}")
sh ("env ; mkdir -p ${PIPELINE_VERSION}/${architecture}/${type}")
}
// Add successfully build artifacts here to know which ones we need to upload and test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment