← Back to team overview

python-jenkins-developers team mailing list archive

[Bug 1841152] [NEW] No valid crumb when building more than one job

 

Public bug reported:

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

** Affects: python-jenkins
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Python
Jenkins Developers, which is subscribed to Python Jenkins.
https://bugs.launchpad.net/bugs/1841152

Title:
  No valid crumb when building more than one job

Status in Python Jenkins:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/1841152/+subscriptions


Follow ups