Re: Maven installation error on some Jenkins executors

2019-10-21 Thread Enrico Olivelli
Hello,
I should add that I am seeing the same errors on BookKeeper jobs.

Another strage fact is that sometimes my jobs run on "'master' node, like
this execution:
https://builds.apache.org/job/bookkeeper_precommit_client_tests/1234/

But in BookKeeper we are configuring the jobs to use 'ubutu' label.

I also noticed that the problems happens on Free form Jobs that are using
"Invoke top level Maven goals" build step, and it does not happen on pure
Maven projects.

I am testing with "Maven 3 (latest)" and "Maven 3.6.2"

Enrico


Il giorno dom 20 ott 2019 alle ore 20:54 Jean-Baptiste Onofré <
j...@nanthrax.net> ha scritto:

> Hi,
>
> Since some days (I would say something like couple of weeks), most of
> our PR builds are failing with:
>
> ERROR: A Maven installation needs to be available for this project to be
> built.Either your server has no Maven installations defined, or the
> requested Maven version does not exist.
>
> It happens with different Jenkins nodes.
>
> I tried to change the Jenkins configuration (using Maven 3 (latest)) and
> removed  in our pom.xml but it's still failing. I've
> also enabled the cleanup of the workspace before each build. No luck.
>
> I explained what it happens here:
> https://issues.apache.org/jira/browse/INFRA-19307
>
> Chris also investigates a bit and we didn't find any obvious reason why
> it randomly fails.
>
> Could you please take a look ? Let me know if it's configuration update
> to do.
>
> Thanks !
> Regards
> JB
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>


Re: Heron Incubating Site CI Build

2019-10-21 Thread Josh Fischer
Hi,

Any chance someone could help me with this?

On Fri, Oct 18, 2019 at 12:00 PM Josh Fischer  wrote:

> Hi,
>
> I am trying to get our CI process set up for our new static site.  I am
> sending this email to understand what I need to do to make sure jenkins has
> what it needs to successfully build the project.
> Please let me know if you can get these packages/technologies installed in
> the jenkins cluster and any other special instructions I will need to use
> them in my scripts.
>
> Thank you,
> - Josh
>
> We will need:
> Node >= 8.x
> Yarn >= 1.5.
> Java 8
> Bazel 0.26.0
> Python 2.7
> virtualenv
> pip
> And we will also need these binaries on the path:
> automake cmake libtool-bin g++
> python-setuptools python-dev python-wheel python python-pip unzip tree
> openjdk-8-jdk virtualenv
>


Re: Heron Incubating Site CI Build

2019-10-21 Thread Dave Fisher
Hi Josh,

One piece of information might help get a response.

This is a static website build and you want to make sure that specific node has 
all the dependencies.

If you haven’t got help by Friday I might have a few cycles then to help.

Regards,
Dave

Sent from my iPhone

> On Oct 21, 2019, at 6:44 PM, Josh Fischer  wrote:
> 
> Hi,
> 
> Any chance someone could help me with this?
> 
>> On Fri, Oct 18, 2019 at 12:00 PM Josh Fischer  wrote:
>> 
>> Hi,
>> 
>> I am trying to get our CI process set up for our new static site.  I am
>> sending this email to understand what I need to do to make sure jenkins has
>> what it needs to successfully build the project.
>> Please let me know if you can get these packages/technologies installed in
>> the jenkins cluster and any other special instructions I will need to use
>> them in my scripts.
>> 
>> Thank you,
>> - Josh
>> 
>> We will need:
>> Node >= 8.x
>> Yarn >= 1.5.
>> Java 8
>> Bazel 0.26.0
>> Python 2.7
>> virtualenv
>> pip
>> And we will also need these binaries on the path:
>> automake cmake libtool-bin g++
>> python-setuptools python-dev python-wheel python python-pip unzip tree
>> openjdk-8-jdk virtualenv
>> 



Re: Heron Incubating Site CI Build

2019-10-21 Thread Lukasz Lenart
wt., 22 paź 2019 o 03:44 Josh Fischer  napisał(a):
> Any chance someone could help me with this?

We are using Jekyll to build our website, but as Ruby is already
available on Jenkins we just need to install missing gems [1]. I have
also prepared a Docker image [2] that can be used locally to test
changes [3]. This is not exactly your case but you can try to use a
Docker image to build your site.

[1] https://builds.apache.org/view/S-Z/view/Struts/job/Struts-site/configure
[2] https://github.com/apache/struts-site/blob/master/docker/Dockerfile
[3] https://github.com/apache/struts-site/blob/master/docker-run.sh


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/