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

Build parameter for "List Subversion Tags (and more)" is not exposed to workflow script.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: subversion-plugin
    • Labels:
    • Environment:
      org.jenkins-ci.main:jenkins-war:1.599
      workflow plugin:1.3-SNAPSHOT (private-02/10/2015 ...)
    • Similar Issues:

      Description

      Scenario: A parametrized workflow job with a

      • "Text-Parameter" -> $TEST_TEXT
      • "List Subversion Tags (and more)" parameter -> $TEST_SVN

      Example:

      node {
        echo "$TEST_TEXT"
        echo "$TEST_SVN"
      }
      

      Expected outcome:
      [...]
      Running: Print Message
      test
      Running: Print Message
      my-svn-tag-name
      [...]

      Exception: groovy.lang.MissingPropertyException: No such property: TEST_SVN for class: WorkflowScript

      Workaround: using another Text-Parameter

        Attachments

          Issue Links

            Activity

            Hide
            recena Manuel Recena Soto added a comment -
            Show
            recena Manuel Recena Soto added a comment - Craig Rodrigues Sure.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Craig Rodrigues
            Path:
            src/main/java/hudson/scm/listtagsparameter/ListSubversionTagsParameterValue.java
            http://jenkins-ci.org/commit/subversion-plugin/e41bc73b66951f21e16dd962888820b1b14b027f
            Log:
            JENKINS-27718 Override ParameterValue.buildEnvironment()

            ParameterValue.buildEnvVars() was deprecated. This fix is needed
            for the workflow plugin.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Craig Rodrigues Path: src/main/java/hudson/scm/listtagsparameter/ListSubversionTagsParameterValue.java http://jenkins-ci.org/commit/subversion-plugin/e41bc73b66951f21e16dd962888820b1b14b027f Log: JENKINS-27718 Override ParameterValue.buildEnvironment() ParameterValue.buildEnvVars() was deprecated. This fix is needed for the workflow plugin.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Manuel Recena
            Path:
            src/main/java/hudson/scm/listtagsparameter/ListSubversionTagsParameterValue.java
            http://jenkins-ci.org/commit/subversion-plugin/05aa7fc9b93c2cd6cef958a5b87603f8245e9ce8
            Log:
            Merge pull request #151 from rodrigc/JENKINS-27718

            JENKINS-27718 Override ParameterValue.buildEnvironment()

            Compare: https://github.com/jenkinsci/subversion-plugin/compare/910139260fbc...05aa7fc9b93c

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Manuel Recena Path: src/main/java/hudson/scm/listtagsparameter/ListSubversionTagsParameterValue.java http://jenkins-ci.org/commit/subversion-plugin/05aa7fc9b93c2cd6cef958a5b87603f8245e9ce8 Log: Merge pull request #151 from rodrigc/ JENKINS-27718 JENKINS-27718 Override ParameterValue.buildEnvironment() Compare: https://github.com/jenkinsci/subversion-plugin/compare/910139260fbc...05aa7fc9b93c
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Manuel Recena
            Path:
            COMPATIBILITY.md
            http://jenkins-ci.org/commit/workflow-plugin/54200ce3e4a9356f85e494ef24938a3a6828e0c6
            Log:
            JENKINS-27718 Noting

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Manuel Recena Path: COMPATIBILITY.md http://jenkins-ci.org/commit/workflow-plugin/54200ce3e4a9356f85e494ef24938a3a6828e0c6 Log: JENKINS-27718 Noting
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            COMPATIBILITY.md
            http://jenkins-ci.org/commit/workflow-plugin/a9aa87c1b4c60aebdf1c05cc822899325b828023
            Log:
            Merge pull request #286 from recena/master

            JENKINS-27718 Noting

            Compare: https://github.com/jenkinsci/workflow-plugin/compare/958e6e70ce8c...a9aa87c1b4c6

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: COMPATIBILITY.md http://jenkins-ci.org/commit/workflow-plugin/a9aa87c1b4c60aebdf1c05cc822899325b828023 Log: Merge pull request #286 from recena/master JENKINS-27718 Noting Compare: https://github.com/jenkinsci/workflow-plugin/compare/958e6e70ce8c...a9aa87c1b4c6

              People

              • Assignee:
                rodrigc Craig Rodrigues
                Reporter:
                ckaltenbach Christian Kaltenbach
              • Votes:
                2 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: