Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- before_script:
- - useradd -U -d "$CI_PROJECT_DIR" newuser
- test-app:
- stage: test
- image: open-jdk
- script:
- - echo $MY_CI_VAR #here I can see the env var set in GitLab CI
- - su newuser -l -c "grails test-app -unit FooHelper" #in the code it is not available
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement