Created
November 9, 2021 15:30
-
-
Save cvakiitho/956c69ff83e3b034f552d9e9b9db9128 to your computer and use it in GitHub Desktop.
jenkins run sh via script console
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
println new ProcessBuilder( 'sh', '-c', 'date').redirectErrorStream(true).start().text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment