[JIRA] [workflow-plugin] (JENKINS-31838) Virtual thread dump uses phony filenames

2 views
Skip to first unread message

jglick@cloudbees.com (JIRA)

unread,
Dec 1, 2015, 5:42:02 PM12/1/15
to jenkinsc...@googlegroups.com
Jesse Glick created an issue
 
Jenkins / Bug JENKINS-31838
Virtual thread dump uses phony filenames
Issue Type: Bug Bug
Assignee: Kohsuke Kawaguchi
Components: workflow-plugin
Created: 01/Dec/15 10:41 PM
Priority: Minor Minor
Reporter: Jesse Glick

Discussion

Currently thread dumps show WorkflowScript.groovy even when you are using Jenkinsfile (or some other CpsScmScriptDefinition filename), and Script1 etc. even when you used load to load a named file. This makes the thread dump confusing for a user, since the line numbers are correct but the filenames are meaningless.

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

scm_issue_link@java.net (JIRA)

unread,
Feb 24, 2016, 1:47:02 PM2/24/16
to jenkinsc...@googlegroups.com
SCM/JIRA link daemon commented on Bug JENKINS-31838
 
Re: Virtual thread dump uses phony filenames

Code changed in jenkins
User: Jesse Glick
Path:
cps/src/main/java/org/jenkinsci/plugins/workflow/cps/rerun/RerunAction.java
http://jenkins-ci.org/commit/workflow-plugin/0b1b639e1b14feb1d488e18814487af33be2aec0
Log:
Noting JENKINS-31838.

jglick@cloudbees.com (JIRA)

unread,
Mar 9, 2016, 2:45:01 PM3/9/16
to jenkinsc...@googlegroups.com

Even more desirable for

JENKINS-32727 : we would like to refer to Jenkinsfile and servers.groovy, not Main script and Script1.

scm_issue_link@java.net (JIRA)

unread,
Apr 5, 2016, 4:33:16 PM4/5/16
to jenkinsc...@googlegroups.com

Code changed in jenkins


User: Jesse Glick
Path:
cps/src/main/java/org/jenkinsci/plugins/workflow/cps/rerun/RerunAction.java

http://jenkins-ci.org/commit/workflow-cps-plugin/5cb03cabae608e761c6dd9f97cea29ae69b51427
Log:
Noting JENKINS-31838.
Originally-Committed-As: 0b1b639e1b14feb1d488e18814487af33be2aec0

jglick@cloudbees.com (JIRA)

unread,
Aug 29, 2016, 2:58:01 PM8/29/16
to jenkinsc...@googlegroups.com
Jesse Glick updated an issue
 
Change By: Jesse Glick
Component/s: workflow-cps-plugin
Component/s: pipeline
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

jglick@cloudbees.com (JIRA)

unread,
Apr 25, 2019, 12:03:03 PM4/25/19
to jenkinsc...@googlegroups.com
Jesse Glick commented on Bug JENKINS-31838
 
Re: Virtual thread dump uses phony filenames

As per JENKINS-57085, any file name chosen must be without path.

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

dnusbaum@cloudbees.com (JIRA)

unread,
Jul 5, 2019, 1:08:02 PM7/5/19
to jenkinsc...@googlegroups.com

Noting that there are some cases where when someone extends CpsScript you can end up with a stack trace like the following:

at MyScript.<clinit>(WorkflowScript:3)

See this comment thread for context.

Reply all
Reply to author
Forward
0 new messages