Setting the timezone

1 minute read

Default timezone on CloudBees CodeShip Basic

The default timezone on CloudBees CodeShip’s test VMs is UTC +00:00 or Etc/UTC.

Setting A Custom Timezone

You can set a custom timezone with a specific environment variable, and there are two ways to set this value. You can either use your project’s environment variables UI or you can set it via a custom script in your setup commands

You simply need to set the value TZ to the timezone of your choice. If using your own script, you will run something like:

export TZ='America/New_York'