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'
                sh 'jupyter-nbconvert --to python --stdout family-scope.ipynb | ipython'
                sh 'cp dataset-dimensions.html ../out/'
            }
        }
    }
    post {
        always {
            archiveArtifacts 'out/*'
        }
    }
}