You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
670 B
30 lines
670 B
//file:noinspection ALL
|
|
pipeline {
|
|
agent any
|
|
|
|
environment {
|
|
projectName = 'yvan-ext-mobile'
|
|
}
|
|
|
|
stages {
|
|
stage('#检查环境') {
|
|
steps {
|
|
sh """
|
|
node -v
|
|
npm -v
|
|
yarn -v
|
|
"""
|
|
}
|
|
}
|
|
|
|
stage('#编译项目') {
|
|
steps {
|
|
sh """
|
|
wget -N http://git.yvanui.com/lizhiwei/jztd-deploy/raw/master/00base/02yvan-ext-mobile.sh
|
|
chmod +x 02yvan-ext-mobile.sh
|
|
./02yvan-ext-mobile.sh deploy
|
|
"""
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|