[CLEAR-22] Jenkinsfile
This commit is contained in:
parent
aa3938c404
commit
1506e63324
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -1,5 +1,4 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
stages {
|
|
||||||
cleanWs()
|
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") {
|
||||||
@ -12,5 +11,4 @@ pipeline {
|
|||||||
stage("Test") { sh 'vendor/bin/phpunit' }
|
stage("Test") { sh 'vendor/bin/phpunit' }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user