Re: multipatch-build git source


Thanh Ha <thanh.ha@...>
 

I would not hardcode it. We have standard variables that can be used that is defined globally. Please use one of these global environment variables to clone:

GIT_URL: git://devvexx.opendaylight.org/mirror

I think GIT_BASE should cover the majority of cases so the git clone command should become:

    git clone "$GIT_BASE"

which should automatically pull in ${PROJECT} as it's defined globally. If not we can fallback on "git clone $GIT_URL/${PROJECT}"

Regards,
Thanh


On Tue, Nov 27, 2018 at 5:56 AM Luis Gomez <ecelgp@...> wrote:
Current script is just doing this for every project:

git clone "https://git.opendaylight.org/gerrit/p/${PROJECT}"

Would it work if we change the above to:

git clone "https://devvexx.opendaylight.org/mirror/gerrit/p/${PROJECT}"

BR/Luis


> On Nov 26, 2018, at 12:48 PM, Sam Hague <shague@...> wrote:
>
>
>
> On Mon, Nov 26, 2018 at 3:24 PM Robert Varga <nite@...> wrote:
> Hello Luis, Thanh,
>
> I just noticed integration-multipatch-test-neon is using
> git.opendaylight to fetch sources.
>
> As it turns out, that is not a source local to Jenkins, as it runs in
> AWS. Would it be possible to change the job to use
> git://devvexx.opendaylight.org/mirror instead?
>
> looks like the job parameter is: GERRIT_HOST
> https://jenkins.opendaylight.org/releng/view/integration/job/integration-multipatch-test-neon/119/parameters/
> Is there perhaps a variable that job can rely on?
>
> Thanks,
> Robert
>
> _______________________________________________
> integration-dev mailing list
> integration-dev@...
> https://lists.opendaylight.org/mailman/listinfo/integration-dev

Join {integration-dev@lists.opendaylight.org to automatically receive all group messages.