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

[Maven Jobs] Post build deploy task : Deploy with unique versions (timestamp) should be configured by default

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: maven-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Nowadays when we activate the feature to deploy binaries after the build the plugin is configured by default to not deploy timestamped SNAPSHOTs which is contrary to maven best practices and is disallowed in Maven 3+
      We need to change the default setting only for users creating new jobs or activating this feature. We shouldn't change the behavior of all of those who are already using it.

        Attachments

          Activity

          Hide
          aheritier Arnaud Héritier added a comment -

          I proposed a fix but I have doubt if it is really backward compatible with users using already it (and who don't use unique snapshots)

          Show
          aheritier Arnaud Héritier added a comment - I proposed a fix but I have doubt if it is really backward compatible with users using already it (and who don't use unique snapshots)
          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          Yes, it is backward compatible with existing configurations.

          Show
          kohsuke Kohsuke Kawaguchi added a comment - Yes, it is backward compatible with existing configurations.
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #848
          [FIXED JENKINS-9807] : [Maven Jobs] Post build deploy task : Deploy with unique versions (timestamp) should be configured by default

          Kohsuke Kawaguchi : b438c20eb4c0f965e0cbb3fd71c7ec3537e05b1d
          Files :

          • maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/config.jelly
          • changelog.html
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #848 [FIXED JENKINS-9807] : [Maven Jobs] Post build deploy task : Deploy with unique versions (timestamp) should be configured by default Kohsuke Kawaguchi : b438c20eb4c0f965e0cbb3fd71c7ec3537e05b1d Files : maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/config.jelly changelog.html
          Hide
          aheritier Arnaud Héritier added a comment -

          Applied in 1.416

          Show
          aheritier Arnaud Héritier added a comment - Applied in 1.416
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Arnaud Héritier
          Path:
          changelog.html
          maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/config.jelly
          http://jenkins-ci.org/commit/jenkins/b438c20eb4c0f965e0cbb3fd71c7ec3537e05b1d
          Log:
          [FIXED JENKINS-9807] : [Maven Jobs] Post build deploy task : Deploy with unique versions (timestamp) should be configured by default

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Arnaud Héritier Path: changelog.html maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/config.jelly http://jenkins-ci.org/commit/jenkins/b438c20eb4c0f965e0cbb3fd71c7ec3537e05b1d Log: [FIXED JENKINS-9807] : [Maven Jobs] Post build deploy task : Deploy with unique versions (timestamp) should be configured by default
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Arnaud Héritier
          Path:
          changelog.html
          maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/config.jelly
          http://jenkins-ci.org/commit/jenkins/b438c20eb4c0f965e0cbb3fd71c7ec3537e05b1d
          Log:
          [FIXED JENKINS-9807] : [Maven Jobs] Post build deploy task : Deploy with unique versions (timestamp) should be configured by default

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Arnaud Héritier Path: changelog.html maven-plugin/src/main/resources/hudson/maven/RedeployPublisher/config.jelly http://jenkins-ci.org/commit/jenkins/b438c20eb4c0f965e0cbb3fd71c7ec3537e05b1d Log: [FIXED JENKINS-9807] : [Maven Jobs] Post build deploy task : Deploy with unique versions (timestamp) should be configured by default
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Arnaud Héritier
          Path:
          src/main/resources/hudson/maven/RedeployPublisher/config.jelly
          http://jenkins-ci.org/commit/maven-plugin/1dbf9379f063c620cf317294375bd88cc4937dfc
          Log:
          [FIXED JENKINS-9807] : [Maven Jobs] Post build deploy task : Deploy with unique versions (timestamp) should be configured by default

          Originally-Committed-As: b438c20eb4c0f965e0cbb3fd71c7ec3537e05b1d

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Arnaud Héritier Path: src/main/resources/hudson/maven/RedeployPublisher/config.jelly http://jenkins-ci.org/commit/maven-plugin/1dbf9379f063c620cf317294375bd88cc4937dfc Log: [FIXED JENKINS-9807] : [Maven Jobs] Post build deploy task : Deploy with unique versions (timestamp) should be configured by default Originally-Committed-As: b438c20eb4c0f965e0cbb3fd71c7ec3537e05b1d

            People

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

              Dates

              Created:
              Updated:
              Resolved: