Details
-
Bug
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
While plugins are started in the correct order when deployed normally (and via hpi:run), the upstream plugin is not started before the dependent plugin when run under HudsonTestCase.
Steps to reproduce:
git clone git://github.com/recampbell/jenkins-plugin-bugs.git
cd jenkins-plugin-bugs/JENKINS-9960
mvn clean install
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
URL | https://github.com/recampbell/jenkins-plugin-bugs/tree/master/JENKINS-9960 | |
Description |
While plugins are started in the correct order when deployed normally (and via hpi:run), the upstream plugin is not started before the dependent plugin when run under HudsonTestCase. |
While plugins are started in the correct order when deployed normally (and via hpi:run), the upstream plugin is not started before the dependent plugin when run under HudsonTestCase. Steps to reproduce: git clone git://github.com/recampbell/jenkins-plugin-bugs.git cd jenkins-plugin-bugs/ mvn clean install |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Workflow | JNJira [ 140148 ] | JNJira + In-Review [ 188870 ] |
Code changed in jenkins
User: Kohsuke Kawaguchi
Path:
changelog.html
core/src/main/java/hudson/PluginManager.java
core/src/main/java/hudson/util/CyclicGraphDetector.java
plugins/pom.xml
pom.xml
http://jenkins-ci.org/commit/jenkins/e03ba7dc6ba3753ed18d0de02133734ab171fb21
Log:
[FIXED JENKINS-9960]
We weren't actually enforcing the initialization order at all, as
sorting was based on the plugin name.
Compare: https://github.com/jenkinsci/jenkins/compare/938ac77...e03ba7d