Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Commit e9ed6a3

Browse files
authored
Merge pull request #975 from okartau/jenkinsfile-better-skip
Jenkinsfile: check for skipping 1.18 before spawning agent
2 parents 9e405a2 + 1ad86ff commit e9ed6a3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Jenkinsfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,10 @@ pipeline {
201201
}
202202
}
203203
stage('1.18') {
204-
when { not { changeRequest() } }
204+
when {
205+
beforeAgent true
206+
not { changeRequest() }
207+
}
205208
options {
206209
timeout(time: 12, unit: "HOURS")
207210
}

0 commit comments

Comments
 (0)