[#31] feat: Jenkinsfile 수정 진행중
This commit is contained in:
@@ -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}
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user