Skip to content

Commit 761d856

Browse files
committed
Remove dependency on master agent to prevent stuck builds.
1 parent fa83749 commit 761d856

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

dotnet/sdk/build-pipeline.groovy

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ pipeline {
4646
}
4747
}
4848
stage("prepare and validate") {
49-
agent { label "centos6||centos7||ubuntu16||ubuntu14" }
49+
agent { label "centos6||centos7||ubuntu16||ubuntu14||ubuntu20" }
5050
steps {
5151

5252
echo "Branch: ${GERRIT_BRANCH}"
@@ -73,13 +73,11 @@ pipeline {
7373
}
7474
}
7575
stage("build") {
76-
agent { label "master" }
7776
steps {
7877
doBuilds(PLATFORMS, DOTNET_SDK_VERSION, BRANCH, ALL_SUPPORTED_SDK_VERSIONS)
7978
}
8079
}
8180
stage("unit-test") {
82-
agent { label "master" }
8381
steps {
8482
doUnitTests(PLATFORMS, DOTNET_SDK_VERSION, BRANCH, ALL_SUPPORTED_SDK_VERSIONS)
8583
}

0 commit comments

Comments
 (0)