No valid crumb when building more than one job

Bug #1841152 reported by Henrik Brunberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python Jenkins
New
Undecided
Unassigned

Bug Description

Started experiencing this issue after going from Jenkins 2.150.3 to 2.176.2.

This doesn't work:
import jenkins
j = jenkins.Jenkins('https://myjenkins', username='smth', password='smth')
j.build_job("job1") # success
j.build_job("job2") # fails with 'No valud crumb was included in the request for url...'

This works:
import jenkins
j = jenkins.Jenkins('https://myjenkins', username='smth', password='smth')
j.build_job("job1") # success
j2 = jenkins.Jenkins('https://myjenkins', username='smth',password='smth')
j2.build_job("job2") # success

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.