aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2017-06-21 22:40:42 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2017-06-21 22:40:42 -0400
commit81eb24bd179d7508a147f7bd5b896a598a69b126 (patch)
treefb6c20f5884a23003407d87c3c329a5f10ce63a1
parent2b0dce4e91e76bb4fc412243ec1cfe24bd04cdd8 (diff)
downloadhello_world-81eb24bd179d7508a147f7bd5b896a598a69b126.tar.gz
jajaka
-rw-r--r--.jenkins/build.sh6
-rw-r--r--Jenkinsfile5
2 files changed, 7 insertions, 4 deletions
diff --git a/.jenkins/build.sh b/.jenkins/build.sh
new file mode 100644
index 0000000..312e2ab
--- /dev/null
+++ b/.jenkins/build.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+source ${WORKSPACE}/.jenkins/use_conda.sh
+
+python --version
+
+python setup.py install
diff --git a/Jenkinsfile b/Jenkinsfile
index 2ebef0f..447f0a7 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -5,15 +5,12 @@ pipeline {
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'
+ sh '.jenkins/build.sh'
}
}
stage('Test') {