# Updating Jenkins

If the Jenkins configuration becomes out of date, run either of
the scripts in this directory.  The two scripts behave identically.
One is for Windows (`update-jenkins.cmd`) and the other is for POSIX
(`update-jenkins`).  Each takes a single argument, the cookie passed to
the Jenkins server by the browser.  See [this
page](https://blog.dahanne.net/2016/05/17/how-to-update-a-jenkins-job-posting-config-xml/#Security_based_on_cookies_no_user_password)
for how to get the cookie.

The Jenkins configuration can become out of date if Jenkins is reset
and uses the `jenkins.groovy` file, which is out of date.
