Put link to current job into distribution 17/50617/3
authorVratko Polak <vrpolak@cisco.com>
Wed, 18 Jan 2017 16:11:28 +0000 (17:11 +0100)
committerVratko Polak <vrpolak@cisco.com>
Wed, 18 Jan 2017 16:11:28 +0000 (17:11 +0100)
This is to help with tracking which Changes were tested.

Change-Id: Ieee0fae05068384dcb88b8c73e4f82f1dabaa650
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
jjb/autorelease/autorelease-templates.yaml
jjb/releng-macros.yaml
jjb/releng-templates-java.yaml

index 1045484c2696ffd0f8c13740930c26e76d0aaa4a..bd290cf0b541fe13ba434056b2f368a077a112d6 100644 (file)
@@ -62,6 +62,8 @@
             odl-global-settings: 'odl-global-settings'
         - autorelease-generate-taglist
         - autorelease-distribute-taglist
+        - distribute-build-url:
+            path: 'integration/distribution/distribution-karaf/src/main/assembly'
         - autorelease-generate-release-patches
         # In a perfect world projects should be releasing separately and we consume them
         # via a project that pulls the release bits from each project from Nexus.
index 533977946582cda8ecb758e5585c222ee53d320c..91e7fe9eccf08a8391f6e85a96369208e3801e51 100644 (file)
         - shell: !include-raw: opendaylight-infra-stack.sh
         - shell: !include-raw-escape: opendaylight-infra-copy-ssh-keys.sh
 
+- builder:
+    name: distribute-build-url
+    # Place URL of the current run of a build job to a file at given path.
+    builders:
+        - shell: 'echo "$BUILD_URL" > {path}/build.url'
+
 - builder:
     name: wipe-org-opendaylight-repo
     builders:
index 93b3ee0d2bacbe0fbfeeae6bca2e234b2b9b595e..bc26bdf9aaab34250238acfc698864fb5e176278 100644 (file)
         - provide-maven-settings:
             global-settings-file: 'odl-global-settings'
             settings-file: '{mvn-settings}'
+        - distribute-build-url:
+            path: 'distribution-karaf/src/main/assembly'
 
     maven:
         maven-name: 'mvn33'