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, 2020 in Jenkins by akhtar
• 38,170 points
583 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, 2020 by MD
• 95,060 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
• 58,990 points
983 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
443 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,530 points
1,244 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
9,719 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
943 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,060 points
275 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, 2020 in Jenkins by MD
• 95,060 points
10,001 views