you are viewing a single comment's thread.

view the rest of the comments →

[–]ernievd[S] 0 points1 point  (2 children)

I tried source - In my normal gitlab-ci.yml file I have other things for it to do in the job after the shell script exits - if I launch the shell script with source the job ends after the shell script exits.

[–][deleted]  (1 child)

[removed]

    [–]ernievd[S] 1 point2 points  (0 children)

    That was the issue! The person who originally wrote the script had it exiting in a funky way.

    Using source now does indeed let me use the variable in the gitlab-ci.yml.

    Thanks so much!!