Branch: refs/heads/master Home: https://github.com/jenkinsci/github-plugin Commit: 1f5b40a8169516b58f4c715373836dba6ff96216 https://github.com/jenkinsci/github-plugin/commit/1f5b40a8169516b58f4c715373836dba6ff96216 Author: Manuel de la Peña <m...@wedeploy.com> Date: 2018-09-12 (Wed, 12 Sep 2018)
Changed paths: M src/main/java/org/jenkinsci/plugins/github/util/BuildDataHelper.java A src/test/java/org/jenkinsci/plugins/github/util/BuildDataHelperTest.java Log Message: ----------- JENKINS-53149 Fix build data calculation when there are more than one build actions (#198) * [JENKINS-53149] Calculate build data from downstream builds Those downstream builds could contain, in example, a shared library which is loaded first in a pipeline. For that reason, we want to compare all remote URLs for each build data, with the real project name, to determine the proper build data. This way, the SHA returned in the build data will relate to the real project, and not from the first build data, which could be different to the real project. * [JENKINS-53149] Add unit tests for the calculation of build datas * [JENKINS-53149] Keep old behaviour if there is only one build data * [JENKINS-53149] Source formatting and null checks * [JENKINS-53149] Add tests for default behaviour (only one build data) **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.