![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Assignee:
|
Jesse Glick
|
|
Components:
|
workflow-plugin |
|
Created:
|
09/Mar/15 6:51 PM
|
|
Description:
|
Consider the following workflow script:
echo "bool=$bool"
echo bool.getClass().toString()
Output:
Started by user Jos Backus
Running: Print Message
bool=false
Running: Print Message
class java.lang.String
Running: End of Workflow
Finished: SUCCESS
I would expect the name of the class to be java.lang.Boolean, not java.lang.String. This forces one to add lines such as:
bool = bool == 'true'
|
|
Project:
|
Jenkins
|
|
Priority:
|
Minor
|
|
Reporter:
|
Jos Backus
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/d/optout.