Hi all, I recently saw someone raise this issue <https://github.com/jenkins-docs/simple-java-maven-app/issues/11> in the GitHub repository that the Build a Java app with Maven <https://jenkins.io/doc/tutorials/build-a-java-app-with-maven/> tutorial uses.
This issue shows the output of the Pipeline run with the typical failures that happen fairly early on: sh: can't create > /var/jenkins_home/workspace/sjma@tmp/durable-cd13b59e/jenkins-log.txt: > nonexistent directory > sh: can't create > /var/jenkins_home/workspace/sjma@tmp/durable-cd13b59e/jenkins-result.txt: > nonexistent directory I even began running though this tutorial myself and encountered the same problem... I would also expect the same problematic output in most of the other tutorials. Essentially, the tutorial asks the reader to do the following: 1. Install Jenkins in Docker (locally on your computer). 2. Fork the sample GitHub repository and clone it locally to your computer. 3. Create your Jenkinsfile within your locally cloned repo on the your computer. 4. Run the declarative Pipeline in Jenkins. Puzzled as to why this might be happening, I found this closed issue <https://github.com/jenkinsci/docker/issues/626> in the jenkinsci/docker GitHub project which seems to shed a bit of light on the problem. However, I wasn't quite sure if the actual problem (be it a change or issue with the Jenkins Docker image or Docker itself) was clearly identified. Since lots of people use these tutorials (i.e. from September/October last year, over 900 people have forked the simple-java-maven-app repository used by this first tutorial), I am keen to identify the cause of this issue (and potentially fix the tutorial content asap so that the tutorials will start working again). Therefore, does anyone here have any suggestions as what might be the cause of this issue and/or how I might amend the tutorials to get them working again. For example, are there additional options I could add to the docker run ... command? Many thanks, Giles. P.S. I am keen to keep using the Jenkins Docker container method for running Jenkins since this is a convenient way to get Jenkins up and running locally. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/841d29f5-2ea5-48a0-bb2b-339a6f11a918%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.