[ANN] new artifcatory.ovirt.org server is up and running

Alon Bar-Lev alonbl at redhat.com
Sun Sep 29 19:57:53 UTC 2013



----- Original Message -----
> From: "Eyal Edri" <eedri at redhat.com>
> To: "Alon Bar-Lev" <alonbl at redhat.com>
> Cc: "infra" <infra at ovirt.org>
> Sent: Sunday, September 29, 2013 10:48:48 PM
> Subject: Re: [ANN] new artifcatory.ovirt.org server is up and running
> 
> 
> 
> ----- Original Message -----
> > From: "Alon Bar-Lev" <alonbl at redhat.com>
> > To: "Eyal Edri" <eedri at redhat.com>
> > Cc: "infra" <infra at ovirt.org>
> > Sent: Sunday, September 29, 2013 10:40:17 PM
> > Subject: Re: [ANN] new artifcatory.ovirt.org server is up and running
> > 
> > 
> > 
> > ----- Original Message -----
> > > From: "Eyal Edri" <eedri at redhat.com>
> > > To: "infra" <infra at ovirt.org>
> > > Sent: Sunday, September 29, 2013 10:36:53 PM
> > > Subject: [ANN] new artifcatory.ovirt.org server is up and running
> > > 
> > > fyi,
> > > 
> > > new maven repository is up and running at
> > > http://artifactory.ovirt.org:8081/artifactory.
> > > next step is to use it as proxy for running jenkins jobs. (after testing)
> > > 
> > > maven2 repo proxy is located at:
> > > http://artifactory.ovirt.org:8081/artifactory/repo1
> > > 
> > > options are:
> > >  1. adding new profile in pom.xml (to use in jenkins only)
> > >  2. changing default values in Makefile for various ovirt projects.
> > >  3. changing default repos on pom.xml
> > > 
> > > thoughts?
> > > 
> > > credentials are located at normal place.
> > 
> > global settings.xml?
> > 
> 
> if you mean deploying an alternate settings.xml on jenkins (on userContent
> dir for e.g)
> and using it for the jobs, that's also possible.
> 

So all you need is to create the following:

---
settings.xml
---
<settings
  xmlns="http://maven.apache.org/POM/4.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"
>
  <mirrors>
    <mirror>
      <id>ci</id>
      <name>ci</name>
      <url>http://artifactory.ovirt.org:8081/artifactory/repo1</url>
      <mirrorOf>*</mirrorOf>
    </mirror>
  </mirrors>
</settings>
---

Set environment of jenkins to have CI_MAVEN_SETTINGS to point to this file at all slaves.

Pass the following to make based jobs:
make EXTRA_BUILD_FLAGS="-gs ${CI_MAVEN_SETTINGS}"

Pass the following to rpm base jobs:
rpmbuild -D "EXTRA_BUILD_FLAGS -gs ${CI_MAVEN_SETTINGS}" ...

Now I see that I have a problem with EXTRA_BUILD_FLAGS at ovirt_build_minimal, I will fix that.

> 
> > > 
> > > Eyal.
> > > _______________________________________________
> > > Infra mailing list
> > > Infra at ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/infra
> > > 
> > 
> 



More information about the Infra mailing list