浏览代码

fix: update Jenkinsfile

sh 1 年之前
父节点
当前提交
7954acf74a
共有 1 个文件被更改,包括 19 次插入0 次删除
  1. 19 0
      ci/jenkins/Jenkinsfile

+ 19 - 0
ci/jenkins/Jenkinsfile

@@ -0,0 +1,19 @@
+def gitTag = null
+pipeline {
+    agent any
+
+    stages {
+         stage('Install') {
+            steps {
+                sh 'node -v'
+                sh 'pnpm install'
+            }
+         }
+
+         stage('Build & Deploy') {
+            steps {
+                sh 'pnpm run build:weapp -- --upload'
+            }
+         }
+    }
+}