• 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_console2.PNG
          24 kB
          Matthew Smith
        2. example_groovy2.PNG
          28 kB
          Matthew Smith
        3. example_console.PNG
          25 kB
          Matthew Smith
        4. example_groovy.PNG
          6 kB
          Matthew Smith

          [JENKINS-38976] P4_TICKET not exposed for .Groovy scripts

          Matthew Smith created issue -
          Matthew Smith made changes -
          Attachment New: example_console.PNG [ 34363 ]
          Attachment New: example_groovy.PNG [ 34364 ]
          Matthew Smith made changes -
          Attachment New: example_groovy2.PNG [ 34365 ]
          Matthew Smith made changes -
          Attachment New: example_console2.PNG [ 34366 ]
          Matthew Smith made changes -
          Attachment Original: example_groovy2.PNG [ 34365 ]
          Matthew Smith made changes -
          Attachment Original: example_console2.PNG [ 34366 ]
          Matthew Smith made changes -
          Attachment New: example_groovy2.PNG [ 34367 ]
          Matthew Smith made changes -
          Attachment New: example_console2.PNG [ 34368 ]
          Paul Allen made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Paul Allen added a comment -

          Ready for release.
          JENKINS-37584

          Paul Allen added a comment - Ready for release. JENKINS-37584
          Paul Allen made changes -
          Link New: This issue blocks JENKINS-37584 [ JENKINS-37584 ]
          Paul Allen made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

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

              Created:
              Updated:
              Resolved: