[JIRA] [core] (JENKINS-25164) Provide a short $JOB_NAME inside a folder

2016-06-09 Thread sverre....@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Sverre Moe commented on  JENKINS-25164 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Provide a short $JOB_NAME inside a folder  
 
 
 
 
 
 
 
 
 
 
Not sure if it is intentional With Jenkins pipeline the JOB_BASE_NAME is same as BRANCH_NAME instead of the actual project name. BRANCH_NAME=master JOB_NAME=projectA/master JOB_BASE_NAME=master 
The value for JOB_BASE_NAME should be in this case projectA. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-25164) Provide a short $JOB_NAME inside a folder

2016-06-06 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Oleg Nenashev closed an issue as Fixed 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-25164 
 
 
 
  Provide a short $JOB_NAME inside a folder  
 
 
 
 
 
 
 
 
 

Change By:
 
 Oleg Nenashev 
 
 
 

Status:
 
 Resolved Closed 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-25164) Provide a short $JOB_NAME inside a folder

2016-06-06 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Oleg Nenashev commented on  JENKINS-25164 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Provide a short $JOB_NAME inside a folder  
 
 
 
 
 
 
 
 
 
 
Released as Jenkins-2.4 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-25164) Provide a short $JOB_NAME inside a folder

2016-05-12 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon resolved as Fixed 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-25164 
 
 
 
  Provide a short $JOB_NAME inside a folder  
 
 
 
 
 
 
 
 
 

Change By:
 
 SCM/JIRA link daemon 
 
 
 

Status:
 
 In Progress Resolved 
 
 
 

Resolution:
 
 Fixed 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-25164) Provide a short $JOB_NAME inside a folder

2016-05-12 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon commented on  JENKINS-25164 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Provide a short $JOB_NAME inside a folder  
 
 
 
 
 
 
 
 
 
 
Code changed in jenkins User: Felix Belzunce Arcos Path: core/src/main/java/hudson/model/Job.java core/src/main/resources/jenkins/model/CoreEnvironmentContributor/buildEnv.groovy core/src/main/resources/jenkins/model/CoreEnvironmentContributor/buildEnv.properties http://jenkins-ci.org/commit/jenkins/4bab3630efcc2fa331db2989e321d9af1b8cdc1c Log: [FIXED JENKINS-25164] Add JOB_BASE_NAME env var (#2321) 
 



JENKINS-25164
 Add SHORT_JOB_NAME env var
 
 
 

Delete strip off
 
 
 



JENKINS-25164
 Change SHORT_JOB_NAME for LEAF_JOB_NAME
 
 
 



JENKINS-25164
 Change LEAF_JOB_NAME for JOB_BASE_NAME
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
   

[JIRA] [core] (JENKINS-25164) Provide a short $JOB_NAME inside a folder

2016-05-11 Thread jn...@cloudbees.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 James Nord commented on  JENKINS-25164 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Provide a short $JOB_NAME inside a folder  
 
 
 
 
 
 
 
 
 
 
It should be trivial to implement this in a plugin. see buildtagfixer for an approach that fixed the BUILD_TAG environment variable to contain the full job name when folders where first introduced. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-25164) Provide a short $JOB_NAME inside a folder

2016-05-09 Thread fbelz...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Félix Belzunce Arcos updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-25164 
 
 
 
  Provide a short $JOB_NAME inside a folder  
 
 
 
 
 
 
 
 
 

Change By:
 
 Félix Belzunce Arcos 
 
 
 

URL:
 
 https://github.com/jenkinsci/jenkins/pull/2321 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-25164) Provide a short $JOB_NAME inside a folder

2016-05-09 Thread fbelz...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Félix Belzunce Arcos updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-25164 
 
 
 
  Provide a short $JOB_NAME inside a folder  
 
 
 
 
 
 
 
 
 

Change By:
 
 Félix Belzunce Arcos 
 
 
 

Labels:
 
 folders 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-25164) Provide a short $JOB_NAME inside a folder

2016-05-09 Thread fbelz...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Félix Belzunce Arcos updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-25164 
 
 
 
  Provide a short $JOB_NAME inside a folder  
 
 
 
 
 
 
 
 
 

Change By:
 
 Félix Belzunce Arcos 
 
 
 

Component/s:
 
 core 
 
 
 

Component/s:
 
 cloudbees-folder-plugin 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-25164) Provide a short $JOB_NAME inside a folder

2015-06-16 Thread kacynski.w...@aoins.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Walter Kacynski commented on  JENKINS-25164 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Provide a short $JOB_NAME inside a folder  
 
 
 
 
 
 
 
 
 
 
Groovy Script that can be used. This will pull only the last portion of the job name and create a new environment variable. 

 

JOBNAME = build.getEnvironment(null)[JOB_NAME]
def match = JOBNAME =~ /.*\/(.*)/
if (match) { 
	e = new hudson.EnvVars()
	e.put('SHORT_JOB_NAME', match[0][1])
	build.environments.add(hudson.model.Environment.create(e))
}
 

 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-25164) Provide a short $JOB_NAME inside a folder

2014-10-16 Thread kuypers.d...@googlemail.com (JIRA)














































Dirk Kuypers
 updated  JENKINS-25164


Provide a short $JOB_NAME inside a folder
















Thanks Jesse, I changed the component and added the label but I am not able to find the related Issue. Too dumb to search... 





Change By:


Dirk Kuypers
(16/Oct/14 10:01 AM)




Labels:


folders





Component/s:


core





Component/s:


cloudbees-folder



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-25164) Provide a short $JOB_NAME inside a folder

2014-10-16 Thread jgl...@cloudbees.com (JIRA)














































Jesse Glick
 commented on  JENKINS-25164


Provide a short $JOB_NAME inside a folder















Well maybe it was not already filed. Perhaps was just discussed somewhere else.



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.