mwebber commented on Bug JENKINS-22125

I tested with 2.24 and backwards compatability turned on. I found one problem in some of my trigger jobs. They trigger jobs and specify "Predefined parameters", which is basically just of bunch of strings to pass a parameters. In the config file they look like:

            <hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
              <properties>materialize_type=fresh
workspace_build_type=incremental
product_linux32=true
product_linux64=true	
product_windows32=true
product_windows64=true
product_mac32=false
product_mac64=false
archive_workspace_and_product_for_testing=false
run_squish_tests=false</properties>
            </hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>

You can't see it there, but there is a tab character after product_linux64=true. As you might guess, on the job that gets triggered, this parameter is defined as a boolean.


In 2.22, the mal-formed value true\t in the trigger job was interpreted by the triggered job as boolean "true". In 2.24 with compatibility mode on, the mal-formed value was interpreted by the triggered job as boolean "false."

In both 2.22 and 2.24 with compatibility mode on, the correctly-formed values true in the trigger job are interpreted by the triggered job as boolean "true".

This was slightly annoying, as the trailing tab character is not visible in the web interface. However, I would consider this regression as the result of a user error, not a bug in the plugin.

So for us I can say that for us, 2.24 with compatibility mode on works.
Thanks

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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to