Invoke mvn goal 'install' not deploy in new verify job 84/15484/1 v0.37.2
authorLott, Christopher (cl778h) <cl778h@att.com>
Thu, 2 May 2019 15:58:18 +0000 (11:58 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Thu, 2 May 2019 15:58:18 +0000 (11:58 -0400)
Change-Id: I2ac52d56c5ede921d39e6a12ae06d888916be14b
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
jjb/lf-maven-jobs.yaml
releasenotes/notes/install-not-deploy-in-maven-docker-verify-065a2600d5e44c0f.yaml [new file with mode: 0644]

index 65bc48d..2e35245 100644 (file)
 - lf_maven_docker_verify: &lf_maven_docker_verify
     name: lf-maven-docker-verify
 
+    # image push not allowed during verification
+    mvn-goals: clean install
+
     builders:
       - lf-infra-pre-build
       - lf-jacoco-nojava-workaround
diff --git a/releasenotes/notes/install-not-deploy-in-maven-docker-verify-065a2600d5e44c0f.yaml b/releasenotes/notes/install-not-deploy-in-maven-docker-verify-065a2600d5e44c0f.yaml
new file mode 100644 (file)
index 0000000..e654944
--- /dev/null
@@ -0,0 +1,6 @@
+---
+fixes:
+  - |
+    Use maven goal install (not deploy) in the maven + docker verify job.
+    An image cannot be pushed by a verification job, and the deploy target
+    directs the plugin to push.