Return-Path: X-Original-To: apmail-archiva-users-archive@www.apache.org Delivered-To: apmail-archiva-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 778931749A for ; Thu, 22 Jan 2015 23:06:39 +0000 (UTC) Received: (qmail 84209 invoked by uid 500); 22 Jan 2015 23:06:39 -0000 Delivered-To: apmail-archiva-users-archive@archiva.apache.org Received: (qmail 84148 invoked by uid 500); 22 Jan 2015 23:06:39 -0000 Mailing-List: contact users-help@archiva.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@archiva.apache.org Delivered-To: mailing list users@archiva.apache.org Received: (qmail 84137 invoked by uid 99); 22 Jan 2015 23:06:39 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jan 2015 23:06:39 +0000 Received: from mail-la0-f46.google.com (mail-la0-f46.google.com [209.85.215.46]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id BB6AE1A003F for ; Thu, 22 Jan 2015 23:06:38 +0000 (UTC) Received: by mail-la0-f46.google.com with SMTP id s18so4460281lam.5 for ; Thu, 22 Jan 2015 15:06:36 -0800 (PST) X-Received: by 10.152.23.164 with SMTP id n4mr2318205laf.77.1421967996317; Thu, 22 Jan 2015 15:06:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.158.2 with HTTP; Thu, 22 Jan 2015 15:06:16 -0800 (PST) In-Reply-To: <017701d03671$f91ce850$eb56b8f0$@nuearth.com> References: <017701d03671$f91ce850$eb56b8f0$@nuearth.com> From: Olivier Lamy Date: Fri, 23 Jan 2015 10:06:16 +1100 Message-ID: Subject: Re: Jenkins deployment from Archiva To: users@archiva.apache.org Content-Type: multipart/alternative; boundary=089e0160b8a64d76ca050d45b971 --089e0160b8a64d76ca050d45b971 Content-Type: text/plain; charset=UTF-8 Hi, If you use the Maven Job type with Jenkins you can activate the post build step to deploy to Archiva ("Deploy artifacts to Maven repository"). Note you will have to store username/password within Jenkins to deploy to Archiva. I recommend you use the plugin ConfigFileProvider to store and share between jobs. On 23 January 2015 at 05:33, Malcolm G. Davis wrote: > I would like to create Jenkins job that deploys a war from Archiva. > > Is there a specific Jenkins steps or Maven configuration that will read a > war from Archiva and deploy to an application server? > > I know many want to auto-deploy after a successful build, but there are > internal QA steps that need to be followed, and there is tracking and > sign-off that needs to occur. The war is required to deploy from Archiva. > > Thanks, > Malcolm > > -- Olivier Lamy http://twitter.com/olamy | http://linkedin.com/in/olamy --089e0160b8a64d76ca050d45b971--