Daylight saving time at Jenkins

Asked

Viewed 405 times

4

I have an instance of Jenkins running on a Windows Server 2016 and this server is on time.

I have some Jobs set up to run with specific time, but they are running a one hour early, as if with daylight saving time yet.

In Jenkins' settings I have the following:

user.timezone:America/Sao_Paulo

Someone had the same problem and managed to solve?

2 answers

4


2

Guys, in my case, the above solution didn’t work, I couldn’t use Tzupdate (I don’t know why, probably limiting the company’s proxy), but I was able to find another solution so that it can be tried too.

Just update the machine’s java and uninstall the old versions. When I performed this process I was able to fix the wrong time problem on my Jenkins.

  • It is also possible to download Tzupdater outside of your proxy, place it on some server (IIS for example) and indicate it path in the -l parameter.

  • @Brunowarmling Even downloading from the outside and trying to pass the parameter on my machine was not being able to update, I tried in every way but without success

  • But why it didn’t work?

  • He could not perform the Tzupdate update, possibly because my user did not have ADM permission from the machine... Already the Java installation was done via Portal so it was possible to update.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.