Increase the Jenkins login timeout

后端 未结 8 822
死守一世寂寞
死守一世寂寞 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:07

    For Ubuntu:

    nano /etc/default/jenkins
    

    Append to JENKINS_ARGS at the end of the file:

    JENKINS_ARGS="--webroot=/var/cache/$NAME/war --httpPort=$HTTP_PORT --sessionTimeout=1440 --sessionEviction=43200"
    

提交回复
热议问题