This commit is contained in:
Pavel Kachalouski
2023-01-22 13:45:49 +01:00
parent dbdc838492
commit a710a025c9

2
Jenkinsfile vendored
View File

@@ -6,6 +6,7 @@ pipeline {
stages { stages {
stage('Build') { stage('Build') {
steps { steps {
node {
import groovy.sql.Sql import groovy.sql.Sql
Class.forName("com.mysql.jdbc.Driver") Class.forName("com.mysql.jdbc.Driver")
def sql = Sql.newInstance("jdbc:mysql://mysql:3306/test_db", "user","passwd", "com.mysql.jdbc.Driver") def sql = Sql.newInstance("jdbc:mysql://mysql:3306/test_db", "user","passwd", "com.mysql.jdbc.Driver")
@@ -15,3 +16,4 @@ pipeline {
} }
} }
} }
}