Skip to content

Commit 616da1f

Browse files
committedMar 11, 2025
Ensure scripted pipeline also pull latest docker images
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
1 parent 8e61019 commit 616da1f

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed
 

‎jenkins/opensearch-dashboards/integ-test.jenkinsfile

+1
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ pipeline {
245245
timeout(time: 3, unit: 'HOURS') {
246246
node(AGENT_LABEL) {
247247
docker.withRegistry('https://public.ecr.aws/') {
248+
docker.image(docker_images["$distribution"]).pull() // always pull latest
248249
docker.image(docker_images["$distribution"]).inside(docker_args["$distribution"]) {
249250
try {
250251
stage("${local_component}-ci-group-${ciNum}") {

‎jenkins/opensearch/integ-test.jenkinsfile

+1
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ pipeline {
215215
timeout(time: 2, unit: 'HOURS') {
216216
node(AGENT_LABEL) {
217217
docker.withRegistry('https://public.ecr.aws/') {
218+
docker.image(docker_images["$distribution"]).pull() // always pull latest
218219
docker.image(docker_images["$distribution"]).inside(docker_args["$distribution"]) {
219220
try {
220221
stage("${local_component}") {

‎jenkins/validate-artifacts/validate-artifacts.jenkinsfile

+1
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ pipeline {
233233
}
234234
} else {
235235
node(agent_nodes["${local_platform}_${local_architecture}"]) {
236+
docker.image(docker_images["$local_distribution"]).pull() // always pull latest
236237
docker.withRegistry('https://public.ecr.aws/') {
237238
docker.image(docker_images["$local_distribution"]).inside(docker_args["$local_distribution"]) {
238239
try {

0 commit comments

Comments
 (0)