-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins: v. 1.458 (but also 1.419)
OS: Debian Lenny/Squeeze
The PostBuildScript plugin works great.
However, I've noticed that when I load up the configuration page for my job in jenkins, the PBS information is missing. The config in screenshot1.png doesn't show up when the configuration is loaded again in screenshot2.png. If the config.xml is examined, the data is there:
<org.jenkinsci.plugins.postbuildscript.PostBuildScript> <genericScriptFileList> <org.jenkinsci.plugins.postbuildscript.GenericScript> <filePath>/usr/bin/send_post_build_message.sh</filePath> </org.jenkinsci.plugins.postbuildscript.GenericScript> </genericScriptFileList> <scriptOnlyIfSuccess>false</scriptOnlyIfSuccess> </org.jenkinsci.plugins.postbuildscript.PostBuildScript>
And after saving the second time (as in screenshot2.png), the script is missing from config.xml:
<org.jenkinsci.plugins.postbuildscript.PostBuildScript> <scriptOnlyIfSuccess>false</scriptOnlyIfSuccess> </org.jenkinsci.plugins.postbuildscript.PostBuildScript>
I've made some customizations to the PBS plugin (as seen here https://github.com/mediatemple/postbuildscript-plugin in the build_info_as_env branch), but after looking at the code for a while, I think this is a little above my ken.