Skip to content

Commit

Permalink
ci: Use go 1.10 on jenkins
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
  • Loading branch information
magik6k committed May 9, 2018
1 parent 44a7d6b commit 069add8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import groovy.transform.Field
/* SETTINGS */

def test = 'go test -v ./...'
def go_version = '1.10'

def fast_build_platforms = [
['linux', 'amd64'],
Expand All @@ -29,7 +30,7 @@ def setupStep(nodeLabel, f) {
def ps = nodeLabel != 'windows' ? '/' : '\\'
def psep = nodeLabel != 'windows' ? ':' : ';'

def root = tool name: '1.9.2', type: 'go'
def root = tool name: go_version, type: 'go'
def jobNameArr = "${JOB_NAME}"
def jobName = jobNameArr.split("/")[0..1].join(nodeLabel != 'windows' ? '/' : '\\\\').toLowerCase()
def subName = jobNameArr.split("/")[2].toLowerCase()
Expand Down

0 comments on commit 069add8

Please sign in to comment.