From 29fc3d4f88893535afb20d81c09d4c6d70775a61 Mon Sep 17 00:00:00 2001 From: "Lott, Christopher (cl778h)" Date: Thu, 2 May 2019 11:58:18 -0400 Subject: [PATCH] Invoke mvn goal 'install' not deploy in new verify job Change-Id: I2ac52d56c5ede921d39e6a12ae06d888916be14b Signed-off-by: Lott, Christopher (cl778h) --- jjb/lf-maven-jobs.yaml | 3 +++ .../install-not-deploy-in-maven-docker-verify-065a2600d5e44c0f.yaml | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 releasenotes/notes/install-not-deploy-in-maven-docker-verify-065a2600d5e44c0f.yaml 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. -- 2.16.6