123456789101112131415161718192021222324252627282930 |
- //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
- """
- }
- }
- }
- }
|