aboutsummaryrefslogtreecommitdiff
path: root/Jenkinsfile
blob: fcb1e0cd7e72c9adefe263d52a92b695d5eeeb00 (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
35
36
println("Importing...")
import org.stsci.Conda
import org.stsci.CondaInstaller
println("Imported...")

pipeline {
    agent any

    stages {
        stage('Bootstrap') {
            steps {
                script {
		            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....'
            }
        }
    }
}