jenkinsci / jenkinsci/java-client-api
Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: [B@77384bb4; line: 1, column: 2]
- Langage dominant
- Java
- Étoiles
- 913
- Forks
- 466
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Please i have this problems when at this line
JenkinsServer jenkins = new JenkinsServer(new URI( "");
// this is the line wich make this problem
Map jobs = jenkins.getJobs();
JobWithDetails job = jobs.get("pgw").details();
System.out.println(job.getName());
System.out.println(jobs);
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Start at the jenkins.getJobs() call and inspect the URI passed to JenkinsServer, then determine what response is being parsed when the unexpected '<' character is reported. Done means the jobs request receives the expected valid value and the example can retrieve the "pgw" job details without this parsing error.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java
- Domaine
- api
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100