aboutsummaryrefslogtreecommitdiff
path: root/Jenkinsfile
blob: f8a8441f1ad7a5d82fdf83110446cb16713e556f (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
32
33
34
println("Importing...")
import org.stsci.Conda
import org.stsci.CondaInstaller
println("Imported...")

pipeline {
    agent any

    stages {
        stage('Bootstrap') {
            steps {
		        cinst = new CondaInstaller("${WORKSPACE}/tmp")
                cinst.install()
            }
        }
        stage('Build') {
            steps {
                echo 'Building..'
		        sh '.jenkins/build.sh'
            }
        }
        stage('Test') {
            steps {
                echo 'Testing..'
		        sh 'test -f setup.py'
            }
        }
        stage('Deploy') {
            steps {
                echo 'Deploying....'
            }
        }
    }
}