Based on [1] it seems it should be possible to write a job script like
this:
~~~
job_stuff:
script:
- >-
my-command
foo
bar
~~~
But gitlab-ci complains:
job_stuff job: script should be a string or an array of a strings
I did quick search in the issue tracker at [2] but found no mention of
it, so have I missed something in YAML, or is this such an obscure bug
that no one has found it before?
/M
[1]:
http://stackoverflow.com/questions/3790454/in-yaml-how-do-i-break-a-string-over-multiple-lines
[2]: https://gitlab.com/gitlab-org/gitlab-ce/issues
--
Magnus Therning, [email protected]
Cipherstone Technologies AB
Theres Svenssons gata 10, 417 55 Gothenburg, Sweden
Hard work may not kill me, but why take the chance.
--
You received this message because you are subscribed to the Google Groups
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/gitlabhq/20151028132008.GA11599%40sobel.cipherstone.com.
For more options, visit https://groups.google.com/d/optout.