Skip to content

Commit

Permalink
Merge pull request #142 from jetersen/patch-1
Browse files Browse the repository at this point in the history
fix batch quoting in maybePublishIncrementals
  • Loading branch information
olblak authored Apr 23, 2020
2 parents 9a5274b + 19108c2 commit e245495
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 @@ -267,7 +267,7 @@ curl -i -H 'Content-Type: application/json' -d '{"build_url":"'$BUILD_URL'"}' "h
'''
} else {
bat '''
curl.exe -i -H 'Content-Type: application/json' -d '{"build_url":"'%BUILD_URL%'"}' "https://jenkins-community-functions.azurewebsites.net/api/incrementals-publisher?clientId=default&code=%FUNCTION_TOKEN%" || echo 'Problem calling Incrementals deployment function'
curl.exe -i -H "Content-Type: application/json" -d "{""build_url"":""%BUILD_URL%""}" "https://jenkins-community-functions.azurewebsites.net/api/incrementals-publisher?clientId=default&code=%FUNCTION_TOKEN%" || echo Problem calling Incrementals deployment function
'''
}
}
Expand Down

0 comments on commit e245495

Please sign in to comment.