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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: maven-plugin
    • Labels:
      None

      Description

      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

        Activity

        Hide
        scm_issue_link 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

        Show
        scm_issue_link 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
        Hide
        scm_issue_link 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

        Show
        scm_issue_link 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
        Hide
        scm_issue_link 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

        Show
        scm_issue_link 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
        Hide
        scm_issue_link 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

        Show
        scm_issue_link 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
        Hide
        scm_issue_link 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

        Show
        scm_issue_link 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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: