[JIRA] (JENKINS-57906) Expand variables in 'Obtained Jenkinsfile from' line in console output

0 views
Skip to first unread message

kwirth@perforce.com (JIRA)

unread,
Jun 7, 2019, 4:30:02 AM6/7/19
to jenkinsc...@googlegroups.com
Karl Wirth created an issue
 
Jenkins / Improvement JENKINS-57906
Expand variables in 'Obtained Jenkinsfile from' line in console output
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: p4-plugin
Created: 2019-06-07 08:29
Environment: p4-plugin 1.10.0
Priority: Minor Minor
Reporter: Karl Wirth

Here it is, this is the very beginning of the console log: 

Started by user ******
Obtained Jenkinsfile from p4-Perforce-${P4_DEPOT}/${P4_STREAM}

 Expected:

Started by user ******
Obtained Jenkinsfile from p4-Perforce-MyReplacedDepotName/MyReplacedStream

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

kwirth@perforce.com (JIRA)

unread,
Jun 7, 2019, 4:35:02 AM6/7/19
to jenkinsc...@googlegroups.com
Karl Wirth commented on Improvement JENKINS-57906
 
Re: Expand variables in 'Obtained Jenkinsfile from' line in console output

Have discussed this with Paul and it's part of the variable scope problem.  There are a lot of variables that we have to jump through hoops to get at different times during the jobs. May not be possible to expand these variables for this message until something changes on the Jenkins side or we redesign how we connect to Jenkins.

My 5c - Yes it would be good if we can expand these variables but the message is useful for debugging so I would prefer to keep the 'Obtained Jenkinsfile from' at this position in the code even if we are not able to expand variables at this point.

kwirth@perforce.com (JIRA)

unread,
Jun 7, 2019, 4:37:02 AM6/7/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages