SQL
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -6,6 +6,7 @@ pipeline {
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
node {
|
||||
import groovy.sql.Sql
|
||||
Class.forName("com.mysql.jdbc.Driver")
|
||||
def sql = Sql.newInstance("jdbc:mysql://mysql:3306/test_db", "user","passwd", "com.mysql.jdbc.Driver")
|
||||
@@ -14,4 +15,5 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user