aboutsummaryrefslogtreecommitdiff
path: root/Jenkinsfile
blob: 2615849d89f53f99405e1f49e4ed7237f4961a1e (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
pipeline {
    agent any

    stages {
        stage('Bootstrap') {
            steps {
                sh '.jenkins/install_conda.sh'
		sh 'export PATH=${HOME}/mc3/bin:$PATH'
		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....'
            }
        }
    }
}