[#33] test: jenkins 출력 테스트

This commit is contained in:
Hanbin Lee
2023-03-03 00:19:30 +09:00
parent 09b6beee53
commit 2d142eb829

View File

@@ -8,6 +8,7 @@ pipeline {
stage('Init') {
steps {
script {
sh 'whoami'
sh 'printenv'
FLYWAY_CONFIG = '/home/ec2-user/flyway/flyway.conf'
@@ -16,14 +17,14 @@ pipeline {
}
}
stage('DB Migrate') {
steps {
sh """
chmod 755 ${MIGRATION_SCRIPT}
/bin/bash ${MIGRATION_SCRIPT} ${FLYWAY_CONFIG}
"""
}
}
// stage('DB Migrate') {
// steps {
// sh """
// chmod 755 ${MIGRATION_SCRIPT}
// /bin/bash ${MIGRATION_SCRIPT} ${FLYWAY_CONFIG}
// """
// }
// }
// stage('Test') {
// steps {