[ 
https://issues.jenkins-ci.org/browse/JENKINS-6467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159931#comment-159931
 ] 

Thomas Fields commented on JENKINS-6467:
----------------------------------------

I'd love this feature as well please. I posted a similar issue a while back but 
it's even even been assigned yet never mind fixed - 
https://issues.jenkins-ci.org/browse/JENKINS-9905
                
> Add a new envrironment varibale to get only the job's name in a matrix project
> ------------------------------------------------------------------------------
>
>                 Key: JENKINS-6467
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-6467
>             Project: Jenkins
>          Issue Type: Improvement
>          Components: matrix
>    Affects Versions: current
>            Reporter: rockeye
>
> The env var JOB_NAME, and its description in env-vars.html are confusing.
> In a simple project, the meaning and the description correspond, but in a 
> matrix project, it is more complicated.
> If the main job's name is Foo, using a matrix with 2 parameters bar and baz, 
> then JOB_NAME returns "Foo/bar=x,baz=y". This was the request JENKINS-1047.
> Is it possible to add another env var, like JOB_SHORT_NAME, or to be more 
> coherent, use JOB_NAME to get the real name and JOB_IDENTIFIER for example to 
> get the full description?
> Thanks

--
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