Modify how test output is saved.
parent
afdebdffe3
commit
6e91e5c0cb
|
@ -17,7 +17,9 @@ mix compile'''
|
||||||
steps {
|
steps {
|
||||||
sh '''mix ecto.create
|
sh '''mix ecto.create
|
||||||
mix ecto.migrate
|
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') {
|
stage('Analysis') {
|
||||||
|
@ -34,11 +36,6 @@ mix coveralls --trace --preload-modules'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Save') {
|
|
||||||
steps {
|
|
||||||
junit '_build/pleroma-junit.xml'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
environment {
|
environment {
|
||||||
MIX_ENV = 'test'
|
MIX_ENV = 'test'
|
||||||
|
|
Reference in New Issue