Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Commit

Permalink
Merge pull request #410 from ijc/team-local-jenkins
Browse files Browse the repository at this point in the history
Jenkinsfile: constrain all jobs to nodes with the `team-local` label
  • Loading branch information
shin- authored Oct 12, 2018
2 parents c7ca8bc + 2cac207 commit 68b7ccc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Jenkinsfile.baguette
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ properties([buildDiscarder(logRotator(numToKeepStr: '20'))])

pipeline {
agent {
label 'pipeline'
label 'team-local && pipeline'
}

options {
Expand All @@ -12,7 +12,7 @@ pipeline {
stages {
stage('Build') {
agent {
label 'linux'
label 'team-local && linux'
}
steps {
dir('src/github.com/docker/app') {
Expand Down Expand Up @@ -54,7 +54,7 @@ pipeline {
CODECOV_TOKEN = credentials('jenkins-codecov-token')
}
agent {
label 'linux'
label 'team-local && linux'
}
steps {
dir('src/github.com/docker/app') {
Expand All @@ -68,7 +68,7 @@ pipeline {
}
stage("Gradle test") {
agent {
label 'linux'
label 'team-local && linux'
}
steps {
dir('src/github.com/docker/app') {
Expand All @@ -82,7 +82,7 @@ pipeline {
}
stage("Test Linux") {
agent {
label 'linux'
label 'team-local && linux'
}
environment {
DOCKERAPP_BINARY = '../docker-app-linux'
Expand All @@ -107,7 +107,7 @@ pipeline {
}
stage("Test Mac") {
agent {
label "mac"
label 'team-local && mac'
}
environment {
DOCKERAPP_BINARY = '../docker-app-darwin'
Expand All @@ -132,7 +132,7 @@ pipeline {
}
stage("Test Win") {
agent {
label "windows"
label 'team-local && windows && linux-containers'
}
environment {
DOCKERAPP_BINARY = '../docker-app-windows.exe'
Expand All @@ -159,7 +159,7 @@ pipeline {
}
stage('Release') {
agent {
label "linux"
label 'team-local && linux'
}
when {
buildingTag()
Expand Down

0 comments on commit 68b7ccc

Please sign in to comment.