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 24 in Jenkins by akhtar
• 32,960 points
91 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 24 by MD
• 77,580 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 in Jenkins by Sirajul
• 58,210 points
685 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,620 points
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,100 points
1,079 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
8,514 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
803 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 in Jenkins by MD
• 77,580 points
155 views
0 votes
1 answer

How to change the default Jenkins port in Windows?

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

answered Jun 3 in Jenkins by MD
• 77,580 points
6,502 views