Hello, First a little bit of context on perforce tickets: once a user does a "p4 login<http://www.perforce.com/perforce/doc.current/manuals/cmdref/login.html>" a ticket is issued to his machine that allows him to run perforce commands without logging in again. The tickets have a lifespan of 12h hours by default (the value can be changed by a perforce admin). Once the ticket expires the user will need to run "p4 login<http://www.perforce.com/perforce/doc.current/manuals/cmdref/login.html>" again in order to be able to issue perforce commands. The tickets that exist on a machine can be displayed by using "p4 tickets<http://www.perforce.com/perforce/doc.current/manuals/cmdref/tickets.html>". The tickets can be deleted by using "p4 logout<http://www.perforce.com/perforce/doc.current/manuals/cmdref/logout.html> "
Back to your warning, it can be explained as: the perforce plugin tried to run "p4 login" when a valid ticket was already available on the machine. There is nothing wrong in doing that. It's just that it is not actually necessary. Personally I would just ignore the warning. To get rid of them you could play around a bit with a couple of things: 1. Issue a "p4 logout" command at the end of your job so that when the job runs again there will be no ticket on the machine 2. Ask your perforce administrator to change the ticket lifetime of the user to something very low (1 second) Good luck, AAA. PS: you can use "p4 login -s" to see if you have a valid ticket or the ticket has expired. On Wednesday, June 12, 2013 10:52:24 PM UTC+3, Richard J wrote: > > Hi > Using Jenkins 1.509.1 with Perforce plugin 1.3.19 > > I've seen this for a long time, but now seems like a good time to ask... > > My Jenkins log is full of entries like this: > > Jun 12, 2013 12:39:21 PM com.tek42.perforce.parse.AbstractPerforceTemplate > login WARNING: Using p4 issued ticket. > > What does it mean, why is it a warning, and most importantly, > Is there any way to suppress them? > > By the way, in the screen- > Manage Jenkins => System Log => All Jenkins Logs > click the RSS link "WARNING" at the bottom right corner. > The page displayed is labeled "Hudson log". > Shall I notify Larry? :) > > Richard Otter > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
