fix: jenkins 2
This commit is contained in:
parent
aa470d63a8
commit
2b98f56240
22
Jenkinsfile
vendored
22
Jenkinsfile
vendored
@ -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'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user