I’m trying to follow the advice given in Set Hudson Build Description via Web API but I’m getting a 403 presumably because the request has to be authenticated. Since the script is being run from an authenticated Jenkins session, how do I pass those credentials through?
Share
Use the ‘Execute system Groovy script’ Build task which executes in the same VM so you don’t have to re-authenticate or manually pass through tokens or credentials.