Change 21447

Paul Allen
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
1 edited 0 added 0 deleted
Tip: Use n and p to cycle through the changes.