[JIRA] (JENKINS-54998) Stash and archive should refuse symlinks

4 views
Skip to first unread message

jglick@cloudbees.com (JIRA)

unread,
Apr 17, 2019, 3:21:02 PM4/17/19
to jenkinsc...@googlegroups.com
Jesse Glick updated an issue
 
Jenkins / Bug JENKINS-54998
Stash and archive should refuse symlinks
Change By: Jesse Glick
Summary: Stash and archive should resolve refuse symlinks
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

oesolutions@gmail.com (JIRA)

unread,
Oct 24, 2019, 5:49:02 PM10/24/19
to jenkinsc...@googlegroups.com
Chris Dore commented on Bug JENKINS-54998
 
Re: Stash and archive should refuse symlinks

Jesse Glick why should a symlink be an error?

Since symlinks are not preserved, we abandoned using stash and instead we are now allocating a node for the entire pipeline, even when that node could be released back to the pool during certain stages. I would love to revisit our workaround and improve node utilization, having stash handle symlinks would make this very easy. Are there other alternative ideas to allow a pipeline to save state containing symlinks across stages on different nodes/workspaces?

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

jglick@cloudbees.com (JIRA)

unread,
Oct 25, 2019, 8:54:02 AM10/25/19
to jenkinsc...@googlegroups.com

Use tar and decide in your script which options to pass to get the desired behavior: preserving symlinks, preserving other special files, preserving owner, preserving mode, etc.

Reply all
Reply to author
Forward
0 new messages