I'd like to create a simple "hello, world" Gitlab CI script. I already got the Docker runner working and I'm experimenting with something like this:
image: debian:sid
test:first:
script:
- true
Unfortunately, the build fails with the error: test:first job: script should be a string or an array of a strings
What am I doing wrong?
After a bit of experimenting, I found the root cause and reported it as a bug. Apparently "true" was evaluated as a boolean here. Adding path to true
executable helped solve the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With