Project

General

Profile

0001-jenkins-add-step-to-check-help-files.patch

Frédéric Péters, 14 Jan 2020 10:22 PM

Download (837 Bytes)

View differences:

Subject: [PATCH] jenkins: add step to check help files

 Jenkinsfile | 8 ++++++++
 1 file changed, 8 insertions(+)
Jenkinsfile
3 3
pipeline {
4 4
    agent any
5 5
    stages {
6
        stage('Help Check') {
7
            steps {
8
                script {
9
                     sh '(cd help/fr/ && if [ $(yelp-build html *.page 2>&1 | wc -c) -ne 0 ]; then exit 1; fi)'
10
                     sh 'git clean -xdf'
11
                }
12
            }
13
        }
6 14
        stage('Packaging') {
7 15
            steps {
8 16
                script {
9
-