Commit e509a39c authored by Luca Verardo's avatar Luca Verardo
Browse files

WIP

parent f682167d
Loading
Loading
Loading
Loading
+9 −6
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ pipeline {
            }
        }
        stage('Test') {
            agent{
                docker.image('mysql').withRun('-e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=mentorarc -e MYSQL_USER=mentorarc -e MYSQL_PASSWORD=mentorarc') { c ->
                    docker.image('maven:3-alpine').inside("--link ${c.id}:db") {
                        /* Wait until mysql service is up */
@@ -20,6 +21,8 @@ pipeline {
                    }
                    
                }
            }
            
            post {
                always {
                    junit 'target/surefire-reports/*.xml'