Revert "Add macro for providing log location in Gerrit" 45/45045/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 2 Sep 2016 00:42:31 +0000 (20:42 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 2 Sep 2016 00:43:20 +0000 (20:43 -0400)
No longer neccessary as we now have a msginject Jenkins plugin which
handles returning the log location in the same message as Gerrit's build
summary.

This reverts commit 6565cb67ddb7c5ac8f32c728afc1e3e3ce3b1c6d.

Change-Id: I6ba68d67c7670bf2a12d9750655a75c38a15d945
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/releng-jobs.yaml
jjb/releng-macros.yaml

index 89a9ebc3a6dd9d625ce6788cd403754e52e8d476..d385251772271ed8fd1b7811ea8505bb4cfeb6fb 100644 (file)
                       pattern: jjb-templates/**
 
     builders:
-        - opendaylight-infra-pre-builders
         - shell: |
             pip freeze
             jenkins-jobs -l DEBUG test --recursive -o archives/job_output jjb/
             gzip archives/job_output/*
+
         - releng-check-unicode
 
     publishers:
 
 
     builders:
-        - opendaylight-infra-pre-builders
         - shell: |
             virtualenv $WORKSPACE/venv
             source $WORKSPACE/venv/bin/activate
                       pattern: jjb-templates/**
 
     builders:
-        - opendaylight-infra-pre-builders
         - shell: |
             pip freeze
             jenkins-jobs --version
         - timed: 'H H * * 0'
 
     builders:
-        - opendaylight-infra-pre-builders
         - shell: |
             jenkins-jobs --flush-cache update --recursive jjb/
 
         - timed: 'H H * * 1'
 
     builders:
-        - opendaylight-infra-pre-builders
         - shell:
             !include-raw-escape:
                 - include-raw-check-poms.sh
index 2f3a79e3e59e8c0cfb0777864a1b21f774a9090f..820abd08440e79a8a00951e98fac869c4e35ffb8 100644 (file)
         - workspace-cleanup:
             fail-build: false
 
-- builder:
-    name: opendaylight-infra-pre-builders
-    builders:
-        - shell: |
-            if [ ! -z "$GERRIT_PATCHSET_REVISION" ]; then
-                LOG_MESSAGE="
-                    Logs for $JOB_NAME:
-                    https://logs.opendaylight.org/$SILO/$JENKINS_HOSTNAME/$JOB_NAME/$BUILD_NUMBER
-                    (note that logs will be unavailable until the job is completed running.)
-                "
-                ssh -p 29418 jenkins-$SILO@git.opendaylight.org gerrit review -m \"${LOG_MESSAGE}\" $GERRIT_PATCHSET_REVISION
-            fi
-
 - builder:
     name: wipe-org-opendaylight-repo
     builders: