utilities/Jenkinsfile
Timo Hocker 9a62bd2905 Revert "jenkins version"
This reverts commit 476aec75b4963e5392acc0ec9800c20107f1281f.
2020-06-30 10:06:53 +02:00

24 lines
484 B
Groovy

pipeline {
agent any
environment {
VERSION = VersionNumber([
versionNumberString:
'${BUILDS_ALL_TIME}',
versionPrefix: '1.6.',
worstResultForIncrement: 'SUCCESS'
])
}
stages {
stage('Building') {
steps {
script {
currentBuild.displayName = env.VERSION
}
sh 'yarn ci ${VERSION}'
}
}
}
}