You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I was able to trigger the jenkins build using perl earlier. But Now I have latest version of jenkins and I am trying to trigger the jenkins job using perl. But I am getting authentication failure output when I print the code.
I think the 403 is caused by crumb for CSRF Protection, and this wrapper is not being updated. You can either turn off the CSRF in Jenkins settings (it's on by default), or just use REST to add the crumb by yourself.
Hi,
I was able to trigger the jenkins build using perl earlier. But Now I have latest version of jenkins and I am trying to trigger the jenkins job using perl. But I am getting authentication failure output when I print the code.
Below is my code.
my $JOB = Jenkins::API->new({base_url => 'Jenkins_url', api_key => 'Jenkins_USER', api_pass => 'Jenkins_PASSWORD'});
Can you please advice me on this?
The text was updated successfully, but these errors were encountered: