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