Compare commits

..

2 Commits

Author SHA1 Message Date
ec23850f6a [📝] README.md 수정
All checks were successful
Front/pipeline/head This commit looks good
AcaMate_FO/pipeline/head This commit looks good
2024-11-05 15:23:12 +09:00
0920344832 [📝] Jenkinsfile 수정
Some checks failed
Front/pipeline/head This commit looks good
AcaMate_FO/pipeline/head There was a failure building this commit
2024-11-05 14:40:09 +09:00
2 changed files with 6 additions and 9 deletions

13
Jenkinsfile vendored
View File

@ -1,14 +1,11 @@
pipeline { pipeline {
agent any agent any
environment { environment {
DOCKER_RELEASE_CONTAINER = 'acamate-back-build-release' DOCKER_RELEASE_CONTAINER = 'acamate-front-build-release'
DOCKER_DEBUG_CONTAINER = 'acamate-back-build-debug' DOCKER_DEBUG_CONTAINER = 'acamate-front-build-debug'
DOCKER_RELEASE_RUN_CONTAINER = 'acamate-run-release'
DOCKER_DEBUG_RUN_CONTAINER = 'acamate-run-debug'
APP_VOLUME = '/src' APP_VOLUME = '/src'
} }
stages { stages {
stage('Clone Repository') { stage('Clone Repository') {
steps { steps {
@ -23,10 +20,10 @@ pipeline {
sh "docker rm temp-container" sh "docker rm temp-container"
if (env.GIT_BRANCH == 'main') { if (env.GIT_BRANCH == 'main') {
// main 브랜치용 작업 // main 브랜치용 작업
sh "docker start ${DOCKER_RELEASE_RUN_CONTAINER}" sh "docker start ${DOCKER_RELEASE_CONTAINER}"
} else if (env.GIT_BRANCH == 'debug') { } else if (env.GIT_BRANCH == 'debug') {
// debug 브랜치용 작업 // debug 브랜치용 작업
sh "docker start ${DOCKER_DEBUG_RUN_CONTAINER}" sh "docker start ${DOCKER_DEBUG_CONTAINER}"
} }
} }
} }

View File

@ -5,4 +5,4 @@
- Blazor WebAssembly - Blazor WebAssembly
- HTML & CSS - HTML & CSS
### IDE ### IDE
- JetBrains Rider - JetBrains Rider