echo "hello"
node{ def RESULT stage('test'){ RESULT = sh ( script: "./result.sh", returnStdout: true ) } stage('check'){ echo "${RESULT}" } }
hello
echo "hello" echo "world"
hello world
Register as a new user and use Qiita more conveniently