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

Need to evaluate ${param} in any configuration fields

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • repo-plugin

      Need to evaluate parameters defined in the repo configuration.
      I particular, need to be able to evaluate ${RELEASE_TAG} in the 'Manifest Branch' field to allow a specific tagged version of the manifest to be used for the build.

          [JENKINS-17913] Need to evaluate ${param} in any configuration fields

          Arvid E.P added a comment -

          Does anyone object https://github.com/jenkinsci/repo-plugin/pull/19 ? Apart from some minor nitpicks this looks good to me.

          Arvid E.P added a comment - Does anyone object https://github.com/jenkinsci/repo-plugin/pull/19 ? Apart from some minor nitpicks this looks good to me.

          Code changed in jenkins
          User: Rainer Burgstaller
          Path:
          src/main/java/hudson/plugins/repo/RepoScm.java
          http://jenkins-ci.org/commit/repo-plugin/0e8f96f7e69ddd5c376371b3f40179bf5110a4e6
          Log:
          partial fix for JENKINS-17913 expand variables for branch

          JENKINS-17913 asked for being able to expand variables for certain
          configuration properties I have added expansion for the specified branch
          which allows users to choose a branch to checkout and pass it in as a
          variable

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Rainer Burgstaller Path: src/main/java/hudson/plugins/repo/RepoScm.java http://jenkins-ci.org/commit/repo-plugin/0e8f96f7e69ddd5c376371b3f40179bf5110a4e6 Log: partial fix for JENKINS-17913 expand variables for branch JENKINS-17913 asked for being able to expand variables for certain configuration properties I have added expansion for the specified branch which allows users to choose a branch to checkout and pass it in as a variable

          Code changed in jenkins
          User: Arvid Picciani
          Path:
          src/main/java/hudson/plugins/repo/RepoScm.java
          http://jenkins-ci.org/commit/repo-plugin/2bf294f1f5d5fa1f141b1a368eb945684a5cb741
          Log:
          Merge pull request #19 from rburgst/branch-expansion

          Branch expansion JENKINS-17913

          Compare: https://github.com/jenkinsci/repo-plugin/compare/9fabbd896637...2bf294f1f5d5

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Arvid Picciani Path: src/main/java/hudson/plugins/repo/RepoScm.java http://jenkins-ci.org/commit/repo-plugin/2bf294f1f5d5fa1f141b1a368eb945684a5cb741 Log: Merge pull request #19 from rburgst/branch-expansion Branch expansion JENKINS-17913 Compare: https://github.com/jenkinsci/repo-plugin/compare/9fabbd896637...2bf294f1f5d5

          Arvid E.P added a comment -

          fixed in 1.6

          Arvid E.P added a comment - fixed in 1.6

          Paul Stath added a comment -

          I'm unable to see version 1.6 of the repo plugin in Jenkins->Plugin Manager->Updates.

          It still reads current version 1.5, as does the plugin page (https://wiki.jenkins-ci.org/display/JENKINS/Repo+Plugin)
          I see where Arvid updated the page which indicates the latest version is 1.6.

          Am I being impatient, or has the 1.6 plugin not been fully deployed yet?

          Paul Stath added a comment - I'm unable to see version 1.6 of the repo plugin in Jenkins->Plugin Manager->Updates. It still reads current version 1.5, as does the plugin page ( https://wiki.jenkins-ci.org/display/JENKINS/Repo+Plugin ) I see where Arvid updated the page which indicates the latest version is 1.6. Am I being impatient, or has the 1.6 plugin not been fully deployed yet?

          Arvid E.P added a comment - - edited

          patience

          i just deployed it. the wiki might take a while to refresh.

          http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/repo/1.6/

          Arvid E.P added a comment - - edited patience i just deployed it. the wiki might take a while to refresh. http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/repo/1.6/

          https://github.com/jenkinsci/repo-plugin/pull/21 resolves this issue for the other fields

          Scott Anderson added a comment - https://github.com/jenkinsci/repo-plugin/pull/21 resolves this issue for the other fields

          Code changed in jenkins
          User: Scott Anderson
          Path:
          src/main/java/hudson/plugins/repo/RepoScm.java
          http://jenkins-ci.org/commit/repo-plugin/fc2c8d1ec64707cbfe4cf2e3aa9a872679ab3d7c
          Log:
          [FIXED JENKINS-17913] Expand variables

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Scott Anderson Path: src/main/java/hudson/plugins/repo/RepoScm.java http://jenkins-ci.org/commit/repo-plugin/fc2c8d1ec64707cbfe4cf2e3aa9a872679ab3d7c Log: [FIXED JENKINS-17913] Expand variables

          Code changed in jenkins
          User: Robert Sandell
          Path:
          src/main/java/hudson/plugins/repo/RepoScm.java
          http://jenkins-ci.org/commit/repo-plugin/41d6e8666ee23fb6d2eb3a54753a90712cf69e9b
          Log:
          Merge pull request #21 from scottanderson/master

          [FIXED JENKINS-17913] Expand manifest file and URL

          Compare: https://github.com/jenkinsci/repo-plugin/compare/8481d855cad8...41d6e8666ee2

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Robert Sandell Path: src/main/java/hudson/plugins/repo/RepoScm.java http://jenkins-ci.org/commit/repo-plugin/41d6e8666ee23fb6d2eb3a54753a90712cf69e9b Log: Merge pull request #21 from scottanderson/master [FIXED JENKINS-17913] Expand manifest file and URL Compare: https://github.com/jenkinsci/repo-plugin/compare/8481d855cad8...41d6e8666ee2

          Makson Lee added a comment -

          So when would the fix be available in release version?

          Makson Lee added a comment - So when would the fix be available in release version?

            aep Arvid E.P
            nerdvana Paul Stath
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: