From fe00559f58cd80a31e4e50caddeef9a372a487dc Mon Sep 17 00:00:00 2001 From: Adarsh Date: Mon, 26 Jun 2017 09:50:12 -0400 Subject: [PATCH 1/2] Comment out the tests. --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5722995..8151fc7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,10 +16,10 @@ pipeline { stage('Test') { steps { echo 'Testing...' - sh """ - source blocnote/bin/activate + // sh """ + // source blocnote/bin/activate // python manage.py test - """ + // """ // junit 'tests.xml' } } -- GitLab From 176d2a677990ecb29e4c47c1a6c7eb06810d29c2 Mon Sep 17 00:00:00 2001 From: Adarsh Date: Mon, 26 Jun 2017 09:54:08 -0400 Subject: [PATCH 2/2] Comment out coverage in Jenkinsfile. --- Jenkinsfile | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8151fc7..d63b52a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,18 +27,18 @@ pipeline { stage('Coverage') { steps { echo 'Coverage...' - sh """ - source venv/bin/activate - pytest --cov $MODULE $TESTS --cov-report html - """ - publishHTML (target: [ - allowMissing: false, - alwaysLinkToLastBuild: false, - keepAll: true, - reportDir: 'htmlcov', - reportFiles: 'index.html', - reportName: "Coverage" - ]) + // sh """ + // source venv/bin/activate + // pytest --cov $MODULE $TESTS --cov-report html + // """ + // publishHTML (target: [ + // allowMissing: false, + // alwaysLinkToLastBuild: false, + // keepAll: true, + // reportDir: 'htmlcov', + // reportFiles: 'index.html', + // reportName: "Coverage" + // ]) } } } -- GitLab