1 changed files with 28 additions and 0 deletions
@ -0,0 +1,28 @@ |
|||
//file:noinspection ALL |
|||
pipeline { |
|||
agent any |
|||
|
|||
environment { |
|||
projectName = 'xxl-job' |
|||
} |
|||
|
|||
stages { |
|||
stage('#检查环境') { |
|||
steps { |
|||
sh """ |
|||
java -version |
|||
""" |
|||
} |
|||
} |
|||
|
|||
stage('#编译项目') { |
|||
steps { |
|||
sh """ |
|||
wget -N http://git.yvanui.com/lizhiwei/jztd-deploy/raw/master/00base/03xxljob.sh |
|||
chmod +x 03xxljob |
|||
./03xxljob deploy |
|||
""" |
|||
} |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue