Replies: 2 comments
-
This is a question for the Gitlab CI/CD forum. Unless you can prove that this example works as you expect on gitlab.com. Plus you example is pretty broken...
This is probably what you mean Here's what it looks like on gitlab.com, and it is exactly the same behavior exhibited by gitlab-ci-local |
Beta Was this translation helpful? Give feedback.
-
You could use the
|
Beta Was this translation helpful? Give feedback.
-
Hi,
When I am running CI jobs using this tool, how do i configure to run jobs as different user. for example, below is my job:
my_new_job:
stage: code_check
image: ubuntu:latest
script:
- su - ubuntu
- echo
whoami
needs: []
Above job prints 'root' despite of switch user command.
Beta Was this translation helpful? Give feedback.
All reactions