From notifications-return-7851-archive-asf-public=cust-asf.ponee.io@yetus.apache.org Mon May 27 18:28:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id D4C4F180638 for ; Mon, 27 May 2019 20:28:02 +0200 (CEST) Received: (qmail 30083 invoked by uid 500); 27 May 2019 18:28:02 -0000 Mailing-List: contact notifications-help@yetus.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@yetus.apache.org Delivered-To: mailing list notifications@yetus.apache.org Received: (qmail 30074 invoked by uid 99); 27 May 2019 18:28:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 May 2019 18:28:02 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 3AC1CE00A6 for ; Mon, 27 May 2019 18:28:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id BDA7124599 for ; Mon, 27 May 2019 18:28:00 +0000 (UTC) Date: Mon, 27 May 2019 18:28:00 +0000 (UTC) From: "Peter Somogyi (JIRA)" To: notifications@yetus.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YETUS-878) mvn-settings in docker mode is not working MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YETUS-878?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16849= 120#comment-16849120 ]=20 Peter Somogyi commented on YETUS-878: ------------------------------------- [~aw], apologies for the long delay. I tested on a simple hello world appli= cation using 0.10.0 yetus using the following command: {noformat} test-patch --basedir=3Dyetus-tester --empty-patch --plugins=3Dall --mvn-set= tings=3D/Users/peter.somogyi/.m2/my-settings.xml --docker{noformat} When I used --docker for the command it was not able to locate the custom s= ettings.xml file and gave this output. {noformat} =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D Docker Image Creation =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D 0.10.0: Pulling from apache/yetus Digest: sha256:f036f41a09f9cec1c8dace73060d325569ca5d3620fdceebe3b6c19b226f= e849 Status: Image is up to date for apache/yetus:0.10.0 Building run-specific image yetus/unknown:tp-23060 Total elapsed build time: 0m 20s WARNING: JAVA_HOME=3D/Users/peter.somogyi/.sdkman/candidates/java/current d= oes not exist. Dockermode: attempting to switch to another. WARNING: Setting /usr/lib/jvm/java-8-openjdk-amd64 as the JAVA_HOME. WARNING: Found both spotbugs and findbugs. Disabling findbugs. Setting build tool to maven WARNING: /Users/peter.somogyi/.m2/my-settings.xml not found. Ignoring. Modes: Docker=C2=A0{noformat} Removing the --docker parameter the build used the=C2=A0my-settings.xml fil= e as expected. > mvn-settings in docker mode is not working=20 > ------------------------------------------- > > Key: YETUS-878 > URL: https://issues.apache.org/jira/browse/YETUS-878 > Project: Yetus > Issue Type: Bug > Affects Versions: 0.8.0 > Reporter: Peter Somogyi > Priority: Major > > The --mvn-settings=3D parameter does not work in docker mode. > I used=C2=A0--mvn-settings=3D"${WORKSPACE}/jenkins_m2_settings.xml and th= e file was available on that path, however, in the logs I found a WARN stat= ing that the file is not found.=C2=A0 > {noformat} > 11:47:09 --mvn-settings=3D/data/jenkins/workspace/hbase-pre-commit/jenkin= s_m2_settings.xml --project=3Dhbase --plugins=3Dall,-hadoopcheck,-xml --tes= ts-filter=3Dtest4tests --proclimit=3D10000 --dockermemlimit=3D20g --jenkins > 11:59:13 WARNING: /data/jenkins/workspace/hbase-pre-commit/jenkins_m2_set= tings.xml not found. Ignoring. > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)