Change 21447
Paul Allen
committed this change
into
//guest/perforce_software/p4jenkins/main/src/main/java/org/jenkinsci/plugins/p4/groovy
Request Review
Download .zip
P4Groovy can take variable args or one string for run.
A string for simple commands (that don't use a comma):
def changes = p4.run("changes", "//...@${A}, -s, submitted")
Or more complex commands use variable args:
def changes = p4.run("changes", "//...@${A},${B}", "-s submitted", "-m4")
Uses the same rules as P4Python/P4Perl/P4Ruby by keep arg groups together ("-flag <arg>").
JENKINS-40454
Files
1
Comments
0
1
edited
0
added
0
deleted
•
P4Groovy.java#3
Loading...
Tip: Use
n
and
p
to cycle through the changes.