Hello Folks.

I am setting some Maven jobs in Jenkins that need to have a value changed 
each time it runs.

So it would look like the following:

So one of the setting for Goal and options looks like the following:

 -Dorg.jenkins.job.mercurial.revision=$REV_NUM


The REV_NUM has to be calculated by the job at build time

Is there a way for me to set the REV_NUM value  each time a build  runs?


Running Jenkins: 1.476
On Linux Ubuntu
Exporting it as env variable does not work.

Thank you in advance for the help.

Reply via email to