diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2017-06-08 14:23:51 +0200 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2017-06-08 14:23:51 +0200 |
commit | 87adff410ba0f333022a5cfc39083fd4b94ca128 (patch) | |
tree | fd0f673a88e70c40c8c34097e2d88fae4e56081e /jjb/common/include-agl-remove-artifacts-changeid.sh | |
parent | 60f9fc3edec5e10a54c2056aba757fcc51ac0210 (diff) |
Remove artifacts after successful merge
Change-Id: Ic039856f7003d2f3c7a22a14d4f6bbf8db44b83a
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common/include-agl-remove-artifacts-changeid.sh')
-rw-r--r-- | jjb/common/include-agl-remove-artifacts-changeid.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/jjb/common/include-agl-remove-artifacts-changeid.sh b/jjb/common/include-agl-remove-artifacts-changeid.sh new file mode 100644 index 00000000..5cb1829c --- /dev/null +++ b/jjb/common/include-agl-remove-artifacts-changeid.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +#set -x +set -e + +echo "\n\n\n" +echo "################REMOVE CHANGEID#########################" +echo "\n\n\n" + + +export DST="/srv/download/AGL/upload/ci/${GERRIT_CHANGE_NUMBER}" +ssh -o StrictHostKeyChecking=no jenkins-slave@10.30.72.8 rm -rf ${DST} |