I have job with configured P4 repository and following execute shell:
env | grep -P '^P4'
This job is executed on node js-qata-u16. I log into that node and log out of perforce:
$ p4 logout
User xbuild.qa logged out.
Now I run jenkins job, which displays following data in log:
+ grep -P ^P4
But on js-qata-u16 node I do:
$ p4 tickets
p4master:1666 (xbuild.qa) 84D5F61285DE96EF5EC6C5462EF10171
This ticket is different. It looks like P4 plugin does p4 login on slave, but does not use generated ticket. In my opinion it should do p4 login -a on slave, so master and slaves use the same ticket. Currently, ticket generated after such operation is not used anywhere.