Skip to content

Commit

Permalink
Add skip stages option
Browse files Browse the repository at this point in the history
  • Loading branch information
Willem Borgesius authored and Willem Borgesius committed Sep 16, 2020
1 parent 8d780d7 commit 71220f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ abstract class BasePipelineTest {
]
})
helper.registerAllowedMethod("buildDiscarder", [Object])
helper.registerAllowedMethod("skipStagesAfterUnstable")
helper.registerAllowedMethod("checkout", [Map])
helper.registerAllowedMethod("choice", [Map])
helper.registerAllowedMethod('cifsPublisher', [Map], {true})
Expand Down
3 changes: 2 additions & 1 deletion src/test/jenkins/jenkinsfiles/Declarative_Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pipeline {

options {
buildDiscarder(logRotator(numToKeepStr: '10'))
skipStagesAfterUnstable()
timestamps()
}

Expand Down Expand Up @@ -95,4 +96,4 @@ pipeline {
}

}
}
}

0 comments on commit 71220f3

Please sign in to comment.