Timo Hocker 8a6eda9d89 Revert "add clean workspace to jenkins templates"
This reverts commit a89fd1e4d9c91c1cde675c11c0b3d86cbf2ff0fe.
2020-03-10 08:07:02 +01:00

24 lines
484 B
Groovy

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