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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • subversion-plugin
    • org.jenkins-ci.main:jenkins-war:1.599
      workflow plugin:1.3-SNAPSHOT (private-02/10/2015 ...)

      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

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

              Created:
              Updated:
              Resolved: