Increase the Jenkins login timeout

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

    it also seems possible to set it using groovy console:

    import org.kohsuke.stapler.Stapler;
    Stapler.getCurrentRequest().getSession().setMaxInactiveInterval(TIME_IN_SECONDS)
    

    But I guess it will only be available for current session

提交回复
热议问题