Compare commits

..

No commits in common. "ec23850f6a9e60478fc02f57d03f3f4847586d32" and "9f5a2a0d31880ee520eb5601447ee90ed064970b" have entirely different histories.

2 changed files with 9 additions and 6 deletions

13
Jenkinsfile vendored
View File

@ -1,11 +1,14 @@
pipeline { pipeline {
agent any agent any
environment { environment {
DOCKER_RELEASE_CONTAINER = 'acamate-front-build-release' DOCKER_RELEASE_CONTAINER = 'acamate-back-build-release'
DOCKER_DEBUG_CONTAINER = 'acamate-front-build-debug' DOCKER_DEBUG_CONTAINER = 'acamate-back-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 {
@ -20,10 +23,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_CONTAINER}" sh "docker start ${DOCKER_RELEASE_RUN_CONTAINER}"
} else if (env.GIT_BRANCH == 'debug') { } else if (env.GIT_BRANCH == 'debug') {
// debug 브랜치용 작업 // debug 브랜치용 작업
sh "docker start ${DOCKER_DEBUG_CONTAINER}" sh "docker start ${DOCKER_DEBUG_RUN_CONTAINER}"
} }
} }
} }

View File

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