-
How about set up a job running upon repository push at OneDev side, and then have the job itself calling jenkins pipeline via curl?
-
Thanks for the answer. I have tried but got:
Remote shell executor can only execute jobs on agents running directly on bare metal/virtual machineIs it possible with Server Shell Executor? I do not have available Server Shell Executor to check it. How can I create Server Shell Executor?
-
You may create a remote docker executor instead of remote shell executor. If you want to run jobs on server, create a server docker executor instead.
-
You may create a remote docker executor
I have the remote docker executor and try it but had the same error with default or custom-linux-shell
Interpreter. Do I have to useRun in containeroption? -
Yes, the docker executor can only run commands inside container. If you want to run commands directly on host machine instead of container, you will need to run OneDev server or agent directly on host machine (the bare metal / virtual machine installation approach).
-
Previous Value Current Value Open
Closed
-
Thanks!
| Type |
Question
|
| Priority |
Normal
|
| Assignee | |
| Labels |
No labels
|
Hello! @robin thank you for the great job!
Can you tell me what is the best way to setup some trigger on repository push action to trigger jenkins pipeline
Thanks!