node{
stage('checkout'){
checkout scm
sh 'git clean -xdf'
sh 'git reset --hard'
}
stage('mac') {
parallel (
'mac': {
echo '並列処理1'
node('mac'){
def dir = new File("/test/workspace/")
deleteDir(dir)
}
},
'linux': {
echo '並列処理2'
node('linux'){
def dir = new File("/test/home/workspace/")
deleteDir(dir)
}
},
'win': {
echo '並列処理3'
//win 下面的删除方法不可用
node('win'){
def dir = new F