Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Triggering Gerrit Trigger Plugin On Change To Sub-Directory

Received: by 10.68.227.230 with SMTP id sd6mr2944472pbc.8.1334348857945;
        Fri, 13 Apr 2012 13:27:37 -0700 (PDT)
X-BeenThere: repo-discuss@googlegroups.com
Received: by 10.68.130.2 with SMTP id oa2ls3940389pbb.7.gmail; Fri, 13 Apr
 2012 13:27:35 -0700 (PDT)
Received: by 10.68.202.37 with SMTP id kf5mr2943385pbc.7.1334348855834;
        Fri, 13 Apr 2012 13:27:35 -0700 (PDT)
Received: by 10.68.202.37 with SMTP id kf5mr2943384pbc.7.1334348855813;
        Fri, 13 Apr 2012 13:27:35 -0700 (PDT)
Return-Path: <slaven...@internap.com>
Received: from mx3.internap.com (mx3.internap.com. [64.94.124.51])
        by gmr-mx.google.com with ESMTPS id a5si13237069pbd.0.2012.04.13.13.27.35
        (version=TLSv1/SSLv3 cipher=OTHER);
        Fri, 13 Apr 2012 13:27:35 -0700 (PDT)
Received-SPF: pass (google.com: best guess record for domain of slaven...@internap.com designates 64.94.124.51 as permitted sender) client-ip=64.94.124.51;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of slaven...@internap.com designates 64.94.124.51 as permitted sender) smtp.mail=slaven...@internap.com
Received: from mail-lpp01m010-f44.google.com ([209.85.215.44])
	by mx3.internap.com with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16)
	(Exim 4.60)
	(envelope-from <slaven...@internap.com>)
	id 1SIn5i-0002Al-O3
	for repo-discuss@googlegroups.com; Fri, 13 Apr 2012 13:27:35 -0700
Received: by lagj5 with SMTP id j5so2898197lag.31
        for <repo-discuss@googlegroups.com>; Fri, 13 Apr 2012 13:27:32 -0700 (PDT)
        d=google.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:x-gm-message-state;
        bh=Z0dH4iDA4Mnxj5ebVzxj1xgAgkJJknqb00x0I8+TWC4=;
        b=IeEhklrB0imAAcFZ+KXKkWSoXUfgKbtqmCHohj67dqB4hypF7TF1TVWAm9AfmwcyjI
         hN1Qg7qJ7udmnxROCagO+Io0DULwVqQwXX8+A9NlFEWCxTtlyDtJOeFqIhEU+BJga9Zs
         YvgYMv8KwkbOUlTiI0PRmXp/G4Hzhv5Fi6bnYF2RuScAvMsFLo5aLs1rrxk0smBz3Btf
         4LwEFtVmHFnDBM07YJ5TI5cJf6WYc6EroHmCiRjShhKefFIRlqBUL5b5XguxuqSwfvYR
         4I8nu/DF/FHBG7xN5DcqKV/0EGGX7r7NLWZ+ohpW75xfyVJScxzy3/4awjbVQSy1j/fu
         gi9A==
MIME-Version: 1.0
Received: by 10.152.127.163 with SMTP id nh3mr2686156lab.15.1334348852155;
 Fri, 13 Apr 2012 13:27:32 -0700 (PDT)
Received: by 10.112.37.6 with HTTP; Fri, 13 Apr 2012 13:27:32 -0700 (PDT)
In-Reply-To: <20120413202312.GG2...@google.com>
References: <c524b9d7-6da7-4886-aeb8-5bfa99c3d...@9g2000yqp.googlegroups.com>
	<25435711.182.1334346469531.JavaMail.geo-discussion-forums@vbgj4>
	<20120413202312.GG2...@google.com>
