Update Jenkinsfile.groovy

This commit is contained in:
fernando 2024-10-05 00:35:03 +00:00
parent 5621a2aca2
commit 9bd1aeb1a5

View File

@ -5,11 +5,6 @@ pipeline {
} }
} }
stages { stages {
stage('Clone Repository') {
steps {
git url: 'http://gitea:3333/fernando/thp-web.git', branch: 'master'
}
}
stage('Install pnpm') { stage('Install pnpm') {
steps { steps {
sh 'npm i -g pnpm' sh 'npm i -g pnpm'
@ -22,7 +17,7 @@ pipeline {
} }
stage('Buid') { stage('Buid') {
steps { steps {
sh 'npm build' sh 'pnpm build'
} }
} }
} }