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

P4_TICKET not exposed for .Groovy scripts

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • p4-plugin
    • p4 plugin 1.4.8
      Jenkins ver. 1.651.2
      Pipeline 2.4

    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

            p4paul Paul Allen added a comment -

            Ready for release.
            JENKINS-37584

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

            Released in 1.4.10

            p4paul Paul Allen added a comment - Released in 1.4.10

            People

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

              Dates

                Created:
                Updated:
                Resolved: