diff --git a/Jenkinsfile b/Jenkinsfile index d929069..0d48483 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,5 +12,11 @@ pipeline { echo "${CUSTOM_TAG}" } } + stage('ONLY ON TAG') { + when { buildingTag() } + steps { + echo "I run only because I am on tag ${CUSTOM_TAG}" + } + } } } \ No newline at end of file