From 2b98f56240a9efc20500e9c310062cd31bb31ac9 Mon Sep 17 00:00:00 2001 From: Araozu Date: Wed, 20 Nov 2024 20:00:58 -0500 Subject: [PATCH] fix: jenkins 2 --- Jenkinsfile | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 13cef87..aed6b7a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' } }