Jenkins etc default jenkins not update safe

0 votes
I’ve installed Jenkins using the command

apt-get install Jenkins

Then I made a few changes to /etc/default/Jenkins to change the Jenkins system user.

And now I figured that this file becomes reverted with every update using apt-get update.

I’ve also changed the owners of a few files In Jenkins installation, even these are getting reverted with every update.

What do I do?
Aug 9, 2018 in Jenkins by lina
• 8,220 points
1,753 views

2 answers to this question.

0 votes
Alright, you can download the source package that apt-get uses and modify the users, permissions etc to suit your local use. Rebuild the package and either install it from cli with dpkg -i or make your own repository for local use.
answered Aug 9, 2018 by Kalgi
• 52,350 points
0 votes
Use a tool like puppet to manage the package install and then apply the changes required locally afterwards
answered Aug 9, 2018 by Nilesh
• 7,060 points

Related Questions In Jenkins

0 votes
1 answer

Jenkins not running as expected after changing the default port

If your Jenkins is running on Ubuntu Virtual ...READ MORE

answered Dec 19, 2018 in Jenkins by Charlie
4,053 views
0 votes
1 answer

gulp serve & not working in jenkins

Try using nohup. It will creates nohup.out ...READ MORE

answered May 11, 2018 in Jenkins by DareDev
• 6,890 points
1,316 views
0 votes
5 answers
0 votes
1 answer

Jenkins console output not in realtime

Make sure your script is flushing it ...READ MORE

answered Aug 7, 2018 in Jenkins by Nilesh
• 7,060 points
5,657 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,038 views
+2 votes
1 answer
0 votes
2 answers

Subversion (SVNKIT) not working in Jenkins

Jenkins doesn't use the installed Subversion command ...READ MORE

answered Aug 8, 2018 in Jenkins by Kalgi
• 52,350 points
2,412 views
0 votes
5 answers

What is the default Jenkins password?

Change the shell to /bin/bash instead of bin/false ...READ MORE

answered Apr 23, 2019 in Jenkins by Vinod
45,603 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP