Build Templates - Configuration Parameters

Hi,

I was wondering if anyone knew when using build templates and setting configuration parameters in the template that when you go to use the template only specific configuration parameters are required to be set?  See image below (take from a build configuration using the template), the branch.name config parameter is being used in the checkout directory field and the flexrunner.module parameter is being used in one of the build runners.  When creating a build from a template I am prompted to enter a build name and enter in a value for branch.name only.  Is there some way to force it so that all configuration parameters that are empty in the template are required when creating a build using a template?  I also see that in the image below it doesn't state branch.name is "inherited" but the flexrunner.module is.



screen-capture-24.png

This image is from the build template, the branch.name value says the value is required, is this based on where the configuration parameters is used?

screen-capture-25.png

4 comments
Comment actions Permalink

Hi Jason

This UI is confusing, and I'll look how we can improve it.

In your example branch.name parameter was introduced by referencing it somewhere in the template, but flexrunner.module was added explicitly on Properties page.
Technically, first parameter has no value, but second one contains empty string. That causes the difference.

Open template settings, and click on Delete link for flexrunner.module. It will delete default value.

Michael

0
Comment actions Permalink

If I delete the property from the template won't it delete it from all the build configurations using it?  Each build configuration is using the property but setting something for it.  The property is used as a maven command line option.

0
Comment actions Permalink

It will delete default value (empty string), but the property itself is preserved because of a reference.

Michael

0
Comment actions Permalink

Thanks, that fixed it.

0

Please sign in to leave a comment.