From be2ec386038d19c12b95d8d186cb016f69e1d106 Mon Sep 17 00:00:00 2001 From: Sebastian Warnholz Date: Thu, 30 Sep 2021 10:24:29 +0200 Subject: [PATCH] Delete Jenkinsfile --- Jenkinsfile | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 5658185..0000000 --- a/Jenkinsfile +++ /dev/null @@ -1,37 +0,0 @@ -// Template Jenkinsfile for Python CI/CD -// url: https://github.com/INWT/inwt-templates/blob/master/jenkins/python_ci.Jenkinsfile -// Author: Matthäus Deutsch -pipeline { - agent {label 'vm3'} - options { disableConcurrentBuilds() } - stages { - stage('Preparation of Virtualenv') { - steps { - // copy credentials to the right folder - // install package to virtualenv - sh ''' - pipenv install --dev - ''' - } - } - stage('Tests') { - // pytest tests within the virtualenv - steps { - sh ''' - pipenv run pytest --verbose - ''' - } - } - stage('Deployment') { - // publish the package - needs the proper publish command within setup.py - steps { - withCredentials([file(credentialsId: '.pypirc', variable: 'PYPIRC')]) { - sh ''' - cp -f $PYPIRC . - pipenv run python setup.py publish --verbose - ''' - } - } - } - } -}