How can I execute Shell script in Jenkinsfile?

后端 未结 4 717
别那么骄傲
别那么骄傲 2020-12-14 15:35

I am keeping a shell script file named urltest.sh in /var/lib/jenkins and executing the file from jenkins build.

When I execu

4条回答
  •  一向
    一向 (楼主)
    2020-12-14 16:14

    There's the Managed Script Plugin which provides an easy way of managing user scripts. It also adds a build step action which allows you to select which user script to execute.

提交回复
热议问题