Skip to content

Commit

Permalink
Merge pull request #123 from jglick/patch-2
Browse files Browse the repository at this point in the history
maybePublishIncrementals could run on any Linux agent
  • Loading branch information
oleg-nenashev authored Dec 18, 2019
2 parents ab731ba + cb7492b commit 71120c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vars/infra.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ void prepareToPublishIncrementals() {
void maybePublishIncrementals() {
if (isRunningOnJenkinsInfra() && currentBuild.currentResult == 'SUCCESS') {
stage('Deploy') {
node('maven') {
node('maven || linux') {
withCredentials([string(credentialsId: 'incrementals-publisher-token', variable: 'FUNCTION_TOKEN')]) {
sh '''
curl -i -H 'Content-Type: application/json' -d '{"build_url":"'$BUILD_URL'"}' "https://jenkins-incrementals.azurewebsites.net/api/incrementals-publisher?clientId=default&code=$FUNCTION_TOKEN" || echo 'Problem calling Incrementals deployment function'
Expand Down

0 comments on commit 71120c5

Please sign in to comment.