Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-58705

Change default working dir to /home/jenkins/agent

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The current default /home/jenkins causes some issues in some scenarios:

      When building a docker image with kaniko that is actually a jnlp agent image, since the specified workingDir is mounted as a volume in all containers in the pod, and it is also the home directory for the jenkins user, it prevents adding any file to /home/jenkins in the docker image.

      Changing the default working directory to /home/jenkins/agent should not have any downside except for users hardcoding stuff to it, while allowing this kind of scenarios in an easier way.

        Attachments

          Issue Links

            Activity

            vlatombe Vincent Latombe created issue -
            vlatombe Vincent Latombe made changes -
            Field Original Value New Value
            Assignee Carlos Sanchez [ csanchez ] Vincent Latombe [ vlatombe ]
            vlatombe Vincent Latombe made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            vlatombe Vincent Latombe made changes -
            Remote Link This issue links to "PR #559 (Web Link)" [ 23307 ]
            vlatombe Vincent Latombe made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            vlatombe Vincent Latombe made changes -
            Issue Type Improvement [ 4 ] Bug [ 1 ]
            vlatombe Vincent Latombe made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Fixed but Unreleased [ 10203 ]
            seckler Steffen Seckler made changes -
            Status Fixed but Unreleased [ 10203 ] Resolved [ 5 ]
            seckler Steffen Seckler made changes -
            Link This issue causes JENKINS-58766 [ JENKINS-58766 ]
            allan_burdajewicz Allan BURDAJEWICZ made changes -
            Link This issue causes JENKINS-60977 [ JENKINS-60977 ]

              People

              Assignee:
              vlatombe Vincent Latombe
              Reporter:
              vlatombe Vincent Latombe
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: