What shell does Jenkins use?

后端 未结 5 1977
失恋的感觉
失恋的感觉 2020-12-09 07:05

What shell is used in Jenkins when calling the shell command? I\'m running Jenkins on a Linux machine.

5条回答
  •  [愿得一人]
    2020-12-09 08:00

    Simply declare your shell on the first line of your script as you do in any shell script file:

    #!/bin/bash
    

提交回复
热议问题