You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To make it short: I just pick the last line of stdout no matter the number of lines.
I'm not sure if that works on all p4 versions, and I fell that is not the best way of doing this.
Version found
Buildbot 1.8.0
Python 2.7.15rc1 & Python 3.6.5
The text was updated successfully, but these errors were encountered:
Issue
P4 polling with tickets uses the
p4 login -p
command and expect 3 lines or more on stdout, the third line being the ticket number.However, with my version of the CLI tools from Perforce:
the ticket number appears on the 2nd line! (and there are therefore only 2 lines of stdout):
Patch
Here is my proposed patch:
To make it short: I just pick the last line of
stdout
no matter the number of lines.I'm not sure if that works on all
p4
versions, and I fell that is not the best way of doing this.Version found
Buildbot 1.8.0
Python 2.7.15rc1 & Python 3.6.5
The text was updated successfully, but these errors were encountered: