You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I'm trying to filter out any empty env variable inside of my .env file like this
cat .env | grep "=$" but the pipeline doesn't output any, in fact it even giving out error Does anyone know how to fix this?
Welcome to the Bitbucket Cloud community :)
I have copied your commands and ran this against my own repository, I was able to produce the same issue with the error in pipelines but only when there was no empty variables.
When I have tried with the following sample text (similar to yours, when there is some empty), it executed in pipelines without issue:
Are you able to perform the grep commands in a local Docker container and see if you encounter the same issue?
- Ben (Bitbucket Cloud Support)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.