You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2018/02/27 15:08:02 UTC

[incubator-plc4x] 01/02: document some specialities in the Jenkinsfile to avoid later confusion

This is an automated email from the ASF dual-hosted git repository.

sruehl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git

commit 36a574a6a63c9818504587536490e6e99bd99e39
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Tue Feb 27 15:59:46 2018 +0100

    document some specialities in the Jenkinsfile to avoid later confusion
---
 Jenkinsfile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index a868539..aa377e5 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -28,7 +28,9 @@ pipeline {
     environment {
         PLC4X_BUILD_ON_JENKINS = true
         JENKINS_PROFILE = 'jenkins-build'
+        // On non master build we don't want to pollute the global m2 repo
         MVN_LOCAL_REPO_OPT = '-Dmaven.repo.local=.repository'
+        // Testfails will be handled by the jenkins junit steps and mark the build as unstable.
         MVN_TEST_FAIL_IGNORE = '-Dmaven.test.failure.ignore=true'
     }
 
@@ -39,6 +41,7 @@ pipeline {
 
     options {
         timeout(time: 1, unit: 'HOURS')
+        // When we have test-fails e.g. we don't need to run the remaining steps
         skipStagesAfterUnstable()
     }
 

-- 
To stop receiving notification emails like this one, please contact
sruehl@apache.org.