jenkinsfile: limit gitscm step to only opened pr
Signed-off-by: markoburcul <marko@status.im>
This commit is contained in:
parent
22d573ff77
commit
1a9eaf4477
|
@ -30,6 +30,9 @@ pipeline {
|
|||
|
||||
stages {
|
||||
stage('Checkout') {
|
||||
when {
|
||||
expression { currentBuild.previousCompletedBuild == null }
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
checkout scmGit(
|
||||
|
|
Loading…
Reference in New Issue