aboutsummaryrefslogtreecommitdiff
path: root/Jenkinsfile
blob: 2ebef0fe9b46b1f123e03a0d975a76779b36d38f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
pipeline {
    agent any

    stages {
        stage('Bootstrap') {
            steps {
                sh '.jenkins/install_conda.sh'
		sh 'PATH=${WORKSPACE}/mc3/bin:$PATH source activate root'
		sh '${WORKSPACE}/mc3/bin/python --version'
		sh 'python --version'
            }
        }
        stage('Build') {
            steps {
                echo 'Building..'
		sh '${HOME}/mc3/bin/python setup.py install'
            }
        }
        stage('Test') {
            steps {
                echo 'Testing..'
		sh 'test -f setup.py'
            }
        }
        stage('Deploy') {
            steps {
                echo 'Deploying....'
            }
        }
    }
}