Comments (6)
Hrm good question - /var/lib/jenkins must be being set by the packaged version of jenkins - totally didn't see that.
We could also use /var/lib/jenkins for storage and not set it up - update docs etc? (would that upset people?). I wanted to make it convenient to override the path - but if the convention is to use var lib- so be it?
The jenkins user is currently setup by the LTS packaging (which has other issues - ie you can't just update to a minor point release that way - you would have to install the deb explicitly...) - could the HOME be set after anyway?
Don't mess with plugin - what would you prefer? Send me a suggested dockerfile that works for you!
from docker.
SOmething like:
usermod -m -d /var_jenkins_home jenkins
run as root - does that help? (sorry not able to test right now)
from docker.
hrm... I am confused. Setting the jenkins_home should be completely normal -no need for it to be related to the user home.
Can you tell me what is wrong with the credentials plugin?
from docker.
Hey! Thanks for answering.
I'm going to try with the usermod -m -d /var/jenkins_home jenkins
And about the credentials plugin it was another option. I'm going to try!
Thank you!
from docker.
Great news, the usermod instruction really helps! ❤️
from docker.
OK will take discussion to the PR. Thanks!
from docker.
Related Issues (20)
- latest with jdk17 & almalinux HOT 2
- Update Docker Hub description with JDK17 images instead of JDK11 HOT 2
- Set JDK17 as the default JDK for Windows image
- Publish a Windows image for each supported Java version HOT 2
- `windowsservercore-2019` images use `windowsservercore-1809` as base image HOT 2
- Windows - There should be a set of weekly and LTS short tags not including Jenkins version in their names HOT 4
- After Jenkins docks with ldap, the first login the next day will display a password error. The second login will be successful, and submitting the pipeline using Jenkins' API will fail. Jenkins logs indicate that the connection to ldap has timed out
- JenkinsProject
- `jenkins-plugin-cli` reports `War not found, installing all plugins: /usr/share/java/jenkins.war` HOT 5
- CVE-2024-23897 still exists in latest LTS version jenkins/jenkins:2.440.1-lts-jdk11 HOT 2
- The repository 'https://packagecloud.io/github/git-lfs/debian bookworm InRelease' is not signed. HOT 1
- CVE-2024-22201 still appears in jenkins/jenkins:2.444-jdk11 image HOT 2
- pipeline-input-step:2.8 Test cases run failed (Server Issue) HOT 10
- Add ARM64 Support for Alpine JDK 11 and 17 - Inbound Agent HOT 8
- docker start container failed HOT 2
- Djenkins.install.runSetupWizard=false is not working as expected HOT 5
- versionLT in jenkins-support doesn't treat newer version of workflow-cps as newer HOT 2
- Remove Java 11 images on weekly release line HOT 9
- Remove Almalinux image or upgrade it to Java 17 HOT 4
- No plugins installed HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker.