diff options
author | Laurent Alfonsi <laurent.alfonsi@linaro.org> | 2023-09-12 09:42:34 +0200 |
---|---|---|
committer | Laurent Alfonsi <laurent.alfonsi@linaro.org> | 2023-09-13 11:43:33 +0200 |
commit | f3d2c6c9b095bb3a1f888c5b993c09235e5b41da (patch) | |
tree | 566c8c721264d22d12d8df1ff2a9a7f37cd16640 /tcwg_gnu_native.yaml | |
parent | 676c14a5adfb0db1638504df1bfe7925812a240a (diff) |
tcwg/round-robin.yaml.inc: remove the reproduce instructions in case of a failing notify
Change-Id: Ie723815b0de786d0ade4f106c1c1cb9b0394f338
Diffstat (limited to 'tcwg_gnu_native.yaml')
-rw-r--r-- | tcwg_gnu_native.yaml | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/tcwg_gnu_native.yaml b/tcwg_gnu_native.yaml index ffaaa95083..3d2d1fc6d5 100644 --- a/tcwg_gnu_native.yaml +++ b/tcwg_gnu_native.yaml @@ -326,33 +326,6 @@ echo -e "$BUILD_URL\nERROR: notify-full failed\n" \ >> artifacts/jenkins/error-mail-body.txt echo "ERROR: notify-full failed" - - ( # Debug code; don't fail on errors - set +e - echo "To reproduce :" \ - >> artifacts/jenkins/error-mail-body.txt - echo "wget $BUILD_URL/artifact/*zip*/archive.zip && unzip archive.zip" \ - >> artifacts/jenkins/error-mail-body.txt - echo "git -C base-artifacts fetch origin linaro-local/ci/$ci_project/$ci_config" \ - >> artifacts/jenkins/error-mail-body.txt - # Use tree hash to form the reproduce command because the commit hash - # may change while rewriting history - if git -C base-artifacts rev-parse --verify HEAD^; then - tree_sha1=$(git -C base-artifacts show --no-patch --pretty="%T" HEAD^) - echo "sha1=\$(git log --pretty=raw FETCH_HEAD | grep -B 1 $tree_sha1 | grep commit | cut -d' ' -f2)" \ - >> artifacts/jenkins/error-mail-body.txt - else - echo "sha1=HEAD^" \ - >> artifacts/jenkins/error-mail-body.txt - fi - echo "round-robin-notify.sh" \ - "@@rr[top_artifacts] archive/artifacts" \ - "__notify ignore" \ - "__build_script {build_script}" \ - >> artifacts/jenkins/error-mail-body.txt - ) - - # Ignore notification fail and proceed. fi # Failsafe for avoid spamming developers. @@ -960,4 +933,4 @@ docker_arch: '{docker_arch}' publishers: - bisect-publishers -# checksum: a6e1f305d9470dca594d681ebbfe07be +# checksum: dd973d97ef99323efab97924c02fb706 |