Skip to content

Commit

Permalink
[CI]: exclude packaging meta-stage on branches and tags (elastic#28641)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Oct 27, 2021
1 parent 7fe0e57 commit f503679
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,9 @@ pipeline {
stage('Packaging') {
options { skipDefaultCheckout() }
when {
// Always when running builds on branches/tags
// On a PR basis, skip if changes are only related to docs.
// Always when forcing the input parameter
anyOf {
not { changeRequest() } // If no PR
allOf { // If PR and no docs changes
expression { return env.ONLY_DOCS == "false" }
changeRequest()
Expand Down

0 comments on commit f503679

Please sign in to comment.