CI jobs sanity check and deployment: git checkout scripts
The script URL has changed.
Use git checkout instead of wget to prevent the
error happen again
Signed-off-by: Arthur She <arthur.she@linaro.org>
Change-Id: Ic8a04ae77c9c509efc8477e0d7d54e443d295726
diff --git a/ci-job-configs-sanity-check.yaml b/ci-job-configs-sanity-check.yaml
index 3cb1244..3229a77 100644
--- a/ci-job-configs-sanity-check.yaml
+++ b/ci-job-configs-sanity-check.yaml
@@ -74,15 +74,15 @@
cd configs/
- mkdir -p ci/ && wget -q https://git.trustedfirmware.org/ci/tf-ci-scripts.git/plain/ci/run-jjb.py -O ci/run-jjb.py
+ git clone "https://review.trustedfirmware.org/ci/tf-ci-scripts"
# FIXME run-jjb.py was meant to be used for deployment only
# use JJB 'test' command instead of 'update' command
- sed -i "s|update|test|" ci/run-jjb.py
+ sed -i "s|update|test|" tf-ci-scripts/ci/run-jjb.py
export GIT_PREVIOUS_COMMIT=$(git rev-parse HEAD~1)
export GIT_COMMIT=${GERRIT_PATCHSET_REVISION}
jenkins-jobs --version
- python3 ci/run-jjb.py
+ python3 tf-ci-scripts/ci/run-jjb.py
publishers:
- email:
recipients: 'ben.copeland@linaro.org riku.voipio@linaro.org kelley.spoon@linaro.org fathi.boudra@linaro.org'
diff --git a/trigger-ci-job-configs.yaml b/trigger-ci-job-configs.yaml
index e06d2ab..30d2543 100644
--- a/trigger-ci-job-configs.yaml
+++ b/trigger-ci-job-configs.yaml
@@ -91,8 +91,8 @@
export GIT_PREVIOUS_COMMIT=$(git rev-parse HEAD~1)
export GIT_COMMIT=${GERRIT_PATCHSET_REVISION}
jenkins-jobs --version
- mkdir -p ci/ && wget -q https://git.trustedfirmware.org/ci/tf-ci-scripts.git/plain/ci/run-jjb.py -O ci/run-jjb.py
- python3 ci/run-jjb.py
+ git clone "https://review.trustedfirmware.org/ci/tf-ci-scripts"
+ python3 tf-ci-scripts/ci/run-jjb.py
publishers:
- email:
recipients: 'ben.copeland@linaro.org kelley.spoon@linaro.org paul.sokolovsky@linaro.org fathi.boudra@linaro.org'