I have more time to investigate on that this week ^^

So, the problem is that every P4 variables are not exported to the environment for post build actions.

All variables declared in the perforce section are not exposed in the environment when the maven command is runned.
So we end up with several errors due to P4CHARSET, P4CLIENT, P4USER not known.

It fails even if I add a pre build step to set this variable through a shell script. I guess the pre build script is not runned on the same environnement and so my EXPORT commands are useless for post build actions.

So the question is, is it possible for the jenkins perforce plugin to expose these variables to the build when maven is invoked ?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to