Skip to content
Snippets Groups Projects
Commit 8053edc5 authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Revert "Force tags retrieval"

parent 8d6acd19
No related branches found
No related tags found
No related merge requests found
pipeline { pipeline {
agent { label 'docker-compose' } agent { label 'docker-compose' }
environment {
GIT_TAG = sh(returnStdout: true, script: 'git describe --exact-match || true').trim()
}
stages { stages {
stage('Refresh') { stage('Refresh') {
steps { steps {
slackSend (color: 'good', message: "STARTED: <${env.BUILD_URL}|${env.JOB_NAME} [${env.BUILD_NUMBER}]>") slackSend (color: 'good', message: "STARTED: <${env.BUILD_URL}|${env.JOB_NAME} [${env.BUILD_NUMBER}]>")
sh 'git fetch --tags'
sh 'make clean' sh 'make clean'
sh 'make refresh' sh 'make refresh'
} }
...@@ -26,9 +29,6 @@ pipeline { ...@@ -26,9 +29,6 @@ pipeline {
} }
} }
stage('Push') { stage('Push') {
environment {
GIT_TAG = sh(returnStdout: true, script: 'git describe --exact-match || true').trim()
}
when { when {
not { environment name: 'GIT_TAG', value: '' } not { environment name: 'GIT_TAG', value: '' }
} }
......
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