]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
tcmu-runner: remove shaman repo file after build 845/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 28 Aug 2017 23:04:24 +0000 (19:04 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 28 Aug 2017 23:04:24 +0000 (19:04 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
tcmu-runner/config/definitions/tcmu-runner.yml

index 50b36137ee1f21544d80a91c24f0d9ce27d59eb0..2729b3d1bb2d2441ff4107535f9e38fcec575b16 100644 (file)
@@ -103,3 +103,10 @@ If this is checked, then the binaries will be built and pushed to chacra even if
       - inject-passwords:
           global: true
           mask-password-params: true
+
+    publishers:
+      - postbuildscript:
+          script-only-if-succeeded: False
+          script-only-if-failed: False
+          builders:
+            - shell: "sudo rm -f /etc/apt/sources.list.d/shaman.list /etc/yum.repos.d/shaman.repo"