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

P4_TICKET not exposed for .Groovy scripts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • p4-plugin
    • p4 plugin 1.4.8
      Jenkins ver. 1.651.2
      Pipeline 2.4

      The P4_TICKET is accessible from Jenkins jobs that execute a bash script, but for jobs that use .Groovy scripts the P4_TICKET is inaccessible. A call to env.P4_TICKET returns null in a .Groovy script.

        1. example_console.PNG
          25 kB
          Matthew Smith
        2. example_console2.PNG
          24 kB
          Matthew Smith
        3. example_groovy.PNG
          6 kB
          Matthew Smith
        4. example_groovy2.PNG
          28 kB
          Matthew Smith

            Unassigned Unassigned
            mksmith Matthew Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: