Advertisement
Guest User

Untitled

a guest
Jul 24th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. before_script:
  2. - useradd -U -d "$CI_PROJECT_DIR" newuser
  3.  
  4. test-app:
  5. stage: test
  6. image: open-jdk
  7. script:
  8. - echo $MY_CI_VAR #here I can see the env var set in GitLab CI
  9. - 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