Date: Fri, 13 Apr 2012 16:27:32 -0400
Message-ID: <CAFULzpaA+wcUV2z9DGAutYq7EsaWr7wpiaeb1rDZiXse4XE...@mail.gmail.com>
Subject: Re: Triggering Gerrit Trigger Plugin On Change To Sub-Directory
From: Scott Lavender <slaven...@internap.com>
To: repo-discuss@googlegroups.com
Content-Type: multipart/alternative; boundary=f46d042c6b5d56d35e04bd954d62
X-Gm-Message-State: ALoCoQmRTCeOlZzBW+z7PRyJ6xdY9uS21yurK6xaMou18lJH4aJOeE97lP3DNxSPaBzqrNQjMoF8

--f46d042c6b5d56d35e04bd954d62
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

BINGO! I will have to wait on the 2.2.3 release of Gerrit it looks like...

The connected Gerrit's version is a bit old, so not all Gerrit features are
enabled. The following featured has been disabled:

   - Trigger on files requires 2.2.3


On Fri, Apr 13, 2012 at 4:23 PM, Magnus B=E4ck <ba...@google.com> wrote:

> On Friday, April 13, 2012 at 15:47 EDT,
>      Scott Lavender <slaven...@internap.com> wrote:
>
> > This is exactly what the plugin help describes:
> >
> > Then you can optionally provide the name of the specific file path(s)
> > to trigger on. E.g. to only trigger builds if the patch set contains
> > files in a certain folder. The same "pattern types" are available as
> > above. If no file paths are added, all files will trigger a build.
> >
> > So for example to trigger on all files in any sub-folder called java:
> >
> >
> >    - *Type:* Path
> >    - *Pattern:* **/java/
>
> Okay, so there actually is such a feature. It isn't shown in the GUI
> examples at https://wiki.jenkins-ci.org/display/JENKINS/Gerrit+Trigger
> so I assumed it didn't exist.
>
> However, according to what you write in your original post, you're
> nevertheless using the branch condition text field when you should be
> using the text field for file paths.  Reading the source code, this
> feature is only enabled if the Gerrit you're running is sufficiently
> new (2.2.3+). If it is, there will be a separate set of widgets below
> the branch selection widgets to allow you to add and delete file paths
> to trigger on.
>
> --
> Magnus B=E4ck
> ba...@google.com
>
> --
> To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
> More info at http://groups.google.com/group/repo-discuss?hl=3Den
>



--=20

*Scott Lavender | Cloud Release Engineer
_____________________________________ _______

Phone 678.554.3403 =95 Cell 770.361.5940
slaven...@internap.com =95 www.internap.com
<http://www.internap.com/>
INTERNAP =AE
connectivity | colocation | managed hosting | cloud

One Ravinia Drive =95 Suite 1300 =95 Atlanta =95 GA =95 30346*

--f46d042c6b5d56d35e04bd954d62
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

BINGO! I will have to wait on the 2.2.3 release of Gerrit it looks like...<=
div><br></div><div><span style=3D"color:rgb(196,160,0);font-family:Verdana,=
Helvetica,&#39;sans serif&#39;;font-size:11px;font-weight:bold;background-c=
olor:rgb(255,255,255)">The connected Gerrit&#39;s version is a bit old, so =
not all Gerrit features are enabled. The following featured has been disabl=
ed:</span><ul style=3D"color:rgb(196,160,0);font-family:Verdana,Helvetica,&=
#39;sans serif&#39;;font-size:11px;font-weight:bold;background-color:rgb(25=
5,255,255)">
<li>Trigger on files requires 2.2.3</li></ul><br><div class=3D"gmail_quote"=
>On Fri, Apr 13, 2012 at 4:23 PM, Magnus B=E4ck <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:ba...@google.com">ba...@google.com</a>&gt;</span> wrote:<br><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex">
On Friday, April 13, 2012 at 15:47 EDT,<br>
<div class=3D"im"> =A0 =A0 Scott Lavender &lt;<a href=3D"mailto:slavender@i=
nternap.com">slaven...@internap.com</a>&gt; wrote:<br>
<br>
&gt; This is exactly what the plugin help describes:<br>
&gt;<br>
&gt; Then you can optionally provide the name of the specific file path(s)<=
br>
&gt; to trigger on. E.g. to only trigger builds if the patch set contains<b=
r>
&gt; files in a certain folder. The same &quot;pattern types&quot; are avai=
lable as<br>
&gt; above. If no file paths are added, all files will trigger a build.<br>
&gt;<br>
&gt; So for example to trigger on all files in any sub-folder called java:<=
br>
&gt;<br>
&gt;<br>
</div>&gt; =A0 =A0- *Type:* Path<br>
&gt; =A0 =A0- *Pattern:* **/java/<br>
<br>
Okay, so there actually is such a feature. It isn&#39;t shown in the GUI<br=
>
examples at <a href=3D"https://wiki.jenkins-ci.org/display/JENKINS/Gerrit+T=
rigger" target=3D"_blank">https://wiki.jenkins-ci.org/display/JENKINS/Gerri=
t+Trigger</a><br>
so I assumed it didn&#39;t exist.<br>
<br>
However, according to what you write in your original post, you&#39;re<br>
nevertheless using the branch condition text field when you should be<br>
using the text field for file paths. =A0Reading the source code, this<br>
feature is only enabled if the Gerrit you&#39;re running is sufficiently<br=
>
new (2.2.3+). If it is, there will be a separate set of widgets below<br>
the branch selection widgets to allow you to add and delete file paths<br>
to trigger on.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--<br>
Magnus B=E4ck<br>
<a href=3D"mailto:ba...@google.com">ba...@google.com</a><br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
--<br>
To unsubscribe, email <a href=3D"mailto:repo-discuss%2Bunsubscribe@googlegr=
oups.com">repo-discuss+unsubscribe@googlegroups.com</a><br>
More info at <a href=3D"http://groups.google.com/group/repo-discuss?hl=3Den=
" target=3D"_blank">http://groups.google.com/group/repo-discuss?hl=3Den</a>=
<br>
</div></div></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>=
<div><div><font><p style=3D"margin-top:0in;margin-right:0in;margin-bottom:0=
.0001pt;margin-left:0in"><b style=3D"font-family:Times;font-size:medium"><s=
pan style=3D"font-size:11px;font-family:Arial;color:rgb(81,82,93);font-weig=
ht:normal;vertical-align:baseline;white-space:pre-wrap">Scott Lavender |=A0=
Cloud Release Engineer</span><br>
<span style=3D"font-size:11px;font-family:Arial;color:rgb(81,82,93);font-we=
ight:normal;vertical-align:baseline;white-space:pre-wrap">_________________=
____________________ _______</span><br><span style=3D"font-size:11px;font-f=
amily:Arial;color:rgb(81,82,93);font-weight:normal;vertical-align:baseline;=
white-space:pre-wrap"></span><br>
<span style=3D"font-size:11px;font-family:Arial;color:rgb(81,82,93);font-we=
ight:normal;vertical-align:baseline;white-space:pre-wrap">Phone 678.554.340=
3 </span><span style=3D"font-size:11px;font-family:Arial;color:rgb(21,28,44=
);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">=95=A0</=
span><span style=3D"font-size:11px;font-family:Arial;color:rgb(81,82,93);fo=
nt-weight:normal;vertical-align:baseline;white-space:pre-wrap">Cell 770.361=
.5940</span><br>
<a href=3D"mailto:slaven...@internap.com" target=3D"_blank"><span style=3D"=
font-size:11px;font-family:Arial;color:rgb(21,50,95);font-weight:normal;ver=
tical-align:baseline;white-space:pre-wrap">slaven...@internap.com</span></a=
><span style=3D"font-size:11px;font-family:Arial;color:rgb(81,82,93);font-w=
eight:normal;vertical-align:baseline;white-space:pre-wrap">=A0</span><span =
style=3D"font-size:11px;font-family:Arial;color:rgb(21,28,44);font-weight:n=
ormal;vertical-align:baseline;white-space:pre-wrap">=95</span><span style=
=3D"font-size:11px;font-family:Arial;color:rgb(81,82,93);font-weight:normal=
;vertical-align:baseline;white-space:pre-wrap"> </span><a href=3D"http://ww=
w.internap.com/" target=3D"_blank"><span style=3D"font-size:11px;font-famil=
y:Arial;color:rgb(21,50,95);font-weight:normal;vertical-align:baseline;whit=
e-space:pre-wrap">www.internap.com</span></a><br>
<a href=3D"http://www.internap.com/" target=3D"_blank"><span style=3D"font-=
size:11px;font-family:Arial;color:rgb(21,50,95);font-weight:normal;vertical=
-align:baseline;white-space:pre-wrap"></span></a><br><span style=3D"font-si=
ze:17px;font-family:Arial;color:rgb(21,50,95);font-style:italic;vertical-al=
ign:baseline;white-space:pre-wrap">INTERNAP</span><span style=3D"font-size:=
10px;font-family:Arial;color:rgb(21,50,95);font-style:italic;vertical-align=
:super;white-space:pre-wrap"> </span><span style=3D"font-size:10px;font-fam=
ily:Arial;color:rgb(21,50,95);font-weight:normal;vertical-align:super;white=
-space:pre-wrap">=AE</span><span style=3D"font-size:17px;font-family:Arial;=
color:rgb(21,50,95);font-style:italic;vertical-align:baseline;white-space:p=
re-wrap"> </span><br>
<span style=3D"font-size:9px;font-family:Arial;color:rgb(81,82,93);font-wei=
ght:normal;vertical-align:baseline;white-space:pre-wrap">connectivity | col=
ocation | managed hosting | cloud</span><br><span style=3D"font-size:9px;fo=
nt-family:Arial;color:rgb(81,82,93);font-weight:normal;vertical-align:basel=
ine;white-space:pre-wrap"></span><br>
<span style=3D"font-size:9px;font-family:Arial;color:rgb(81,82,93);font-wei=
ght:normal;vertical-align:baseline;white-space:pre-wrap">One Ravinia Drive=
=A0</span><span style=3D"font-size:9px;font-family:Arial;color:rgb(21,28,44=
);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">=95=A0</=
span><span style=3D"font-size:9px;font-family:Arial;color:rgb(81,82,93);fon=
t-weight:normal;vertical-align:baseline;white-space:pre-wrap">Suite 1300=A0=
</span><span style=3D"font-size:9px;font-family:Arial;color:rgb(21,28,44);f=
ont-weight:normal;vertical-align:baseline;white-space:pre-wrap">=95=A0</spa=
n><span style=3D"font-size:9px;font-family:Arial;color:rgb(81,82,93);font-w=
eight:normal;vertical-align:baseline;white-space:pre-wrap">Atlanta=A0</span=
><span style=3D"font-size:9px;font-family:Arial;color:rgb(21,28,44);font-we=
ight:normal;vertical-align:baseline;white-space:pre-wrap">=95=A0</span><spa=
n style=3D"font-size:9px;font-family:Arial;color:rgb(81,82,93);font-weight:=
normal;vertical-align:baseline;white-space:pre-wrap">GA=A0</span><span styl=
e=3D"font-size:9px;font-family:Arial;color:rgb(21,28,44);font-weight:normal=
;vertical-align:baseline;white-space:pre-wrap">=95=A0</span><span style=3D"=
font-size:9px;font-family:Arial;color:rgb(81,82,93);font-weight:normal;vert=
ical-align:baseline;white-space:pre-wrap">30346</span></b></p>
</font></div></div><br>
</div>

--f46d042c6b5d56d35e04bd954d62--