jenkinsci / jenkinsci/java-client-api

jobWithDetails.build(map,true) throw No valid crumb was included in the request

Open
#249 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.