fixfix
Some checks failed
main-branch-frovide/pipeline/head There was a failure building this commit

This commit is contained in:
Insub Kim 2025-06-05 06:23:27 +00:00
parent 8650a5b3af
commit e0efec1fd8

15
Jenkinsfile vendored
View File

@ -1,11 +1,5 @@
pipeline {
agent {
// 빌드 에이전트가 특정 레이블을 가지고 있다면 여기에 지정
// label 'your-jenkins-agent-label'
tools {
nodejs 'nodejs23' // 'NodeJS 18'은 위에서 설정한 Node.js installation의 이름입니다.
}
}
agent any
environment {
// Jenkins Credentials ID (SSH 접속용)
@ -34,14 +28,7 @@ pipeline {
HEALTH_CHECK_TIMEOUT_SECONDS = 30
HEALTH_CHECK_INTERVAL_SECONDS = 5
}
REMOTE_NPM_CACHE_DIR = "/home/kegorii/.npm" // 이 경로는 Jenkins 에이전트가 아닌 배포 서버의 경로이므로 주의
// 이 빌드 단계에서는 Jenkins 에이전트의 로컬 npm 캐시 경로를 사용해야 합니다.
// Jenkins 에이전트의 npm cache가 필요하다면, Jenkins 에이전트의 경로를 지정해야 합니다.
// 또는 npm install --prefix . --cache 옵션을 생략하고 Jenkins 에이전트가 기본 캐시를 사용하게 할 수도 있습니다.
// 일단은 `npm install` 만 시도해보고, 캐시 문제가 발생하면 다시 고려하는 것이 좋습니다.
stages {
stage('Checkout Source Code') {
steps {