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 2019/08/28 12:48:19 UTC
[plc4x] branch develop updated: - Disabled the prerequisite check
as python detection seems to be failing randomly on the build agent.
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git
The following commit(s) were added to refs/heads/develop by this push:
new d89518a - Disabled the prerequisite check as python detection seems to be failing randomly on the build agent.
d89518a is described below
commit d89518a48da18bd5c118f2cd68d01435c55a7480
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Wed Aug 28 14:48:11 2019 +0200
- Disabled the prerequisite check as python detection seems to be failing randomly on the build agent.
---
Jenkinsfile | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 4aeb13d..3e21acb 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -85,7 +85,7 @@ pipeline {
}
steps {
echo 'Building'
- sh 'mvn -P${JENKINS_PROFILE},development,with-boost,with-cpp,with-java,with-dotnet,with-python,with-proxies,with-sandbox,with-logstash ${MVN_TEST_FAIL_IGNORE} ${MVN_LOCAL_REPO_OPT} clean install'
+ sh 'mvn -P${JENKINS_PROFILE},skip-prerequisite-check,development,with-boost,with-cpp,with-java,with-dotnet,with-python,with-proxies,with-sandbox,with-logstash ${MVN_TEST_FAIL_IGNORE} ${MVN_LOCAL_REPO_OPT} clean install'
}
post {
always {
@@ -108,7 +108,7 @@ pipeline {
// We'll deploy to a relative directory so we can save
// that and deploy in a later step on a different node
- sh 'mvn -U -P${JENKINS_PROFILE},development,with-boost,with-java,with-dotnet,with-cpp,with-python,with-proxies,with-sandbox,with-logstash ${MVN_TEST_FAIL_IGNORE} ${JQASSISTANT_NEO4J_VERSION} -DaltDeploymentRepository=snapshot-repo::default::file:./local-snapshots-dir clean deploy'
+ sh 'mvn -U -P${JENKINS_PROFILE},skip-prerequisite-check,development,with-boost,with-java,with-dotnet,with-cpp,with-python,with-proxies,with-sandbox,with-logstash ${MVN_TEST_FAIL_IGNORE} ${JQASSISTANT_NEO4J_VERSION} -DaltDeploymentRepository=snapshot-repo::default::file:./local-snapshots-dir clean deploy'
// Stash the build results so we can deploy them on another node
stash name: 'plc4x-build-snapshots', includes: 'local-snapshots-dir/**'
@@ -128,7 +128,7 @@ pipeline {
steps {
echo 'Checking Code Quality on SonarCloud'
withCredentials([string(credentialsId: 'chris-sonarcloud-token', variable: 'SONAR_TOKEN')]) {
- sh 'mvn -P${JENKINS_PROFILE},with-jav,with-python,with-proxies,with-sandbox,with-logstash sonar:sonar ${SONARCLOUD_PARAMS} -Dsonar.login=${SONAR_TOKEN}'
+ sh 'mvn -P${JENKINS_PROFILE},skip-prerequisite-check,with-jav,with-python,with-proxies,with-sandbox,with-logstash sonar:sonar ${SONARCLOUD_PARAMS} -Dsonar.login=${SONAR_TOKEN}'
}
}
}
@@ -169,7 +169,7 @@ pipeline {
}
steps {
echo 'Building Site'
- sh 'mvn -P${JENKINS_PROFILE},with-java,with-proxies,with-logstash site'
+ sh 'mvn -P${JENKINS_PROFILE},skip-prerequisite-check,with-java,with-proxies,with-logstash site'
}
}
@@ -180,7 +180,7 @@ pipeline {
steps {
echo 'Staging Site'
// Build a directory containing the aggregated website.
- sh 'mvn -P${JENKINS_PROFILE},with-java,with-proxies,with-logstash site:stage'
+ sh 'mvn -P${JENKINS_PROFILE},skip-prerequisite-check,with-java,with-proxies,with-logstash site:stage'
// Make sure the script is executable.
sh 'chmod +x tools/clean-site.sh'
// Remove some redundant resources, which shouldn't be required.