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

Improve the post deployment job to make a clear error if you disabled artifacts archives

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • maven-plugin
    • None

      If the feature to archive artifacts is deactivate (which is a good idea when you already deploy them on a repo ) you cannot use the post deploy task in maven jobs.
      A clear message is better than a FileNotFound

          [JENKINS-9791] Improve the post deployment job to make a clear error if you disabled artifacts archives

          Pull request waiting for review

          Arnaud Héritier added a comment - Pull request waiting for review

          Olivier Lamy added a comment -

          merge done Thanks !

          Olivier Lamy added a comment - merge done Thanks !

          dogfood added a comment -

          Integrated in jenkins_main_trunk #819
          JENKINS-9791 : Display an error message if the "deploy after build" feature is activated but the "archive artifacts" is disabled
          JENKINS-9791 add changelog entry

          Arnaud Héritier : be03ace384755b785b5d625817a4d8c3de23f308
          Files :

          • maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_de.html
          • maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help.html
          • maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_ja.html
          • maven-plugin/src/main/java/hudson/maven/RedeployPublisher.java
          • maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_fr.html

          Olivier Lamy : c9a8fe7671ca9068e29f216f6fec4e376a6d3c17
          Files :

          • changelog.html

          dogfood added a comment - Integrated in jenkins_main_trunk #819 JENKINS-9791 : Display an error message if the "deploy after build" feature is activated but the "archive artifacts" is disabled JENKINS-9791 add changelog entry Arnaud Héritier : be03ace384755b785b5d625817a4d8c3de23f308 Files : maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_de.html maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help.html maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_ja.html maven-plugin/src/main/java/hudson/maven/RedeployPublisher.java maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_fr.html Olivier Lamy : c9a8fe7671ca9068e29f216f6fec4e376a6d3c17 Files : changelog.html

          Code changed in jenkins
          User: Arnaud Héritier
          Path:
          maven-plugin/src/main/java/hudson/maven/RedeployPublisher.java
          maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help.html
          maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_de.html
          maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_fr.html
          maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_ja.html
          http://jenkins-ci.org/commit/jenkins/be03ace384755b785b5d625817a4d8c3de23f308
          Log:
          JENKINS-9791 : Display an error message if the "deploy after build" feature is activated but the "archive artifacts" is disabled

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Arnaud Héritier Path: maven-plugin/src/main/java/hudson/maven/RedeployPublisher.java maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help.html maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_de.html maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_fr.html maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_ja.html http://jenkins-ci.org/commit/jenkins/be03ace384755b785b5d625817a4d8c3de23f308 Log: JENKINS-9791 : Display an error message if the "deploy after build" feature is activated but the "archive artifacts" is disabled

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          maven-plugin/src/main/java/hudson/maven/RedeployPublisher.java
          maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help.html
          maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_de.html
          maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_fr.html
          maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_ja.html
          http://jenkins-ci.org/commit/jenkins/c5d1b428812259d13f81703bf14fcbe6d5d7cf47
          Log:
          Merge pull request #138 from aheritier/JENKINS-9791

          [FIXED JENKINS-9791] : Improve the post deployment job to make a clear error if you disabled artifacts archives

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: maven-plugin/src/main/java/hudson/maven/RedeployPublisher.java maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help.html maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_de.html maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_fr.html maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_ja.html http://jenkins-ci.org/commit/jenkins/c5d1b428812259d13f81703bf14fcbe6d5d7cf47 Log: Merge pull request #138 from aheritier/ JENKINS-9791 [FIXED JENKINS-9791] : Improve the post deployment job to make a clear error if you disabled artifacts archives

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          changelog.html
          http://jenkins-ci.org/commit/jenkins/c9a8fe7671ca9068e29f216f6fec4e376a6d3c17
          Log:
          JENKINS-9791 add changelog entry

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: changelog.html http://jenkins-ci.org/commit/jenkins/c9a8fe7671ca9068e29f216f6fec4e376a6d3c17 Log: JENKINS-9791 add changelog entry

          Code changed in jenkins
          User: Arnaud Héritier
          Path:
          maven-plugin/src/main/java/hudson/maven/RedeployPublisher.java
          maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help.html
          maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_de.html
          maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_fr.html
          maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_ja.html
          http://jenkins-ci.org/commit/jenkins/be03ace384755b785b5d625817a4d8c3de23f308
          Log:
          JENKINS-9791 : Display an error message if the "deploy after build" feature is activated but the "archive artifacts" is disabled

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Arnaud Héritier Path: maven-plugin/src/main/java/hudson/maven/RedeployPublisher.java maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help.html maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_de.html maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_fr.html maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_ja.html http://jenkins-ci.org/commit/jenkins/be03ace384755b785b5d625817a4d8c3de23f308 Log: JENKINS-9791 : Display an error message if the "deploy after build" feature is activated but the "archive artifacts" is disabled

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          maven-plugin/src/main/java/hudson/maven/RedeployPublisher.java
          maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help.html
          maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_de.html
          maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_fr.html
          maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_ja.html
          http://jenkins-ci.org/commit/jenkins/c5d1b428812259d13f81703bf14fcbe6d5d7cf47
          Log:
          Merge pull request #138 from aheritier/JENKINS-9791

          [FIXED JENKINS-9791] : Improve the post deployment job to make a clear error if you disabled artifacts archives

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: maven-plugin/src/main/java/hudson/maven/RedeployPublisher.java maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help.html maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_de.html maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_fr.html maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/help_ja.html http://jenkins-ci.org/commit/jenkins/c5d1b428812259d13f81703bf14fcbe6d5d7cf47 Log: Merge pull request #138 from aheritier/ JENKINS-9791 [FIXED JENKINS-9791] : Improve the post deployment job to make a clear error if you disabled artifacts archives

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          changelog.html
          http://jenkins-ci.org/commit/jenkins/c9a8fe7671ca9068e29f216f6fec4e376a6d3c17
          Log:
          JENKINS-9791 add changelog entry

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: changelog.html http://jenkins-ci.org/commit/jenkins/c9a8fe7671ca9068e29f216f6fec4e376a6d3c17 Log: JENKINS-9791 add changelog entry

          Code changed in jenkins
          User: Arnaud Héritier
          Path:
          src/main/java/hudson/maven/RedeployPublisher.java
          src/main/resources/hudson/maven/RedeployPublisher/help.html
          src/main/resources/hudson/maven/RedeployPublisher/help_de.html
          src/main/resources/hudson/maven/RedeployPublisher/help_fr.html
          src/main/resources/hudson/maven/RedeployPublisher/help_ja.html
          http://jenkins-ci.org/commit/maven-plugin/8ef5964fe309a9b2954dc1dc02d0616d2b0a9ef8
          Log:
          JENKINS-9791 : Display an error message if the "deploy after build" feature is activated but the "archive artifacts" is disabled
          Originally-Committed-As: be03ace384755b785b5d625817a4d8c3de23f308

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Arnaud Héritier Path: src/main/java/hudson/maven/RedeployPublisher.java src/main/resources/hudson/maven/RedeployPublisher/help.html src/main/resources/hudson/maven/RedeployPublisher/help_de.html src/main/resources/hudson/maven/RedeployPublisher/help_fr.html src/main/resources/hudson/maven/RedeployPublisher/help_ja.html http://jenkins-ci.org/commit/maven-plugin/8ef5964fe309a9b2954dc1dc02d0616d2b0a9ef8 Log: JENKINS-9791 : Display an error message if the "deploy after build" feature is activated but the "archive artifacts" is disabled Originally-Committed-As: be03ace384755b785b5d625817a4d8c3de23f308

            aheritier Arnaud Héritier
            aheritier Arnaud Héritier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: