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

    • Improvement
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • maven-plugin
    • None

    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

          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)

          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)

          Yes, it is backward compatible with existing configurations.

          kohsuke Kohsuke Kawaguchi added a comment - Yes, it is backward compatible with existing configurations.
          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
          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

          Applied in 1.416

          aheritier 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_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

          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_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

          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_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

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

            Dates

              Created:
              Updated:
              Resolved: