[#33] test: 불필요한 요소 제거 테스트

This commit is contained in:
Hanbin Lee
2023-03-12 19:20:39 +09:00
parent 6f183e38ec
commit dbf8b046b0
2 changed files with 12 additions and 14 deletions

View File

@@ -9,7 +9,6 @@ pipeline {
sh 'printenv'
FLYWAY_CONFIG = '/home/ec2-user/flyway/flyway.conf'
MIGRATION_SCRIPT = './script/db_migration.sh'
}
}
}
@@ -20,21 +19,20 @@ pipeline {
flywayCommand: 'info migrate validate',
commandLineArgs: "-configFiles=${FLYWAY_CONFIG}",
credentialsId: 'ecb29499-7272-4e8b-b3ab-a7a3ab7eafab',
url: '',
locations: "filesystem:${WORKSPACE}/db/migration"
}
}
// stage('Test') {
// steps {
// sh './gradlew clean :dongne-service-api:test'
// }
// }
//
// stage('Build') {
// steps {
// sh './gradlew clean :dongne-service-api:build -x test'
// }
// }
stage('Test') {
steps {
sh './gradlew clean :dongne-service-api:test'
}
}
stage('Build') {
steps {
sh './gradlew clean :dongne-service-api:build -x test'
}
}
}
}

View File

@@ -6,5 +6,5 @@ flyway.locations=filesystem:db/migration,db/seed
flyway.baselineOnMigrate=true
flyway.baselineVersion=000
flyway.ignoreMigrationPatterns=*:pending
# flyway.ignoreMigrationPatterns=*:pending
flyway.cleanDisabled=false