Hi Gregory, what kind of Jenkinsfile do you use? Scripted or declarative? In scripted, you would enclose your sh in a
> node('linux_label') { > sh "your shell script" > } , on declarative, use stage ("Run on Linux only") { agent { label "linux_label" } steps { script { sh "you shell script" } } with agent('linux_label'). Linux label would be a label you attached to the Linux slave/node -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e81a95b4-d8a4-4fa0-931a-f314e9616796%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.