Modify how test output is saved.

develop
Rachel Fae Fox 2019-07-17 12:26:30 -04:00
parent afdebdffe3
commit 6e91e5c0cb
1 changed files with 3 additions and 6 deletions

9
Jenkinsfile vendored
View File

@ -17,7 +17,9 @@ mix compile'''
steps {
sh '''mix ecto.create
mix ecto.migrate
mix coveralls --trace --preload-modules'''
mix coveralls.html --trace --preload-modules'''
junit '_build/pleroma-junit.xml'
archiveArtifacts(artifacts: 'cover/excoveralls.html', allowEmptyArchive: true)
}
}
stage('Analysis') {
@ -34,11 +36,6 @@ mix coveralls --trace --preload-modules'''
}
}
}
stage('Save') {
steps {
junit '_build/pleroma-junit.xml'
}
}
}
environment {
MIX_ENV = 'test'