Increase the Jenkins login timeout

后端 未结 8 786
死守一世寂寞
死守一世寂寞 2020-12-07 17:39

Does anyone know how to increase the the timeout window before Jenkins logs out a user? I\'m looking to raise it to 1 day or so.

I work in and out jenkins all day a

相关标签:
8条回答
  • 2020-12-07 18:25

    As of Jenkins version 2.107.2 you'll want to include sessionEviction

    For example to keep people logged in for 24 hours and 12 hours of inactivity:

    --sessionTimeout=1440 --sessionEviction=43200
    

    If you don't specify sessionEviction people who close the tab will get logged out after 30 minutes.

    0 讨论(0)
  • 2020-12-07 18:29

    If Jenkins is running as a Windows service (jenkins.exe), parameters can be edited in jenkins.xml in the installation directory.

    0 讨论(0)
提交回复
热议问题