Increase the Jenkins login timeout

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

    On my Linux distro, this setting can be added to /etc/sysconfig/jenkins

    # Pass arbitrary arguments to Jenkins.
    # Full option list: java -jar jenkins.war --help
    #
    JENKINS_ARGS="--sessionTimeout=480"
    

    Subsequently, restart with

    sudo /etc/init.d/jenkins restart
    

提交回复
热议问题