[👷] Jenkins Test6
Some checks reported errors
Front/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
Front/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
parent
045b1a36d0
commit
dcc84b7a9e
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
|
@ -1,16 +1,11 @@
|
|||
pipeline {
|
||||
agent any
|
||||
|
||||
|
||||
environment {
|
||||
DOCKER_CONTAINER_NAME = 'stein-node'
|
||||
APP_VOLUME_FRONT = '/home/node/front' // 컨테이너 내부 경로
|
||||
NODEJS_VERSION = 'JenStein' // 위에서 설정한 NodeJS 설치 이름
|
||||
}
|
||||
|
||||
tools {
|
||||
nodejs "${NODEJS_VERSION}"
|
||||
}
|
||||
stages {
|
||||
stage('Clone Repository') {
|
||||
steps {
|
||||
|
@ -18,15 +13,6 @@ pipeline {
|
|||
}
|
||||
}
|
||||
|
||||
stage('Build and Test') {
|
||||
steps {
|
||||
dir('front') {
|
||||
sh 'npm install'
|
||||
sh 'npm test'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
script {
|
||||
|
|
Loading…
Reference in New Issue
Block a user