blob: a26887a24f710901bcc09ad15c4fff7e0c3fd8c3 (
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
37
38
39
|
println("Importing...")
import org.stsci.Conda
import org.stsci.CondaInstaller
println("Imported...")
pipeline {
agent any
stages {
stage('Bootstrap') {
steps {
println("Bootstrapping..")
script {
println("IN script block")
cinst = new CondaInstaller("/tmp/killme")
cinst.install()
}
println("OUT of script block")
}
}
stage('Build') {
steps {
echo 'Building..'
sh '.jenkins/build.sh'
}
}
stage('Test') {
steps {
echo 'Testing..'
sh 'test -f setup.py'
}
}
stage('Deploy') {
steps {
echo 'Deploying....'
}
}
}
}
|