-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major
-
Component/s: docker-workflow-plugin
-
Environment:Jenkins ver. 2.189
When I update the Pipeline: Nodes and Processes plugin from 2.30 to 2.33 our pipelines stop working with the following error:
Â
OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "chdir to cwd (\"/path/to/workspace/folder") set in config.json failed: no such file or directory": unknown
Â
This happens in the following part of our Jenkinsfile:
Â
stage('Install dependencies') { node('docker') { ansiColor('xterm') { exws(extWorkspace) { composer: { composer.inside("-v ${caches}/npm:/srv/jenkins/.npm:rw") { sh 'npm install' } } } }} }
It works on version 2.30.
Â
Note that I cut out the part where composer dependencies get installed, since it already crashes on npm install.