Revert "Preserve Karaf logs in autorelease jobs" 15/70415/3
authorStephen Kitt <skitt@redhat.com>
Fri, 6 Apr 2018 07:41:09 +0000 (07:41 +0000)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 6 Apr 2018 14:04:16 +0000 (10:04 -0400)
Preserving the logs by preserving the Pax Exam builds takes up too much
disk space. We need to rethink this.

This reverts commit 60372e420e94a4993ea9b5d523a603af10e481b3.

Change-Id: I18eb61bcd5a904b02174d3c3e9519a1bff313758
Signed-off-by: Stephen Kitt <skitt@redhat.com>
jjb/autorelease/autorelease-templates.yaml

index b23a9124baebe5a5b83982139bc5891d680604b3..7f1d6b76ca33e9c0aa1ad51863c7a6f2bfa28727 100644 (file)
               $EXTRA_MVN_OPTS
               -Pintegrationtests,docs,repoBuild
               -Dcheckstyle.skip=true
-              -Dkaraf.keep.unpack=true
               -DaltDeploymentRepository=staging::default::file:hide/from/pom/files/stage
               {opendaylight-infra-mvn-opts}
           java-opts:
       - shell: |
           mkdir -p archives/
           cp *.log *.prop $_
-          for file in $(find . -name karaf.log); do
-              module="${{file%%/target/*}}"
-              module="${{module##*/}}"
-              cp "$file" "archives/${{module}}-karaf.log"
-          done
 
     publishers:
       - opendaylight-infra-notify-status
           goals: |
               clean validate
               -Pq
-              -Dkaraf.keep.unpack=true
               {opendaylight-infra-mvn-opts}
           java-opts:
             - '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
       - shell: |
           mkdir -p archives/
           cp *.log $_
-          for file in $(find . -name karaf.log); do
-              module="${{file%%/target/*}}"
-              module="${{module##*/}}"
-              cp "$file" "archives/${{module}}-karaf.log"
-          done
 
     publishers:
       - email-notification: