jenkinsci / jenkinsci/java-client-api
ChangeSet returns null for Pipeline Jobs
- Lenguaje dominante
- Java
- Estrellas
- 913
- Forks
- 466
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
We've come across an inconsistency in the Jenkins API for freestyle jobs vs pipeline jobs due to an issue raised on one of our projects TransFICC/transficc-feedback#4
The Jenkins API returns ```changetSet``` for a freestyle job build whilst for a pipeline job build it returns ```changeSets```. This means I can't get the change set information for a pipeline job unfortunately.
I am going to see if there is a nice way of being able to deal with this inconsistency in the library, but this ultimately feels like a Jenkins bug to me.
Guía de contribución
Línea de trabajo
Start by tracing how the Java client reads Jenkins build change-set data, comparing handling of the freestyle `changetSet` field with the pipeline `changeSets` field described here. Done means pipeline job builds expose their change-set information instead of returning null; add or run a focused regression test if the repository has coverage for build parsing.
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
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100