summaryrefslogtreecommitdiffstats
path: root/jjb/global-macros.yaml
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2018-03-21 11:14:29 -0700
committerKiran Kamineni <kiran.k.kamineni@intel.com>2018-03-21 11:32:31 -0700
commit85b44e87880d483e9b7106f3031a47d0be5b8800 (patch)
treed8b63c9673a0e24d8cdbad1ae12433798152e307 /jjb/global-macros.yaml
parentaba0780d326362abbd222aaaa66a2e6e3847eb1a (diff)
Adding support to use golang jenkins plugin
Jenkins server has the golang plugin installed for version 1.10. Modifying the template to use that so that future template definitions do not need to download golang each time. This reduces total build time and network bandwidth usage. Issue-ID: AAF-184 Change-Id: Ib91f4fb8aa8845bd20d98ba636dffcadf34da297 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Diffstat (limited to 'jjb/global-macros.yaml')
-rw-r--r--jjb/global-macros.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml
index cf3409434..6be0e0f94 100644
--- a/jjb/global-macros.yaml
+++ b/jjb/global-macros.yaml
@@ -429,6 +429,15 @@
fail: true
- wrapper:
+ name: golang
+ wrappers:
+ - raw:
+ xml: |
+ <org.jenkinsci.plugins.golang.GolangBuildWrapper plugin="golang@1.2">
+ <goVersion>Golang 1.10</goVersion>
+ </org.jenkinsci.plugins.golang.GolangBuildWrapper>
+
+- wrapper:
# This wrapper is required for all jobs as it configures the wrappers
# needed by the eCOMP infra.
name: infra-wrappers