[ 
https://issues.jenkins-ci.org/browse/JENKINS-13418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nate Jones updated JENKINS-13418:
---------------------------------

    Description: 
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:

{noformat}
    <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>
{noformat}

And after saving the second time (as in screenshot2.png), the script is missing 
from config.xml:

{noformat}
    <org.jenkinsci.plugins.postbuildscript.PostBuildScript>
      <scriptOnlyIfSuccess>false</scriptOnlyIfSuccess>
    </org.jenkinsci.plugins.postbuildscript.PostBuildScript>
{noformat}

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.

  was:
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:

{noformat}
    <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>
{noformat}

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.

    
> PostBuildScript plugin does not load its configuration properly
> ---------------------------------------------------------------
>
>                 Key: JENKINS-13418
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13418
>             Project: Jenkins
>          Issue Type: Bug
>          Components: postbuildscript
>         Environment: Jenkins: v. 1.458 (but also 1.419)
> OS: Debian Lenny/Squeeze
>            Reporter: Nate Jones
>            Assignee: gbois
>            Priority: Minor
>         Attachments: screenshot1.png, screenshot2.png
>
>
> 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:
> {noformat}
>     <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>
> {noformat}
> And after saving the second time (as in screenshot2.png), the script is 
> missing from config.xml:
> {noformat}
>     <org.jenkinsci.plugins.postbuildscript.PostBuildScript>
>       <scriptOnlyIfSuccess>false</scriptOnlyIfSuccess>
>     </org.jenkinsci.plugins.postbuildscript.PostBuildScript>
> {noformat}
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to