Issue Type: Bug Bug
Assignee: bap
Attachments: jenkins-not_built-build-console.PNG, jenkins-not_built-module-console.PNG, jenkins-not_built-modules.PNG
Components: publish-over-ssh
Created: 02/Jan/13 2:30 PM
Description:

I'm having a problem that sometimes when a multi-module project is built and one or more modules have NOT_BUILT as result, the Publish Over SSH Plugin prints this in the console:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
...
channel stopped
...
[EnvInject] - Injecting environment variables from a build step.
...
[EnvInject] - Variables injected successfully.
[EnvInject] - Unset unresolved 'BUILD_USER_LAST_NAME' variable.
[EnvInject] - Unset unresolved 'NODE_NAME' variable.
>>> SSH: Current build result is [NOT_BUILT], not going to run. <<<
[M2Release] marking build to keep until the next release build

Despite the fact that the total build result is SUCCESS:

Finished: SUCCESS

I suggest that the plugin should check the build result of the complete build without checking the result of the modules.

Environment: Jenkins 1.466
Publish Over SSH Plugin 1.8
EnvInject Plugin 1.70
Jenkins Maven Release Plug-in Plug-in 0.9.1
Multi-module Maven Project
Project: Jenkins
Priority: Major Major
Reporter: ThiagoC
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to