How to increase the Jenkins login page timeout time

0 votes

Hi Guys,

I have a Jenkins server. It is automatically Logout after some time. I want to increase the timeout time. How can I do that?

Oct 25, 2020 in Jenkins by akhtar
• 38,260 points
8,057 views

1 answer to this question.

0 votes

Hi@akhtar,

You can change the timeout time in Jenkins. For that you need to override the timeout by passing an argument --sessionTimeout=<minutes> to the Jenkins init script, or -DsessionTimeout=<minutes> to the .war file as shown below.

# Set the session timeout to 1 week
$ java -jar jenkins.war --sessionTimeout=10080
answered Oct 25, 2020 by MD
• 95,460 points

Related Questions In Jenkins

0 votes
1 answer

In Jenkins, actual build period time 30 mins. How to reduce the time 20 min??

If you are looking for allocating build ...READ MORE

answered Feb 11, 2020 in Jenkins by Sirajul
• 59,230 points
3,870 views
0 votes
1 answer

How do I pass value from my Fake # script to the host build server (Jenkins)

You can use the EnvInject plugin to pass environment ...READ MORE

answered Jul 11, 2018 in Jenkins by Kalgi
• 2,680 points
1,384 views
0 votes
1 answer

I’m facing a login error when I try to run Jenkins on Docker. How do I solve this?

You have to open the /var/log/jenkins/jenkins.log file to ...READ MORE

answered Jul 24, 2018 in Jenkins by Sophie may
• 10,620 points
3,593 views
0 votes
3 answers

How to get the Maven Version of a project in Jenkins?

Here is a snippet from our Jenkins ...READ MORE

answered Oct 4, 2019 in Jenkins by Petr Doležal
23,264 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,055 views
+2 votes
1 answer
0 votes
1 answer

How to increase no of executors in Jenkins?

Hi@akhtar, By default Jenkins has 2 executors. But ...READ MORE

answered May 13, 2020 in Jenkins by MD
• 95,460 points
20,694 views
0 votes
2 answers

How to change the default Jenkins port in Windows?

Hi@akhtar, Yes, you can change Jenkins port no. ...READ MORE

answered Jun 3, 2020 in Jenkins by MD
• 95,460 points
29,426 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