We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9f87f7 commit 1c4d9d8Copy full SHA for 1c4d9d8
Jenkinsfile
@@ -5,15 +5,21 @@ pipeline {
5
}
6
stages {
7
stage("Init title") {
8
- when { changeRequest() }
+ when {
9
+ changeRequest()
10
+ beforeAgent true
11
+ }
12
steps {
13
script {
14
currentBuild.displayName = "PR ${env.CHANGE_ID}: ${env.CHANGE_TITLE}"
15
16
17
18
stage('Build and Test') {
19
20
21
22
23
agent {
24
dockerfile {
25
additionalBuildArgs '--build-arg USER_ID=$(id -u) --build-arg GROUP_ID=$(id -g)'
0 commit comments