Pipelines is suddenly failing, even with configurations that used to work. I've tried several images, different commands but they all result in the same.
I've reduced my configuration to rule out any other issues to the following:
image: php:7.2-cli pipelines: default: - step: script: - php -v
Which results in:
php -v
bash: php: command not found
It throws the same error on commands like "ls" or "which".
What's going on?
Just as I posted this it struck me that I added a "PATH" env variable..., whoops!
Phew, took me hours to get to this answer
Thanks a lot!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I could not understand the answer guys :/
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.