From d60fefecfd6e77be1f353a7f93673f70627a82d8 Mon Sep 17 00:00:00 2001 From: Kai Hudalla Date: Thu, 20 May 2021 16:12:59 +0200 Subject: [PATCH] Explicitly list projects to deploy Signed-off-by: Kai Hudalla --- jenkins/Hono-Deploy-Eclipse-Pipeline-Declarative.groovy | 2 +- jenkins/Hono-Deploy-Maven-Central-Pipeline-Declarative.groovy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkins/Hono-Deploy-Eclipse-Pipeline-Declarative.groovy b/jenkins/Hono-Deploy-Eclipse-Pipeline-Declarative.groovy index d91ef98457..b1b234bf43 100644 --- a/jenkins/Hono-Deploy-Eclipse-Pipeline-Declarative.groovy +++ b/jenkins/Hono-Deploy-Eclipse-Pipeline-Declarative.groovy @@ -126,7 +126,7 @@ spec: stage('Build and deploy to Eclipse Repo') { steps { container('maven') { - sh "mvn deploy -DskipTests=true -DnoDocker -DcreateJavadoc=true -DenableEclipseJarSigner=true -DskipStaging=true" + sh "mvn deploy -pl :hono-service-auth,:hono-service-auth-quarkus,:hono-service-device-registry-file,:hono-service-device-registry-jdbc,:hono-service-device-registry-mongodb,:hono-service-command-router,:hono-service-command-router-quarkus,:hono-service-device-connection,:hono-adapter-http-vertx,:hono-adapter-http-vertx-quarkus,:hono-adapter-mqtt-vertx,:hono-adapter-mqtt-vertx-quarkus,:hono-adapter-kura,:hono-adapter-amqp-vertx,:hono-adapter-amqp-vertx-quarkus,:hono-adapter-lora-vertx,:hono-adapter-lora-vertx-quarkus,:hono-adapter-sigfox-vertx,:hono-adapter-coap-vertx,:hono-adapter-coap-vertx-quarkus,:hono-example,:hono-cli -am -DskipTests=true -DnoDocker -DcreateJavadoc=true -DenableEclipseJarSigner=true -DskipStaging=true" } } } diff --git a/jenkins/Hono-Deploy-Maven-Central-Pipeline-Declarative.groovy b/jenkins/Hono-Deploy-Maven-Central-Pipeline-Declarative.groovy index 6675836744..6bfa053a0b 100644 --- a/jenkins/Hono-Deploy-Maven-Central-Pipeline-Declarative.groovy +++ b/jenkins/Hono-Deploy-Maven-Central-Pipeline-Declarative.groovy @@ -127,7 +127,7 @@ spec: withCredentials([file(credentialsId: 'secret-subkeys.asc', variable: 'KEYRING')]) { sh 'gpg --batch --import-options restore --import "${KEYRING}"' } - sh "mvn deploy -DskipTests=true -DnoDocker -DcreateGPGSignature=true -DcreateJavadoc=true -DenableEclipseJarSigner=true" + sh "mvn deploy -pl :hono-service-auth,:hono-service-auth-quarkus,:hono-service-device-registry-file,:hono-service-device-registry-jdbc,:hono-service-device-registry-mongodb,:hono-service-command-router,:hono-service-command-router-quarkus,:hono-service-device-connection,:hono-adapter-http-vertx,:hono-adapter-http-vertx-quarkus,:hono-adapter-mqtt-vertx,:hono-adapter-mqtt-vertx-quarkus,:hono-adapter-kura,:hono-adapter-amqp-vertx,:hono-adapter-amqp-vertx-quarkus,:hono-adapter-lora-vertx,:hono-adapter-lora-vertx-quarkus,:hono-adapter-sigfox-vertx,:hono-adapter-coap-vertx,:hono-adapter-coap-vertx-quarkus,:hono-example,:hono-cli -am -DskipTests=true -DnoDocker -DcreateGPGSignature=true -DcreateJavadoc=true -DenableEclipseJarSigner=true" } } }