[infinispan-dev] ci.infinispan.org

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[infinispan-dev] ci.infinispan.org

Tristan Tarrant-2
Hi all,

just a few notes on ci.infinispan.org:

- Added a permanent redirect rule from http to https
- Refreshed JDKs (9.0.4, 1.8.0_161, 1.8.0_sr5fp10)
- Updated Maven to 3.5.2 and Ant to 1.10.2
- Installed git 2.9.3 from the Software Collections to resolve the issue
of shallow clones not working correctly

Additionally, the envinject plugin for Jenkins is preventing the
inherited environment variables from leaking into the agent build. While
this creates more reliable builds, it also caused failures in the
WildFly integration tests because they could not resolve env.JAVA_HOME.
I have therefore added a line in Jenkinsfile for master that selects the
JDK tool() to use for the build.
Unfortunately there is no way for declarative pipelines to parameterize
this for other JDKs, so we will probably have to adopt a different
strategy in order to build with different JDKs.

Tristan
--
Tristan Tarrant
Infinispan Lead and Data Grid Architect
JBoss, a division of Red Hat
_______________________________________________
infinispan-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev
Reply | Threaded
Open this post in threaded view
|

Re: [infinispan-dev] ci.infinispan.org

Dan Berindei
Thanks Tristan!

Looking at the git fetch command line I'm not sure it should work at all: --depth 10 is at the end, but man git fetch says it should be before the refspec. And yet I never suspected it was the cause :)

I would have liked to also fetch a single branch, that would have made the fetch even faster, but I haven't figured out how to do that from the job configuration UI yet.

Dan


On Thu, Mar 1, 2018 at 9:12 AM, Tristan Tarrant <[hidden email]> wrote:
Hi all,

just a few notes on ci.infinispan.org:

- Added a permanent redirect rule from http to https
- Refreshed JDKs (9.0.4, 1.8.0_161, 1.8.0_sr5fp10)
- Updated Maven to 3.5.2 and Ant to 1.10.2
- Installed git 2.9.3 from the Software Collections to resolve the issue
of shallow clones not working correctly

Additionally, the envinject plugin for Jenkins is preventing the
inherited environment variables from leaking into the agent build. While
this creates more reliable builds, it also caused failures in the
WildFly integration tests because they could not resolve env.JAVA_HOME.
I have therefore added a line in Jenkinsfile for master that selects the
JDK tool() to use for the build.
Unfortunately there is no way for declarative pipelines to parameterize
this for other JDKs, so we will probably have to adopt a different
strategy in order to build with different JDKs.

Tristan
--
Tristan Tarrant
Infinispan Lead and Data Grid Architect
JBoss, a division of Red Hat
_______________________________________________
infinispan-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev


_______________________________________________
infinispan-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev