fix: jenkins 2

This commit is contained in:
Araozu 2024-11-20 20:00:58 -05:00
parent aa470d63a8
commit 2b98f56240

22
Jenkinsfile vendored
View File

@ -2,7 +2,7 @@ pipeline {
agent any
stages {
stage('Install pnpm') {
stage('Build') {
agent {
docker {
image 'node:22'
@ -11,27 +11,7 @@ pipeline {
}
steps {
sh 'npm i -g pnpm'
}
}
stage('Install dependencies') {
agent {
docker {
image 'node:22'
reuseNode true
}
}
steps {
sh 'pnpm i'
}
}
stage('Buid') {
agent {
docker {
image 'node:22'
reuseNode true
}
}
steps {
sh 'THP_BINARY=/var/bin/thp pnpm build'
}
}