Skip to content

Create Jenkins workspace folder#12

Closed
sboschman wants to merge 1 commit intoalpinefrom
unknown repository
Closed

Create Jenkins workspace folder#12
sboschman wants to merge 1 commit intoalpinefrom
unknown repository

Conversation

@sboschman
Copy link
Copy Markdown

Only way I have been able to mount a Docker volume (docker volume create jenkins-workspace) from the host as workspace directory with the right permissions. Without an existing workspace directory owned by the Jenkins user Docker mounts the workspace directory as root and hence the Jenkins users lacks permissions to use the workspace directory.

@oleg-nenashev
Copy link
Copy Markdown
Member

I think this change should be delivered along with enabling Remoting workspaces by default in Docker agents, see JENKINS-39370 and JENKINS-44114. It adds way more justification to it though likely it has to be a new docker since logs on the disk are not always required in Docker.

@oleg-nenashev
Copy link
Copy Markdown
Member

@sboschman IMHO it is superseded by #13, WDYT?
The only difference is that directory creates /home/jenkins/agent, so not sure it 100% fits your use-case

@oleg-nenashev
Copy link
Copy Markdown
Member

Closing in favor #13. Please reopen if it is not enough

lemeurherve pushed a commit to lemeurherve/docker-agent that referenced this pull request Nov 27, 2023
…nsci#12)

* Update remoting to 2.62

* Disable JnlpProtocol3 by default, allow to reenable it
lemeurherve pushed a commit to lemeurherve/docker-agent that referenced this pull request Nov 27, 2023
…nsci#12)

* Update remoting to 2.62

* Disable JnlpProtocol3 by default, allow to reenable it
lemeurherve pushed a commit to lemeurherve/docker-agent that referenced this pull request Nov 28, 2023
jenkinsci#12)

* Update remoting to 2.62

* Disable JnlpProtocol3 by default, allow to reenable it
lemeurherve pushed a commit to lemeurherve/docker-agent that referenced this pull request Nov 28, 2023
jenkinsci#12)

* Update remoting to 2.62

* Disable JnlpProtocol3 by default, allow to reenable it
lemeurherve pushed a commit to lemeurherve/docker-agent that referenced this pull request Nov 28, 2023
jenkinsci#12)

* Update remoting to 2.62

* Disable JnlpProtocol3 by default, allow to reenable it
lemeurherve pushed a commit to lemeurherve/docker-agent that referenced this pull request Nov 28, 2023
jenkinsci#12)

* Update remoting to 2.62

* Disable JnlpProtocol3 by default, allow to reenable it
lemeurherve pushed a commit to lemeurherve/docker-agent that referenced this pull request Jan 11, 2024
…nsci#12)

* Update remoting to 2.62

* Disable JnlpProtocol3 by default, allow to reenable it
lemeurherve pushed a commit to lemeurherve/docker-agent that referenced this pull request Jan 12, 2024
…nsci#12)

* Update remoting to 2.62

* Disable JnlpProtocol3 by default, allow to reenable it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants