We are running a deployment and when it gets to an action we see that hangs there. If we look at the process in ASAP we can see that the "Process is running" but it sitting on this one action and never getting past it. If we double click on the action it says "Step is running" and clicking the show additional information link shows:
Waiting For Parameters:
This behavior can be observed when the action that is hanging is using an internal parameter that was previously set by the "Execute JavaScript code" actions output - specifically when setting the output (output1, output2, output3) to null.
For example:
1. I have an "Execute Javascript code" action - we'll call it JSAction1.
When using this process the problem described above is observed.
Change JSAction1 so that its Input Script field is set to: output1="null";
The difference is that outpu1=null, while a valid javascript statement, is not something that Release Automation can handle properly. Setting a variable to null (or undefined) in javascript is usually only done when an unexpected condition is met - which can later be tested by a subsequent statement like "if (variable)". If this is true for your use case then this means that either: