-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
Platform: All, OS: All
-
Powered by SuggestiMate
"Add Action" button does not list any available actions, making it unusable.
[JENKINS-4414] Unable to add actions to promoted build
I am having this issue running Hudson 1.323 and promoted builds plugin 1.5.
I am building a whole promotion process around this plugin, and I really need it
to work.
Thanks.
Our new build strategy is focussed on this promotion step. Please look into the
reason why we can not add actions anymore.
I was not able to see this problem on Hudson 1.327 with Promoted Builds plugin
1.5, or Hudson 1.329-SNAPSHOT with Promoted Builds plugin 1.6-SNAPSHOT. When I
click "Promote builds when.." in a freestyle job configure page and then click
on the "Add Action" dropdown I see a long list of choices.
Can someone with this problem upgrade to Hudson 1.327 or newer and let us know
if this solves the problem?
I am still seeing this issue using Hudson 1.328 and Promoted Builds plugin 1.5
The "Add Action" button is not being rendered as a yui-style button like the
others and clicking it does nothing.
People seeing this issue should post environment details, and what browser(s)
show the problem. Any javascript errors reported by the browser?
Found it!
It turns out that after disabling the Parameterized Trigger plugin,
functionality is restored.
Well, at least there is a workaround...
Good find.. yes, I think the problem here is parameterized trigger plugin adds
an action that promoted builds will offer, and both use the "f:hetero-list" UI
element (the "Add Action" or "Add Parameters" selectors). The bug here seems to
be when one hetero-list is nested inside another.. I'll keep digging and look
for the fix.
sweet, good find voorth, I'm using the Parameterized Trigger plugin as well and
can confirm that that is the issue.
And yes, mindless, I ran into the nested hetero-list problem when developing the
Sectioned View plugin. I tried numerous different configurations, but could not
get yui to render nested hetero lists correctly. Although, I am not familiar
enough with yui to know if that is its limitation or simply a limitation imposed
by the way the hetero-list jelly tag is implemented.
Code changed in hudson
User: : mindless
Path:
trunk/hudson/main/war/resources/scripts/hudson-behavior.js
trunk/www/changelog.html
http://fisheye4.cenqua.com/changelog/hudson/?cs=22720
Log:
[FIXED JENKINS-4414] attach selector to correct button when nested content
also uses f:hetero-list.
xUnit Plugin appears to the problem. If I add it in, I
lose the hetro-list-add functionality and if I remove it, I get it
back.
Steps to Rep
1. install hudson 1.328 with plugins listed below
2. check build config for PROMOTE BUILDS WHEN...
excepted: add action should have list associated
3. add in xunit plugin v 0.2
4. restart
5. check build config for PROMOTE BUILDS WHEN...
excepted: add action should have list associated
actual: add action appears like simple button (no list)
hudson 1.328
xunit plugin version: 0.2
Plugins installed:
Hudson description setter plugin 1.4
Hudson build timeout plugin 1.5
Sidebar Link 1.2
Hudson cppunit plugin 1.1
Hudson Maven Info Plugin 0.0.2
Hudson Email Extension Plugin 2.2.1
Hudson DocLinks plugin 0.2.2
Hudson Cppcheck Plug-in 0.9
Hudson Groovy builder 1.3
Unnamed - org.jvnet.hudson.plugins:ftppublisher:hpi:0.9 0.9
Hudson TextFinder plugin 1.7
Hudson Grinder plugin 1.2
Audit Trail 1.3
Hudson Continuous Integration game 1.15
Hudson Cobertura plugin 0.8.9
Subversion Release plugin 0.1
Hudson Locked Files Report Plug-in 1.1
Hudson batch task plugin 1.8
Change Log History 1.1
Claim Plugin 1.5
Hudson disk-usage plugin 0.9
Hudson SSH Slaves plugin 0.7
Join plugin 1.6
Hudson Grails plugin 1.0.5
Hudson M2 Extra Steps Plugin 1.1.2
Hudson Subversion Plug-in 1.7
Hudson Distributed Fork plugin 1.0
Hudson Checkstyle Plug-in 2.14
Hudson Build-Publisher plugin 1.7
slave-status 1.3
Maven Integration plugin 1.328
Hudson Subversion Tagging Plug-in 1.12
Hudson FindBugs Plug-in 3.13
Hudson Emma plugin 1.10
Downstream-Ext 1.0
Hudson Locks and Latches plugin 0.4
Hudson Warnings Plug-in 2.14
Emotional Hudson plugin 1.01
Hudson promoted builds plugin 1.5
Hudson Duplicate Code Scanner Plug-in 1.13
Hudson Support Subscription Notification Plugin 1.1
Jython Plugin 1.0
Configuration Slicing plugin 1.9
Hudson Clover plugin 2.5
Green Balls 1.4
Hudson Maven Release Plug-in Plug-in 0.3.3
Hudson JIRA plugin 1.16
Deploy to container Plugin 1.3
Hudson Gradle plugin 1.2
Thanks, citizenkahn.. I tested and confirmed xUnit hits the same problem as with
Parameterized Trigger plugin, and it is fixed with the commit above.
I have this same problem with the latest plugin version and Hudson 1.322. I
never have tried on an earlier version.