From 1fa7575594c7e593ca049e43c0ce0d3ce894b414 Mon Sep 17 00:00:00 2001 From: sam Date: Wed, 9 Aug 2023 12:09:49 +0100 Subject: [PATCH] ci job --- .ci/Jenkinsfile.gosh-tools-prepare-rc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.ci/Jenkinsfile.gosh-tools-prepare-rc b/.ci/Jenkinsfile.gosh-tools-prepare-rc index f95fb27..7422c73 100644 --- a/.ci/Jenkinsfile.gosh-tools-prepare-rc +++ b/.ci/Jenkinsfile.gosh-tools-prepare-rc @@ -103,21 +103,21 @@ def buildGoshCli() { #!/bin/bash set -ex - # 3 = gosh - PIPELINE_3_ID=$(az pipelines build queue --definition-id 3 --branch \${COMMIT} --project gosh | jq .id) - PIPELINE_3_STATUS=inProgress + # 4 = gosh + PIPELINE_4_ID=$(az pipelines build queue --definition-id 4 --branch \${COMMIT} --project gosh | jq .id) + PIPELINE_4_STATUS=inProgress - until [ \$PIPELINE_3_STATUS = "completed" ] + until [ \$PIPELINE_4_STATUS = "completed" ] do sleep 60 - PIPELINE_3_STATUS=$(az pipelines build show --project gosh --id $PIPELINE_3_ID | jq .status | tr -d '\"') + PIPELINE_4_STATUS=$(az pipelines build show --project gosh --id $PIPELINE_4_ID | jq .status | tr -d '\"') done cd ${WORKSPACE} rm -rf linux-* - az pipelines runs artifact download --project gosh --artifact-name linux-amd64 --run-id $PIPELINE_3_ID --path linux-amd64 && sleep 2 - az pipelines runs artifact download --project gosh --artifact-name linux-arm64 --run-id $PIPELINE_3_ID --path linux-arm64 && sleep 2 + az pipelines runs artifact download --project gosh --artifact-name linux-amd64 --run-id $PIPELINE_4_ID --path linux-amd64 && sleep 2 + az pipelines runs artifact download --project gosh --artifact-name linux-arm64 --run-id $PIPELINE_4_ID --path linux-arm64 && sleep 2 ''' } }