Lev Mishin, I tried upgrading to version 1.6.3, and it no longer sets the build name, either before or after the build. On upgrade, both runAtStart and runAtEnd are set to false, so no build name is ever set.
We have over a hundred Jenkins jobs, so it's not feasible to manually set the flag for each job. I have to roll back to the earlier version, 1.5.1.
I also read the wiki that Daniel Beck mentioned above w.r.t. adding a new field. Here are my thoughts on this issue:
-
On upgrade, the plugin should preserve the existing behaviour (i.e., set the name at start).
-
Right now, there are two check boxes for start and end. Wouldn't it make more sense for it to be a choice between start OR end (i.e., a radio button)?
-
Why not remove the first option and only keep the one for "Set build name after build ends" instead of at the start?
Just have one flag that's set to false on upgrade, and persisted only if the user actively sets it to true. It preserves the existing behaviour, works within the recommended guidelines for adding a new field, and introduces the new advanced feature that you wrote to set the name at the end of a build.
|