Ronan Jouchet created JENKINS-13347:
---------------------------------------

             Summary: Using ${SVN_REVISION} in build-name-setter Build Name 
returns error: Unrecognized macro 'SVN_REVISION'
                 Key: JENKINS-13347
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13347
             Project: Jenkins
          Issue Type: Bug
          Components: build-name-setter
         Environment: Windows 2008 R2 SP1
Java 1.6.0_31 x64
Tomcat 6.0.35
Jenkins 1.458
SVN
            Reporter: Ronan Jouchet
            Assignee: Kohsuke Kawaguchi


My Jenkins instance/project are working just fine and builds work as expected.
Now I try to use the "build-name-setter" plugin. My goal is to have build names 
like "svn123build9879".

I installed the plugin via the plugin manager, and set the new "Build Name" 
field to "svn${SVN_REVISION}build${BUILD_NUMBER}" (without quotes). It looks 
like the expected syntax, and I can see ${SVN_REVISION} in my env-vars.html
However, this leads to the following error in the console log:
Unrecognized macro 'SVN_REVISION' in 'svn${SVN_REVISION}build${BUILD_NUMBER}'

I'm available for more info. I searched for similar bugs, sorry if that's not a 
but but just a misconfiguration, please point me to what you think might be 
wrong.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to