Remove final fuel and foreman artifacts to reclaim space back 52/252/1
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Thu, 2 Apr 2015 15:03:30 +0000 (17:03 +0200)
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>
Thu, 2 Apr 2015 15:03:30 +0000 (17:03 +0200)
Artifacts get removed once we're done with them.

JIRA: OCTO-28

Change-Id: I6f9a6220f7171651e225063cc28a7d63425b0620
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
jjb/genesis/genesis.yml

index 9e24d8a..56d9444 100644 (file)
             # list the build artifacts
             ls -al $BUILD_DIRECTORY
 
+            # remove the BUILD_DIRECTORY to reclaim some space
+            /bin/rm -rf $BUILD_DIRECTORY
+
 - builder:
     name: foreman-merge
     builders:
             # list the file
             ls -al $WORKSPACE/opnfv.iso
 
+            # remove the BUILD_DIRECTORY and downlaoded artifact to reclaim some space
+            /bin/rm -rf $BUILD_DIRECTORY
+            /bin/rm -rf $WORKSPACE/opnfv.iso
+
 - builder:
     name: fuel-verify
     builders:
             # list the build artifacts
             ls -al $BUILD_DIRECTORY
 
+            # remove the BUILD_DIRECTORY to reclaim some space
+            /bin/rm -rf $BUILD_DIRECTORY
+
 - builder:
     name: fuel-merge
     builders:
             # list the build artifacts
             ls -al $BUILD_DIRECTORY
 
+            # remove the BUILD_DIRECTORY to reclaim some space
+            /bin/rm -rf $BUILD_DIRECTORY
+
 - builder:
     name: fuel-daily-master
     builders:
             # list the file
             ls -al $WORKSPACE/opnfv.iso
 
+            # remove the BUILD_DIRECTORY and downlaoded artifact to reclaim some space
+            /bin/rm -rf $BUILD_DIRECTORY
+            /bin/rm -rf $WORKSPACE/opnfv.iso
+
 - builder:
     name: opensteak-verify
     builders: