Re: Mercurial revision in email - HOW?

2013-02-18 Thread Andreas Tscharner

On 15.02.2013 16:06, Slide wrote:

There is content token help in both the global config area and project
config area for the email-ext plugin, it shows the syntax for each
token. ${ENV, var=MERCURIAL_REVISION_NUMBER} is most likely what you
are looking for.


That was it, thank you. I thought that 'var=...' would create a new 
environment variable...


Best regards
Andreas
--
Andreas Tscharner sternenfe...@gmail.com
--
Intruder on level one. All Aliens please proceed to level one.
  -- Call in Alien: Resurrection

--
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Mercurial revision in email - HOW?

2013-02-15 Thread Andreas Tscharner

Hello World,

We are using Jenkins with Subversion and email extension plugin. The 
plugin has the variable $SVN_REVISION which works as expected.


Now we are testing Mercurial. All is working except the revision in the 
email. What do I need to write that I get the Mercurial revision? I've tried

$MERCURIAL_REVISION_NUMBER
${MERCURIAL_REVISION_NUMBER}
${ENV, MERCURIAL_REVISION_NUMBER}
${ENV, $MERCURIAL_REVISION_NUMBER}

But none of them worked.

What do I write the get that number?

TIA and best regards
Andreas
--
Andreas Tscharner sternenfe...@gmail.com
--
Intruder on level one. All Aliens please proceed to level one.
  -- Call in Alien: Resurrection

--
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.