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

TestLink plugin - cant get custom field values as variables in job

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • testlink-plugin
    • None

      I have a job in jenkis that must read values of three custom fields in testlink, but reads only one.
      The only one variable read is the default 'Java Class', any other new isn't read.

      Here are my environment:

      Jenkins version: 1.530
      TestLink version: 1.9.4
      Plugin version: 3.2

      This is my configuration, in Iterative Build steps. I follow the instructions on the plugin site (https://wiki.jenkins-ci.org/display/JENKINS/TestLink+Plugin)
      When I try to access the variables like that:

      #!/bin/sh
      echo 1 - ${TESTLINK_TESTCASE_JAVA_CLASS}
      echo 2 - ${TESTLINK_JAVA_METHOD}
      echo 3 - ${TESTLINK_TESTCASE_JAVA_METHOD}
      echo 4 - TESTLINK_TESTCASE_${JAVA_METHOD}
      echo 5 - $TESTLINK_TESTCASE_JAVA_METHOD

      I got this output:
      1 - br.com.cpqd.testeokeanos.unittests.ManterConceitoIncluirTest#deveIncluirConceito
      2 -
      3 -
      4 - TESTLINK_TESTCASE_
      5 -

      There is a way to debug or print all variables? I need to know if Jenkins can read my values from TestLink.

      I see this jira https://issues.jenkins-ci.org/browse/JENKINS-17622 but i think its not related.

            kinow Bruno P. Kinoshita
            gustavolabbate gustavo labbate godoy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: