[#31] feat: Jenkinsfile 수정 진행중

This commit is contained in:
Hanbin Lee
2023-02-19 17:32:58 +09:00
parent 88e162fa43
commit 3a4f79fbdb

View File

@@ -8,12 +8,17 @@ pipeline {
stage('Init') {
steps {
sh 'printenv'
migration_script = './script/db_migration.sh'
}
}
stage('DB Migrate') {
steps {
sh './script/db_migration.sh'
sh """
chmod 755 ${migration_script}
/bin/bash ${migration_script}
"""
}
}