[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [papyrus-rt-dev] Hudson Job : Master All
|
In case this is still relevant, you can look at https://hudson.eclipse.org/papyrus-rt/job/Papyrus-RT-CodegenRTS-BuildFrom-gerrit-Triggered-gerrit-push/configure as an example for building on Gerrit changes.Note the GERRIT_REFSPEC parameter, which is used in the Git config as "refspec" this tells Jenkins which specific version to check out for building. Additionally, the "branches to build" specifies which branch to look for. So you push to refs/for/master, then on Gerrit it will become a change that is based on the master branch.
Finally, the "Build triggers" has "Gerrit event" selected, so the job is executed whenever Gerrit tells Hudson that a change happened.
Cheers,
-----
Ábel Hegedüs
IncQuery Labs Ltd.
On 2015.11.09. 18:21:19, Céline JANSSENS <celine.janssens@xxxxxxxxxxx> wrote:
Thanks for your explaination...
Then I have another question regarding the Hudson Jobs in general...
How can I specify sources from Gerrit (which is not merged yet ) and
a branch that has been merged.
Best regards
Céline
Le 09/11/2015 17:15, Ábel Hegedüs a
écrit :
Hi Céline,
if you open the "advanced" part under Source code management /
Git / Repositories, you can see that the "Local subdirectory for
repo" is set to "source".
I imagine this is done to ensure that the "clean after checkout"
that is also enabled does not delete the Maven repository in
.repository.
Cheers,
-----
Ábel Hegedüs
IncQuery Labs Ltd.
On 2015.11.09.
17:10:22, Céline JANSSENS <celine.janssens@xxxxxxxxxxx>
wrote:
Hello everyone,
I'd like to modify the job Master All in Papyrus RT in order to
run Junit test and RCPTT test as well.
In this purpose, i would like to understand why the current pom
used in this job is in the folder source/releng/pom.xml
?
The other jobs refering to the pom directly in the GIT releng/pom.xml.
Does anyone have an idea ?
Regards
Céline
--
|
Céline JANSSENS
Software Engineer
+33 (0)2 44 47 23 23
|
|
Mail : cej@xxxxxxxxxxx
|
6 rue Léonard De Vinci - BP 0119 - 53001
LAVAL Cedex - FRANCE
www.all4tec.net
|
|
_______________________________________________
papyrus-rt-dev mailing list
papyrus-rt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/papyrus-rt-dev
--
|
Céline
JANSSENS
Software
Engineer
+33 (0)2 44 47 23 23
|
|
Mail : cej@xxxxxxxxxxx
|
6 rue Léonard De Vinci - BP 0119 - 53001 LAVAL
Cedex - FRANCE
www.all4tec.net
|
|