You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In short, no matter how much I tried digging into the matter, I couldn't come up with any lead on how to achieve this.
In short, I would like Jenkins to maintain log-in sessions for longer - customisable. However, because (as far as I know) the session timeout needs to be passed to the container (Jetty) upon its run (or be written in its config file), which happens way before Jenkins runs, no Configuration-as-Code or Groovy-based approach would help.
I fully understand that this might be a question more for the https://github.com/jenkinsci/jenkins repo, but it does not seem possible to report issues there.
I dug into the Dockerfile code (and corresponding entrypoint script) in aforementioned script, but I didn't seem to take in any env var or something like that for the parameter in question.
So my guess is that the Jenkins docker image would require adjustments - which I don't think I have the time to contribute to - but in case there is some other way I can't immediately see, please let me know.
Thanks.
The text was updated successfully, but these errors were encountered:
Thanks for the heads up. I didn't realise the docker stuff resides in the jenkinsci/docker repo instead of the jenkinsci/jenkins repo, so I missed that part of the documentation.
I employed the solution you pointed to and it seems to be working, at least the sessionTimeout part (haven't fully tested the sessionEviction part, but it's less critical anyways, so I consider this to be ok for now).
Hey,
In short, no matter how much I tried digging into the matter, I couldn't come up with any lead on how to achieve this.
In short, I would like Jenkins to maintain log-in sessions for longer - customisable. However, because (as far as I know) the session timeout needs to be passed to the container (Jetty) upon its run (or be written in its config file), which happens way before Jenkins runs, no Configuration-as-Code or Groovy-based approach would help.
I fully understand that this might be a question more for the https://github.com/jenkinsci/jenkins repo, but it does not seem possible to report issues there.
I dug into the Dockerfile code (and corresponding entrypoint script) in aforementioned script, but I didn't seem to take in any env var or something like that for the parameter in question.
So my guess is that the Jenkins docker image would require adjustments - which I don't think I have the time to contribute to - but in case there is some other way I can't immediately see, please let me know.
Thanks.
The text was updated successfully, but these errors were encountered: