Jenkinsfile: do not strip BUILD_NUMBER from BUILD_TAG

This commit is contained in:
Benjamin Dauvergne 2020-08-20 17:15:26 +02:00
parent 9461c326a9
commit 384eb04f49
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -4,7 +4,7 @@ pipeline {
agent any
options { disableConcurrentBuilds() }
environment {
TMPDIR = "/tmp/$BUILD_TAG".substring(0, 23)
TMPDIR = "/tmp/${JOB_NAME.substring(0, 32)}-${BUILD_NUMBER}"
}
stages {
stage('Unit Tests (production environment)') {