🐛 Update to support shell scripts for deploy

This commit is contained in:
Joshua Arulsamy 2020-08-10 02:18:06 -06:00
parent b7ab589f6e
commit 98a36c6cbc

8
Jenkinsfile vendored
View File

@ -49,16 +49,12 @@ pipeline {
steps { steps {
sh ''' source /var/lib/jenkins/miniconda3/etc/profile.d/conda.sh sh ''' source /var/lib/jenkins/miniconda3/etc/profile.d/conda.sh
conda activate ${BUILD_TAG} conda activate ${BUILD_TAG}
python deploy/build.py ./deploy/build.sh
''' '''
} }
post { post {
always { always {
// Archive unit tests for the future sh './deploy/push.sh'
archiveArtifacts (allowEmptyArchive: true,
artifacts: 'dist/*whl',
fingerprint: true)
sh 'python deploy/push.py'
} }
} }
} }