Skip to content

Commit a65ac3c

Browse files
authored
Merge pull request #807 from Kaggle/fix-jenkins-diff
Don't assume the same worker is running the diff stages
2 parents 028b262 + 1c0fa2c commit a65ac3c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Jenkinsfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,15 +120,21 @@ pipeline {
120120
stage('CPU Diff') {
121121
steps {
122122
sh '''#!/bin/bash
123-
./diff
123+
set -exo pipefail
124+
125+
docker pull gcr.io/kaggle-images/python:${STAGING_TAG}
126+
./diff --target gcr.io/kaggle-images/python:${STAGING_TAG}
124127
'''
125128
}
126129
}
127130
stage('GPU Diff') {
128131
agent { label 'ephemeral-linux-gpu' }
129132
steps {
130133
sh '''#!/bin/bash
131-
./diff --gpu
134+
set -exo pipefail
135+
136+
docker pull gcr.io/kaggle-private-byod/python:${STAGING_TAG}
137+
./diff --gpu --target gcr.io/kaggle-private-byod/python:${STAGING_TAG}
132138
'''
133139
}
134140
}

0 commit comments

Comments
 (0)