You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2020/05/22 13:30:33 UTC

[plc4x] branch feature/plc-simulator updated: - Explicitly set the _allow_illegal_access_reflection_in_tests profile to disabled to skip the detection on the site build node

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

cdutz pushed a commit to branch feature/plc-simulator
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/feature/plc-simulator by this push:
     new b027126  - Explicitly set the _allow_illegal_access_reflection_in_tests profile to disabled to skip the detection on the site build node
b027126 is described below

commit b027126df017a17f7ad1710699600945bfc1a60d
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Fri May 22 15:14:52 2020 +0200

    - Explicitly set the _allow_illegal_access_reflection_in_tests profile to disabled to skip the detection on the site build node
---
 Jenkinsfile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index b7a5138..c46b32a 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -215,7 +215,10 @@ pipeline {
                 // Unstash the previously stashed site.
                 unstash 'plc4x-site'
                 // Publish the site with the scm-publish plugin.
-                sh 'mvn -f jenkins.pom -X -P deploy-site scm-publish:publish-scm'
+                // Explicitly deselecting the "_allow_illegal_access_reflection_in_tests"
+                // profile as there seem to be problems on the site building node to detect the java version.
+                // In this case we don't really care as no unit- or integration-tests are being executed.
+                sh 'mvn -f jenkins.pom -X -P deploy-site,!_allow_illegal_access_reflection_in_tests scm-publish:publish-scm'
 
                 // Clean up the snapshots directory (freeing up more space after deploying).
                 dir("target/staging") {