Skip to content

Commit

Permalink
[CI] skip pre/post tags when opbeans-python version bump (elastic#905)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored and romulorosa committed Oct 15, 2020
1 parent c4cd408 commit 18bd083
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,13 @@ pipeline {
environment {
REPO_NAME = "${OPBEANS_REPO}"
}
when {
beforeInput true
anyOf {
tag pattern: 'v\\d+\\.\\d+\\.\\d+', comparator: 'REGEXP'
expression { return params.Run_As_Master_Branch }
}
}
steps {
deleteDir()
dir("${OPBEANS_REPO}"){
Expand Down

0 comments on commit 18bd083

Please sign in to comment.