Is there a way to change the default timezone of the pipeline environment ? I have a bunch of complex unit tests which are tied into a GMT/BST locale and I don't want to have to put conditional logic in to switch assertions based on environment. Ideally there'd be a pipeline config switch to override the basic UTC timezone?
The pipelines build environment relies on the Docker Image that you're using. Hence, you'd either need to modify the docker image that are using or configure bitbucket-pipelines.yml to run a command to change the timezone
There's an example on how to change the timezone on Pipelines
Bitbucket-pipelines.yml, you can see it at
You can also see the output of the Pipelines build at
Hope this helps :)
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs