[JIRA] Reopened: (HUDSON-4465) M2 Extra Steps Plugin Post Build Steps only fires when set to run "regardless"

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Reopened: (HUDSON-4465) M2 Extra Steps Plugin Post Build Steps only fires when set to run "regardless"

Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-4465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

zoosnack reopened HUDSON-4465:
------------------------------


I have this exact same issue.  I have version 1.1.3 of m2-extra-steps & Hudson ver. 1.367.

My maven job is configured with this:
-DSCMuser=xxxxxx -DSCMpassword=xxxxx -Dresume=false release:prepare release:perform

I have an ant task set up in a post build step and it only executes when configure to Run regardless of build result.

> M2 Extra Steps Plugin Post Build Steps only fires when set to run "regardless"
> ------------------------------------------------------------------------------
>
>                 Key: HUDSON-4465
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-4465
>             Project: Hudson
>          Issue Type: Bug
>          Components: m2-extra-steps
>    Affects Versions: current
>         Environment: Platform: Sun, OS: Solaris
>            Reporter: russell_ioko
>            Assignee: abayer
>
> I have configured an External Shell M2 Extra Steps post build step. I configured
> it to only be executed if the build was a success. The build is a maven goal of
> release:prepare. The build succeeds but the post step does not execute.
> I added a pre build step, this was executed. I removed the pre build step.
> I modified the config to run the post build step if the build was either
> successful or unstable. The job ran, the build was a success but the post build
> step did not run.
> I modified the config to run the post build step "Run regardless of build
> result". I ran the job, the build was a success and the post build step was run.
> It appears that the post build shell script step is only run if the Post Build
> Run Criteria is set to "Run regardless of build result"

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]