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

              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: