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

Allow blank entries on "Release" and "Project Purpose" fields

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • synergy-plugin
    • None
    • Tested on Linux CentOS 5 running tomcat Apache Tomcat/6.0.28 JVM 1.6.0_16-b01

      Synergy CM baseline command allows not providing the -release and -purpose options by default. When these are not specified, these information will be retrieved from the project copy being used to generate the baseline. I'm in the process of making the modifications to the synergy plug-in and will attach a patch file when I'm done.

          [JENKINS-8613] Allow blank entries on "Release" and "Project Purpose" fields

          pantherse added a comment -

          Patch file for the changes to implement this request

          pantherse added a comment - Patch file for the changes to implement this request

          pantherse added a comment -

          Does anyone have any idea when my patch will be merged in to the Synergy plugin release?

          pantherse added a comment - Does anyone have any idea when my patch will be merged in to the Synergy plugin release?

          Code changed in jenkins
          User: Keith Mendoza
          Path:
          src/main/java/hudson/plugins/synergy/impl/CreateProjectBaselineCommand.java
          http://jenkins-ci.org/commit/synergy_scm-plugin/f197b423801c18d3a3143b271c62555a6e1ba4a0
          Log:
          Allow baseline purpose and release to be based on project

          When "Release" and "Project Purpose" are blank the -release and -purpose switches are left out. The baseline created will base its purpose and release on the project that was provided (fixes JENKINS-8613)

          Closes #6

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Keith Mendoza Path: src/main/java/hudson/plugins/synergy/impl/CreateProjectBaselineCommand.java http://jenkins-ci.org/commit/synergy_scm-plugin/f197b423801c18d3a3143b271c62555a6e1ba4a0 Log: Allow baseline purpose and release to be based on project When "Release" and "Project Purpose" are blank the -release and -purpose switches are left out. The baseline created will base its purpose and release on the project that was provided (fixes JENKINS-8613 ) Closes #6

          Code changed in jenkins
          User: Keith Mendoza
          Path:
          src/main/java/hudson/plugins/synergy/impl/CreateProjectBaselineCommand.java
          src/test/java/hudson/plugins/synergy/impl/CreateProjectBaselineCommandTest.java
          http://jenkins-ci.org/commit/synergy_scm-plugin/1b48967e7c04e190f571cd4ea87bfe71d307ad88
          Log:
          Needed to trim the release and purpose string values (fixes JENKINS-8613)

          Added a test case while I'm at it

          Closes #6

          Compare: https://github.com/jenkinsci/synergy_scm-plugin/compare/f197b42...1b48967

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Keith Mendoza Path: src/main/java/hudson/plugins/synergy/impl/CreateProjectBaselineCommand.java src/test/java/hudson/plugins/synergy/impl/CreateProjectBaselineCommandTest.java http://jenkins-ci.org/commit/synergy_scm-plugin/1b48967e7c04e190f571cd4ea87bfe71d307ad88 Log: Needed to trim the release and purpose string values (fixes JENKINS-8613 ) Added a test case while I'm at it Closes #6 Compare: https://github.com/jenkinsci/synergy_scm-plugin/compare/f197b42...1b48967

          Code changed in jenkins
          User: Keith Mendoza
          Path:
          src/main/java/hudson/plugins/synergy/impl/CreateProjectBaselineCommand.java
          http://jenkins-ci.org/commit/synergy_scm-plugin/9ee67e45acf7aa13d720cea2bc764ed9c9b15066
          Log:
          Allow baseline purpose and release to be based on project

          When "Release" and "Project Purpose" are blank the -release and -purpose switches are left out. The baseline created will base its purpose and release on the project that was provided (fixes JENKINS-8613)

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Keith Mendoza Path: src/main/java/hudson/plugins/synergy/impl/CreateProjectBaselineCommand.java http://jenkins-ci.org/commit/synergy_scm-plugin/9ee67e45acf7aa13d720cea2bc764ed9c9b15066 Log: Allow baseline purpose and release to be based on project When "Release" and "Project Purpose" are blank the -release and -purpose switches are left out. The baseline created will base its purpose and release on the project that was provided (fixes JENKINS-8613 )

          Code changed in jenkins
          User: Keith Mendoza
          Path:
          src/main/java/hudson/plugins/synergy/impl/CreateProjectBaselineCommand.java
          http://jenkins-ci.org/commit/synergy_scm-plugin/f197b423801c18d3a3143b271c62555a6e1ba4a0
          Log:
          Allow baseline purpose and release to be based on project

          When "Release" and "Project Purpose" are blank the -release and -purpose switches are left out. The baseline created will base its purpose and release on the project that was provided (fixes JENKINS-8613)

          Closes #6

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Keith Mendoza Path: src/main/java/hudson/plugins/synergy/impl/CreateProjectBaselineCommand.java http://jenkins-ci.org/commit/synergy_scm-plugin/f197b423801c18d3a3143b271c62555a6e1ba4a0 Log: Allow baseline purpose and release to be based on project When "Release" and "Project Purpose" are blank the -release and -purpose switches are left out. The baseline created will base its purpose and release on the project that was provided (fixes JENKINS-8613 ) Closes #6

          Code changed in jenkins
          User: Keith Mendoza
          Path:
          src/main/java/hudson/plugins/synergy/impl/CreateProjectBaselineCommand.java
          src/test/java/hudson/plugins/synergy/impl/CreateProjectBaselineCommandTest.java
          http://jenkins-ci.org/commit/synergy_scm-plugin/5210802e6eb35f571c62ab014eaa05bf9b6c6d45
          Log:
          Needed to trim the release and purpose string values (fixes JENKINS-8613)

          Added a test case while I'm at it

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Keith Mendoza Path: src/main/java/hudson/plugins/synergy/impl/CreateProjectBaselineCommand.java src/test/java/hudson/plugins/synergy/impl/CreateProjectBaselineCommandTest.java http://jenkins-ci.org/commit/synergy_scm-plugin/5210802e6eb35f571c62ab014eaa05bf9b6c6d45 Log: Needed to trim the release and purpose string values (fixes JENKINS-8613 ) Added a test case while I'm at it

          Code changed in jenkins
          User: Keith Mendoza
          Path:
          src/main/java/hudson/plugins/synergy/impl/CreateProjectBaselineCommand.java
          src/test/java/hudson/plugins/synergy/impl/CreateProjectBaselineCommandTest.java
          http://jenkins-ci.org/commit/synergy_scm-plugin/1b48967e7c04e190f571cd4ea87bfe71d307ad88
          Log:
          Needed to trim the release and purpose string values (fixes JENKINS-8613)

          Added a test case while I'm at it

          Closes #6

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Keith Mendoza Path: src/main/java/hudson/plugins/synergy/impl/CreateProjectBaselineCommand.java src/test/java/hudson/plugins/synergy/impl/CreateProjectBaselineCommandTest.java http://jenkins-ci.org/commit/synergy_scm-plugin/1b48967e7c04e190f571cd4ea87bfe71d307ad88 Log: Needed to trim the release and purpose string values (fixes JENKINS-8613 ) Added a test case while I'm at it Closes #6

          pantherse added a comment -

          Resolved in version 1.6

          pantherse added a comment - Resolved in version 1.6

            pantherse pantherse
            pantherse pantherse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: