Newer
Older
DataReport / Jenkinsfile
pipeline {
    agent {
        label 'master'
    }
    stages {
        stage('Clean') {
            steps {
                sh 'rm -rf out'
                sh 'mkdir out'
            }
        }
        stage('Family scope report') {
            agent {
                docker {
                    image 'cloudfluff/databaker-docker'
                    reuseNode true
                }
            }
            steps {
                sh 'cd family-scope && jupyter-nbconvert --to python --stdout family-scope.ipynb | ipython'
                sh 'cp family-scope/dataset-dimensions.html out/'
            }
        }
    }
    post {
        always {
            publishHTML([
                allowMissing: true, alwaysLinkToLastBuild: true, keepAll: true,
                reportDir: 'out', reportFiles: 'dataset-dimensions.html',
                reportName: 'Dataset Family Scope', reportTitles: ''])
        }
    }
}