Increase the Jenkins login timeout

后端 未结 8 831
死守一世寂寞
死守一世寂寞 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.

提交回复
热议问题