Skip to content

Commit 944697c

Browse files
committed
Prevent execution of unit tests which require access to Docker daemon
Signed-off-by: Kai Hudalla <[email protected]>
1 parent e06993e commit 944697c

4 files changed

+4
-4
lines changed

jenkins/Hono-Deploy-Eclipse-Pipeline-Declarative.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ spec:
126126
stage('Build and deploy to Eclipse Repo') {
127127
steps {
128128
container('maven') {
129-
sh "mvn --projects :hono-service-auth,:hono-service-device-registry-file,:hono-service-device-registry-jdbc,:hono-service-device-registry-mongodb,:hono-service-command-router,:hono-service-device-connection,:hono-adapter-http-vertx,:hono-adapter-mqtt-vertx,:hono-adapter-kura,:hono-adapter-amqp-vertx,:hono-adapter-lora-vertx,:hono-adapter-sigfox-vertx,:hono-adapter-coap-vertx,:hono-example,:hono-cli -am deploy -DskipTests=true -DcreateJavadoc=true -DenableEclipseJarSigner=true -DskipStaging=true"
129+
sh "mvn --projects :hono-service-auth,:hono-service-device-registry-file,:hono-service-device-registry-jdbc,:hono-service-device-registry-mongodb,:hono-service-command-router,:hono-service-device-connection,:hono-adapter-http-vertx,:hono-adapter-mqtt-vertx,:hono-adapter-kura,:hono-adapter-amqp-vertx,:hono-adapter-lora-vertx,:hono-adapter-sigfox-vertx,:hono-adapter-coap-vertx,:hono-example,:hono-cli -am deploy -DskipTests=true -DnoDocker -DcreateJavadoc=true -DenableEclipseJarSigner=true -DskipStaging=true"
130130
}
131131
}
132132
}

jenkins/Hono-Deploy-Maven-Central-Pipeline-Declarative.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ spec:
127127
withCredentials([file(credentialsId: 'secret-subkeys.asc', variable: 'KEYRING')]) {
128128
sh 'gpg --batch --import-options restore --import "${KEYRING}"'
129129
}
130-
sh "mvn deploy -pl :hono-service-auth,:hono-service-device-registry-file,:hono-service-device-registry-jdbc,:hono-service-device-registry-mongodb,:hono-service-command-router,:hono-service-device-connection,:hono-adapter-http-vertx,:hono-adapter-mqtt-vertx,:hono-adapter-kura,:hono-adapter-amqp-vertx,:hono-adapter-lora-vertx,:hono-adapter-sigfox-vertx,:hono-adapter-coap-vertx,:hono-example,:hono-cli -am -DskipTests=true -DcreateGPGSignature=true -DcreateJavadoc=true -DenableEclipseJarSigner=true"
130+
sh "mvn deploy -pl :hono-service-auth,:hono-service-device-registry-file,:hono-service-device-registry-jdbc,:hono-service-device-registry-mongodb,:hono-service-command-router,:hono-service-device-connection,:hono-adapter-http-vertx,:hono-adapter-mqtt-vertx,:hono-adapter-kura,:hono-adapter-amqp-vertx,:hono-adapter-lora-vertx,:hono-adapter-sigfox-vertx,:hono-adapter-coap-vertx,:hono-example,:hono-cli -am -DskipTests=true -DnoDocker -DcreateGPGSignature=true -DcreateJavadoc=true -DenableEclipseJarSigner=true"
131131
}
132132
}
133133
}

jenkins/Hono-Nightly-Pipeline-Declarative.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ spec:
116116
junit '**/surefire-reports/*.xml'
117117

118118
echo "publishing JavaDoc ..."
119-
sh 'mvn package javadoc:aggregate -DskipTests'
119+
sh 'mvn package javadoc:aggregate -DskipTests -DnoDocker'
120120
step([$class: 'JavadocArchiver', javadocDir: 'target/site/apidocs'])
121121

122122
echo "archiving Command Line Client ..."

jenkins/Hono-Release-Pipeline.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def setReleaseVersionAndBuild(def utils) {
8686
stage('Build') {
8787
withMaven(maven: utils.getMavenVersion(), jdk: utils.getJDKVersion(), options: [artifactsPublisher(disabled: true)]) {
8888
sh "mvn versions:set -DgenerateBackupPoms=false -DnewVersion=${RELEASE_VERSION}"
89-
sh 'mvn clean install javadoc:aggregate -Dmaven.test.failure.ignore=false -DenableEclipseJarSigner=true -DsnapshotDependencyAllowed=false -Ddocker.skip.build=true'
89+
sh 'mvn clean install javadoc:aggregate -Dmaven.test.failure.ignore=false -DenableEclipseJarSigner=true -DsnapshotDependencyAllowed=false -Ddocker.skip.build=true -DnoDocker'
9090
}
9191
}
9292
}

0 commit comments

Comments
 (0)