Skip to content

Commit

Permalink
get-tags
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Bandeira <vvbandeira@precisioninno.com>
  • Loading branch information
Vitor Bandeira committed Jul 4, 2024
1 parent 58a5c41 commit b64c894
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jenkins/public_tests_all.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ node {

stage('Checkout') {
checkout scm;
sh 'git fetch --tags';
def description = sh(script: "git log -1 --pretty=%B", returnStdout: true).trim();
if (description.contains('ci') && description.contains('skip')) {
currentBuild.result = 'SKIPPED'; // 'SUCCESS', 'SKIPPED'
Expand Down

0 comments on commit b64c894

Please sign in to comment.