diff --git a/vars/infra.groovy b/vars/infra.groovy index e2b978df2..9370fd801 100644 --- a/vars/infra.groovy +++ b/vars/infra.groovy @@ -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'