Upgrading the golang version in the template from 1.9.4 to 1.10
This release includes many fixes to go get which reduces download
sizes in builds
Issue-ID: AAF-117
Change-Id: I2a36de0302f419097e8ae98dac8c084c04adf659
Signed-off-by: Kiran <kiran.k.kamineni@intel.com>
settings-file: '{mvn-settings}'
- shell: |
#!/bin/bash
- curl -O https://dl.google.com/go/go1.9.4.linux-amd64.tar.gz
- tar -zxf go1.9.4.linux-amd64.tar.gz
+ curl -O https://dl.google.com/go/go1.10.linux-amd64.tar.gz
+ tar -zxf go1.10.linux-amd64.tar.gz
export GOROOT=$WORKSPACE/go
export PATH=$PATH:$GOROOT/bin
cd $WORKSPACE/{path}