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

P4_TICKET not exposed for .Groovy scripts

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: p4-plugin
    • Labels:
    • Environment:
      p4 plugin 1.4.8
      Jenkins ver. 1.651.2
      Pipeline 2.4
    • Similar Issues:

      Description

      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.

        Attachments

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

          Issue Links

            Activity

            Hide
            p4paul Paul Allen added a comment -

            Ready for release.
            JENKINS-37584

            Show
            p4paul Paul Allen added a comment - Ready for release. JENKINS-37584
            Hide
            p4paul Paul Allen added a comment -

            Released in 1.4.10

            Show
            p4paul Paul Allen added a comment - Released in 1.4.10

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: