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

Deploy all built modules on success, including from previous failed builds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • maven-plugin
    • None
    • Version 1.329

      Setup

      Incremental build for a maven2 multi module project (module A, B and C). Target is "clean install" and "Deploy artifacts to Maven repository" is checked.

      Scenario

      1. Modules A and B are changed of which the change in module A causes a test to fail in that module.
      2. The build fails as unstable after both module A and B are built, and no module is deployed even if module B built ok. Fair.
      3. A fix is submitted for the failing test in module A.
      4. The fixed module A is rebuilt including the dependant module C and all is successfull again. Ok.
      5. Modules A and C are deployed to the repository, but not B! Not ok!

      Module B should also be deployed once the project is successfully built again. It's not ok to have to go to Hudson and manually force module B to be (re-) deployed.

      This is related to JENKINS-4152 in some sense, but specific for the deploy step after the build.

            kutzi kutzi
            jonbe242 Jonas Bergvall
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: