Commit 5a7057b5 authored by Arian's avatar Arian
Browse files

Merge branch 'archive' into 'master'

Archive

See merge request !1
parents 8b720ad9 f3b8ea88
Pipeline #251 passed with stage
in 0 seconds
properties([[$class: 'GitLabConnectionProperty', gitLabConnection: 'gitlab']])
node {
stage('Build') {
sh 'echo foo > foo'
stage ("checkout") {
checkout scm
}
stage('Test') {
sh 'cat foo'
junit 'reports/test-results.xml'
stage ("Build") {
gitlabCommitStatus("build") {
sh 'echo foo > foo'
sh 'ls'
sh 'ls coverage'
sh 'ls reports'
}
}
stage ("test") {
gitlabCommitStatus("test") {
sh 'cat foo'
archiveArtifacts 'foo'
publishHTML(target: [
allowMissing: true,
alwaysLinkToLastBuild: true,
keepAll: true,
reportDir: 'coverage',
reportFiles: 'index.html',
reportName: 'Code Coverage'
])
}
}
}
\ No newline at end of file
<html>
<head>
<title>Coverage report</title>
</head>
<body>
<h1>You've got 100%!!!!</h1>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment