jenkinsci / jenkinsci/java-client-api

ChangeSet returns null for Pipeline Jobs

Open
#272 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
913
Forks
466
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.