github-plugin
github-plugin copied to clipboard
Fix JENKINS-54249
This PR fixes the following issue https://issues.jenkins-ci.org/browse/JENKINS-54249.
Few additional notes :
- The code update the
git
plugin to version4.0.0-rc
to have theBuildDetails
class (see comments associated to this commit for more details ttps://github.com/jenkinsci/git-plugin/commit/07cfa5ddef698838b01d4214915f98d4e902c0f8#diff-6cb4dc50342af417dc66c68b45c48fb1) - I removed the
scm-api
dependency in thepom.xml
because its a transitive dependency of thegit
Jenkins plugin - Usage of the
BuildData
class has been removed as much as possible. So now we preferBuildDetails
.
This is the first time I update a Jenkins plugin so do not hesitate to help me improve this before merging.