Use linux node in Jenkinsfile (#340)

In order to move some load from Jenkins master, let's build status-go on linux node.
This commit is contained in:
Adam Babik 2017-09-18 18:40:16 +02:00 committed by Ivan Tomilov
parent ca4bc5152f
commit 78fb5e963f
2 changed files with 2 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -9,7 +9,7 @@ def getVersion(branch, sha) {
return branch.replaceAll(/\//, '-') return branch.replaceAll(/\//, '-')
} }
node { node('linux') {
checkout scm checkout scm
def remoteOriginRegex = ~/^remotes\/origin\// def remoteOriginRegex = ~/^remotes\/origin\//

View File

@ -13,7 +13,7 @@ WS1="$ROOT/build/_workspace/deps"
WS2="$ROOT/build/_workspace/project" WS2="$ROOT/build/_workspace/project"
# expose all vendored packages # expose all vendored packages
if [ ! -d "$WS1/src" ]; then if [ ! -L "$WS1/src" ]; then
mkdir -p "$WS1" mkdir -p "$WS1"
cd "$WS1" cd "$WS1"
ln -s "$ROOT/vendor" src ln -s "$ROOT/vendor" src