diff --git a/Jenkinsfile-service b/Jenkinsfile-service index f8e1ee9..54559ee 100644 --- a/Jenkinsfile-service +++ b/Jenkinsfile-service @@ -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} + """ } }