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

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

      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.

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

          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)

          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)

          Yes, it is backward compatible with existing configurations.

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

          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

          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

          Applied in 1.416

          Arnaud Héritier added a comment - Applied in 1.416

          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

          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

          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

          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

          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

          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

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

              Created:
              Updated:
              Resolved: