[CLEAR-22] Jenkinsfile

This commit is contained in:
Artur Nowakowski 2019-11-30 18:21:03 +01:00
parent 1506e63324
commit 1dcd5fe162

1
Jenkinsfile vendored
View File

@ -1,5 +1,4 @@
pipeline { pipeline {
cleanWs()
docker.image('mysql:latest').withRun('-e "MYSQL_ROOT_PASSWORD=8fcXUlCgC6JCqpoWX64" -e "MYSQL_DATABASE=clearbowl" -e "MYSQL_USER=api" -e "MYSQL_PASSWORD=R23qarINlcALOk2nDg6LbJelaqk"') { c -> docker.image('mysql:latest').withRun('-e "MYSQL_ROOT_PASSWORD=8fcXUlCgC6JCqpoWX64" -e "MYSQL_DATABASE=clearbowl" -e "MYSQL_USER=api" -e "MYSQL_PASSWORD=R23qarINlcALOk2nDg6LbJelaqk"') { c ->
docker.image('mysql:latest').inside("--link ${c.id}:db") { docker.image('mysql:latest').inside("--link ${c.id}:db") {
stage("Initialize DB"){ stage("Initialize DB"){