Run shell command in jenkins as root user?

后端 未结 5 633
梦毁少年i
梦毁少年i 2020-12-08 01:42

I have recently started using Jenkins for integration. All was well until I was running jobs on master node without shell command but I have to run jobs on master as well as

5条回答
  •  佛祖请我去吃肉
    2020-12-08 01:48

    Another option is to set up a jenkins "Slave" that is actually running as root on the master and restrict it to tied jobs, then point your job at that slave. Far from ideal but certainly a quick solution.

提交回复
热议问题