jenkinsci / jenkinsci/java-client-api
The addStringParam method of Class JobConfiguration is invalid
Abierto
- Lenguaje dominante
- Java
- Estrellas
- 913
- Forks
- 466
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
The error occurred on line 46:
`List propertiesNode = doc.selectNodes("//project/properties");`
It won't get any nodes,because of the parameter:
> //project/properties
Shouldn't it be "//properties" ?
Guía de contribución
Línea de trabajo
Open Class JobConfiguration and inspect addStringParam around line 46, focusing on the doc.selectNodes XPath shown in the issue. Trace how the selected properties node is used and verify that the corrected selection finds the intended project properties. Done means the method no longer returns an empty selection for a configuration containing properties.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java
- Área
- api
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100