Hi
Is there any way we can pass a file or easier method to set multiple variables at once under repository variables. We want to set more than 50 variables across multiple projects and deployments in each. This becomes a very tedious task to do copy paste all day.
Please help if there is any easier approach.
Thanks
Assuming that the values for those variables are all the same for all the projects, you can define variables on the Team level and then you can use them on all repositories that belong to that team - see this article for more information.
Still, there should any other way to pass variables through a file. Copying the same variables to many places is something that can be avoided.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not sure what do you mean by "copying the same variables to many places".
Each Pipeline has its own definition stored in bitbucket-pipelines.yml in the repository.
You can define variables on the repository level or on the team(account) level if they are the same - that way you only add the variable once and you can use it in all repositories belonging to that team.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.