From: Lott, Christopher (cl778h) Date: Thu, 2 May 2019 15:58:18 +0000 (-0400) Subject: Invoke mvn goal 'install' not deploy in new verify job X-Git-Tag: v0.37.2^0 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=29fc3d4f88893535afb20d81c09d4c6d70775a61;p=releng%2Fglobal-jjb.git Invoke mvn goal 'install' not deploy in new verify job Change-Id: I2ac52d56c5ede921d39e6a12ae06d888916be14b Signed-off-by: Lott, Christopher (cl778h) --- diff --git a/jjb/lf-maven-jobs.yaml b/jjb/lf-maven-jobs.yaml index 65bc48d1..2e352458 100644 --- a/jjb/lf-maven-jobs.yaml +++ b/jjb/lf-maven-jobs.yaml @@ -1402,6 +1402,9 @@ - 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 index 00000000..e6549444 --- /dev/null +++ b/releasenotes/notes/install-not-deploy-in-maven-docker-verify-065a2600d5e44c0f.yaml @@ -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.