jenkinsci / jenkinsci/java-client-api
jobWithDetails.build(map,true) throw No valid crumb was included in the request
- Dominant language
- Java
- Stars
- 913
- Forks
- 466
- PR merge metrics
- No merged PRs in 30d
Description
Building By 100 Thread Run Throw Exception :No valid crumb was included in the request.
`JenkinsServer js = new JenkinsServer(URI.create(ConfigUtil.get(JenkinsUtils.JENKINS_URL)),
ConfigUtil.get(JenkinsUtils.JENKINS_USER),ConfigUtil.get(JenkinsUtils.JENKINS_PASSWORD));`
Login By User and Password
Contributor guide
Research direction
Start at the reported jobWithDetails.build(map,true) call and trace how the JenkinsServer is constructed with the configured URI, user, and password. Reproduce the failure with the described 100-thread build scenario and determine the expected request behavior for the crumb error; the issue is complete when that scenario no longer throws unexpectedly and the relevant behavior is covered by a test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100