-
Bug
-
Resolution: Unresolved
-
Minor
-
None
We're using stash & unstash to pass a checked out git repository between steps in our workflow.
On first run the unstash works successfully, however on a second run the unstash fails because some of the files in the `.git` directory are read-only.
I've attached the stack trace, it's a bit misleading, we've fixed it by running a `sh 'chmod -R u+w .git'` before the unstash step.
[JENKINS-33126] unstash fails to overwrite read-only files
Workflow | Original: JNJira [ 168995 ] | New: JNJira + In-Review [ 183314 ] |
Component/s | New: pipeline-general [ 21692 ] |
Component/s | Original: workflow-plugin [ 18820 ] |
Component/s | New: workflow-api-plugin [ 21711 ] | |
Component/s | Original: pipeline [ 21692 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: Open [ 1 ] |