diff options
-rw-r--r-- | jjb/opnfvdocs/docu-build.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/jjb/opnfvdocs/docu-build.sh b/jjb/opnfvdocs/docu-build.sh index 848466e03..ade400d89 100644 --- a/jjb/opnfvdocs/docu-build.sh +++ b/jjb/opnfvdocs/docu-build.sh @@ -70,4 +70,12 @@ for img in "${{images[@]}}"; do done +if [[ $GERRIT_EVENT_TYPE = "change-merged" ]] ; then + patchset="/$GERRIT_CHANGE_NUMBER" + if [ ! -z "$patchset" ]; then + gsutil rm gs://artifacts.opnfv.org/"$project""$patchset"/** + fi +fi + echo -e "$links" + |