-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
p4.prog reporting feature #47
base: master
Are you sure you want to change the base?
Conversation
plugins » perforce-plugin #94 SUCCESS |
I definitely vote for such feature. Probably, it would be good to have a Unfortunately, seems the development of the plugin has been put on hold due to the unclear situation with guys from Perforce, who want to create their own plugin. Probably, @rpetti could provide more information on future actions with the existing plugin. |
Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests |
Your proposal is reasonable and it would probably be more elegant, unfortunately I'm not sure when I'll find some time to rewrite it the way you described. From my pov I have a working solution that is "good enough" atm. I'd be interested to hear about the perforce2 plugin. Maybe there is no point in making this one more elegant, if it's going to be scratched anyway. |
* Perforce program name to report to the Perforce server | ||
*/ | ||
String p4ProgramName = null; | ||
String p4ProgramPollingName = null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about moving this variables and the logic to a separate Describable class?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see why not. I do see the benefits of having this as a separate describable class or extension point. I'm just after the functionality.
@jkapica |
Sorry. After I got it working in my instance, this endded up on end of my priorities list. |
This patch provides capability to report custom p4 program name to the Perforce server.
p4.prog is an arbitrary string which identifies the application establishing connection to p4 server. It can be later traced in server logs as well as with p4 monitor. It is very useful if you have several automated systems connecting to p4 server, and you want to be able to easily trace and account them.
Javadoc is pretty scanty about the parameter, below link to python docs:
http://www.perforce.com/perforce/doc.current/manuals/p4script/03_python.html#1120041