Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timezone for cron config #9

Open
jsaulalonso opened this issue Jun 25, 2018 · 6 comments
Open

Timezone for cron config #9

jsaulalonso opened this issue Jun 25, 2018 · 6 comments

Comments

@jsaulalonso
Copy link

jsaulalonso commented Jun 25, 2018

If I try to set timezone in cron config (as non-parametrized cron config):
TZ=Europe/Madrid
34 13 * * * % VAR=value
I get a java exception trying to apply job config.
How could I set timezone ¡? (Difference between my timezone and default one (UTC) is variable)

@jwmach1
Copy link
Owner

jwmach1 commented Jul 7, 2018

Variable difference in timezone? ouch. Try out the more up-to-date fork: https://github.com/jenkinsci/parameterized-scheduler-plugin

@chefren
Copy link

chefren commented Aug 3, 2018

I recently installed the jenkins plugin and if I try such a setting, it fails
eg: "TZ=UTC"

Error: Invalid input: "TZ=UTC": line 1:1: unexpected char: 'T'

@chefren
Copy link

chefren commented Aug 3, 2018

Can you confirm if the time in the settings will always be UTC, or will it be local to the jenkins Master?

@mojavelinux
Copy link

I have the same question. Short of adding support for TZ, could you confirm how this job decides which timezone to base the schedule on?

@serafeimgr
Copy link

serafeimgr commented Mar 30, 2021

Any update on this?

Edit:

Check here:

jenkinsci#47

@smartin-qb
Copy link

update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants