Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/163848

Change subject: qunit-cleanup: rm -f when deleting file
......................................................................

qunit-cleanup: rm -f when deleting file

The builders might fail to create the symbolic link in the Apache
workspace, in such a case the publisher should not complains. So pass -f
to rm to skip the error.  The job definitely fails already.

Change-Id: I211d0da992060f4575cc843fc754ab16ff6eed62
---
M macro.yaml
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/integration/jenkins-job-builder-config 
refs/changes/48/163848/1

diff --git a/macro.yaml b/macro.yaml
index 7920623..d9b23b4 100644
--- a/macro.yaml
+++ b/macro.yaml
@@ -315,7 +315,7 @@
      - postbuildscript:
          builders:
            - shell: |
-               rm "/srv/localhost/qunit/$BUILD_TAG"
+               rm -f "/srv/localhost/qunit/$BUILD_TAG"
          # Options are confusing, setting them both to false ensures the
          # postbuildscript is ALWAYS run.
          onsuccess: False

-- 
To view, visit https://gerrit.wikimedia.org/r/163848
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I211d0da992060f4575cc843fc754ab16ff6eed62
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins-job-builder-config
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to