From 81eb24bd179d7508a147f7bd5b896a598a69b126 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 21 Jun 2017 22:40:42 -0400 Subject: jajaka --- .jenkins/build.sh | 6 ++++++ Jenkinsfile | 5 +---- 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 .jenkins/build.sh 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') { -- cgit