Skip to content

Commit 608fdb5

Browse files
author
Vaughn Dice
authored
Merge pull request #119 from vdice/disable-windows-agent
ref(Jenkinsfile): disable win agent
2 parents 9520b6c + 169caa0 commit 608fdb5

1 file changed

Lines changed: 20 additions & 18 deletions

File tree

Jenkinsfile

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,26 @@ def sh = { cmd ->
44
}
55
}
66

7-
node('windows') {
8-
def gopath = pwd() + "\\gopath"
9-
env.GOPATH = gopath
10-
def workdir = gopath + "\\src\\github.com\\deis\\controller-sdk-go"
11-
12-
def pscmd = { String cmd ->
13-
"powershell -NoProfile -ExecutionPolicy Bypass -Command \"${cmd}\""
14-
}
15-
16-
dir(workdir) {
17-
stage 'Checkout Windows'
18-
checkout scm
19-
stage 'Install Windows'
20-
bat pscmd('.\\make bootstrap')
21-
stage 'Test Windows'
22-
bat pscmd('.\\make test')
23-
}
24-
}
7+
// Disabling until we have a more sustainable Windows Jenkins Agent plan
8+
// See https://github.com/deis/jenkins-jobs/issues/351
9+
// node('windows') {
10+
// def gopath = pwd() + "\\gopath"
11+
// env.GOPATH = gopath
12+
// def workdir = gopath + "\\src\\github.com\\deis\\controller-sdk-go"
13+
//
14+
// def pscmd = { String cmd ->
15+
// "powershell -NoProfile -ExecutionPolicy Bypass -Command \"${cmd}\""
16+
// }
17+
//
18+
// dir(workdir) {
19+
// stage 'Checkout Windows'
20+
// checkout scm
21+
// stage 'Install Windows'
22+
// bat pscmd('.\\make bootstrap')
23+
// stage 'Test Windows'
24+
// bat pscmd('.\\make test')
25+
// }
26+
// }
2527

2628
def git_commit = ''
2729
def git_branch = ''

0 commit comments

Comments
 (0)