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.
- blocks
-
JENKINS-37584 P4 plugin : P4_CHANGELIST not available in workflow (pipeline)
-
- Closed
-
[JENKINS-38976] P4_TICKET not exposed for .Groovy scripts
Attachment | New: example_console.PNG [ 34363 ] | |
Attachment | New: example_groovy.PNG [ 34364 ] |
Attachment | New: example_groovy2.PNG [ 34365 ] |
Attachment | New: example_console2.PNG [ 34366 ] |
Attachment | Original: example_groovy2.PNG [ 34365 ] |
Attachment | Original: example_console2.PNG [ 34366 ] |
Attachment | New: example_groovy2.PNG [ 34367 ] |
Attachment | New: example_console2.PNG [ 34368 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Link |
New:
This issue blocks |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |