File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ node(' windows' ) {
2+ def gopath = pwd() + " \\ gopath"
3+ env. GOPATH = gopath
4+ def workdir = gopath + " \\ src\\ github.com\\ deis\\ controller-sdk-go"
5+
6+ def pscmd = { String cmd ->
7+ " powershell -NoProfile -ExecutionPolicy Bypass -Command \" ${ cmd} \" "
8+ }
9+
10+ dir(workdir) {
11+ stage ' Checkout Windows'
12+ checkout scm
13+ stage ' Install Windows'
14+ bat pscmd(' .\\ make bootstrap' )
15+ stage ' Test Windows'
16+ bat pscmd(' .\\ make test' )
17+ }
18+ }
19+
20+ node(' linux' ) {
21+ def gopath = pwd() + " /gopath"
22+ env. GOPATH = gopath
23+ def workdir = gopath + " /src/github.com/deis/controller-sdk-go"
24+
25+ dir(workdir) {
26+ stage ' Checkout Linux'
27+ checkout scm
28+ stage ' Install Linux'
29+ sh ' make bootstrap'
30+ stage ' Test Linux'
31+ sh ' make test'
32+ }
33+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments