Projet

Général

Profil

0001-jenkins-publish-results-earlier-29442.patch

Frédéric Péters, 04 janvier 2019 08:56

Télécharger (1,89 ko)

Voir les différences:

Subject: [PATCH] jenkins: publish results earlier (#29442)

 Jenkinsfile | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)
Jenkinsfile
7 7
            steps {
8 8
                sh './jenkins.sh'
9 9
            }
10
            post {
11
                always {
12
                    script {
13
                        utils = new Utils()
14
                        utils.publish_coverage('coverage-*.xml')
15
                        utils.publish_coverage_native(
16
                            'index.html', 'htmlcov-coverage-dj18-authentic-pg', 'Coverage a2')
17
                        utils.publish_coverage_native(
18
                            'index.html', 'htmlcov-coverage-dj18-rbac-pg', , 'Coverage rbac')
19
                        utils.publish_pylint('pylint.out')
20
                    }
21
                    junit 'junit-*.xml'
22
                }
23
            }
10 24
        }
11 25
        stage('Packaging') {
12 26
            steps {
......
23 37
            script {
24 38
                utils = new Utils()
25 39
                utils.mail_notify(currentBuild, env, 'admin+jenkins-authentic@entrouvert.com')
26
                utils.publish_coverage('coverage-*.xml')
27
                utils.publish_coverage_native(
28
                    'index.html', 'htmlcov-coverage-dj18-authentic-pg', 'Coverage a2')
29
                utils.publish_coverage_native(
30
                    'index.html', 'htmlcov-coverage-dj18-rbac-pg', , 'Coverage rbac')
31
                utils.publish_pylint('pylint.out')
32 40
            }
33
            junit 'junit-*.xml'
34 41
        }
35 42
        success {
36 43
            cleanWs()
37
-