[CLEAR-22] Jenkinsfile

This commit is contained in:
Artur Nowakowski 2019-11-30 18:20:32 +01:00
parent aa3938c404
commit 1506e63324

2
Jenkinsfile vendored
View File

@ -1,5 +1,4 @@
pipeline {
stages {
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').inside("--link ${c.id}:db") {
@ -12,5 +11,4 @@ pipeline {
stage("Test") { sh 'vendor/bin/phpunit' }
}
}
}
}