Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-16240

Problem with NOT_BUILT build result

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • None
    • 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

      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.

            Unassigned Unassigned
            thiagoc ThiagoC
            Votes:
            11 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: