Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Building maven artifacts for Eclipse SUMO
  • From: <Robert.Hilbrich@xxxxxx>
  • Date: Wed, 24 Mar 2021 13:07:48 +0000
  • Accept-language: de-DE, en-US
  • Delivered-to: cbi-dev@xxxxxxxxxxx
  • Ironport-hdrordr: A9a23:Tb6cCKhLokEpJfM0ObTuWYbKSnBQX7913DAbvn1ZSRFFG/Gwv8 qlkO0HkTr9jzgMUH8t8OrwXJWoa3Xa6JJz/M01NbCtQAHptAKTXeZfxKHlxCDtHDC7y/5F2c 5bAtJDIfD5EFQSt6bHySaiFdJI+rS62YCuwdzT1nJ8CTxtApsQijtRLia+PglISBJdBZw/fa Dsm/Zvgza7Y3wYYoCaKxA+Lov+jubGnp7nfhIKbiRPgGLlsRqS5LH3CBSe1BsFOgk/o4sKy3 TPkADy+8yY3M2T9x7G22ffq7RQldfxo+EjOOWwi9MYIjiptwCwZI4JYdO/lQ0yydvC1H8a1P 335zYpJYBa9m7YdGDdm2qK5yDQlBIVr0LE5XDdq335usD9TC89EKN69PtkWwqc7VEhstF62L 9K2Gzct4M/N2K5oA3to8XNEwtsi1Dxu34+iIco/gdibbc=
  • Ironport-phdr: A9a23:0DzvqB9ebKWNhv9uWea8ngc9DhMPi/DPJgcQr6AfoPdwSMyLwZ3uM QTl6Ol3ixeRBMOHsqMC0raJ+PGxEUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7F skRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCe5bL9oM Rm7ogfcusYSjIZmN6081gbHrnxUdupM2GhmP0iTnxHy5sex+J5s7SFdsO8/+sBDTKv3Yb02Q aRXAzo6PW814tbrtQTYQguU+nQcSGQWnQFWDAXD8Rr3Q43+sir+tup6xSmaIcj7Rq06VDi+8 6tmTgLjhSEaPDA77W7XkNR9gqJFrhy8uxxxzY3aYI+XO/p/YqzScsgXSnBdUsZTTSFNHp+wY okJAuEcPehYtY79p14WoBa5GQesA/jgxSFShn/qx6E00eUhEQXd0ww6HtIBrHTUoc7oO6cWS +C51rTHwivaYv5QxDzy55TGfAo7rvGQQbJ/b9DRyU83Gg7Fk1mep5DoMTOJ2ugRrmWW6/ZsW O2zh2Apqw99vjiiyMcxhoTIhY8Yy03J+CZnzIs0OdG0Vkp2b9GgHZZRty+XMZZ9TM0lQ2Fto ik6y7sGtIa0fCgL1JQnxwPfZOedf4eU5RLjUf6dLilki3JhebK/nw2y/la6xu37TMm0305Gr ihbndnKtXAN1hrT6tOdRvt8+Ues3yuE2QPL6uxcPEw4ibDXJ4Miz7M/jJYfrErOEyzslEnok aOablgo9+q25+j9fLnqu4WQO5J2hwz/KKgih8qyCvkiPAcURWiU4+G82aXm/U3+XbpFkOU7k rLcsJDGPcQbobO5AxNN3oYj9Rm/CzCm3cwWk3cBIlxLdxKJgYjuNV/NJ/72F+mzj0mjnjhq2 f3KJLzhApPRLnjZirjtZ6ty60pGyAYp0N9Q+YpYCrAHIP3tRk/8rMHUAgMjPwCpwOvqB89x2 p4QVG+MGKOVLr7evUeN5u01IumMYIEVuCz6K/gg//PgkXg5lkQDcqmzwZsbcnK2HvViI0qCe 3rsg8sOEWcRswUjSOzqkkeOXiNNaHqqRaIz+ik7CJ66DYfEXo2inKeO3CaiEpJLeG9GFEuBH mn0eIWAWvcMcDmSLdF7njwDT7ihRNxp6Rb74ATwyv9rI/T89yYctIr42Z5y/eKFxj8o8jkhW /6a2WyXUydUn2cCXT493IhzpVY7xlrVgvswuOBRCdEGv6ABaQw9L5OJl4RH
  • Ironport-sdr: Gr+5+kiP5WsMjUlH26FtqHttI8bGW7klWnSd8s2BkQHkKTHgQvmHAJ8Wl67zxAahjBeTk2jhSo zZzK+V2ktvUw==
  • List-archive: <>
  • List-help: <>
  • List-subscribe: <>, <>
  • List-unsubscribe: <>, <>
  • Thread-index: Adcc149b1EC1JDUrTee9VW+6Nl0L5gCDlncAAHIIdoA=
  • Thread-topic: [cbi-dev] Building maven artifacts for Eclipse SUMO

Thank you – I tried and with your help, we are now able to clone the repository. I was also able to use ubuntu:20.04 as a custom image. My next move was to install the compiler tools (apt-get update && apt-get install cmake gcc …). Unfortunately, that fails with:


[Pipeline] sh

+ apt-get update

Reading package lists...

E: List directory /var/lib/apt/lists/partial is missing. - Acquire (13: Permission denied)

[Pipeline] }


I read that you are running the docker images without root privileges – how can we install the compilers and necessary libraries to the stock ubuntu image?


Thanks for any pointers,



From: cbi-dev <cbi-dev-bounces@xxxxxxxxxxx> On Behalf Of Mikael Barbero
Sent: Monday, March 22, 2021 8:38 AM
To: Common-build Developers discussion <cbi-dev@xxxxxxxxxxx>
Cc: karl.schrab@xxxxxxxxxxxxxxxxxxx; Behrisch, Michael <Michael.Behrisch@xxxxxx>
Subject: Re: [cbi-dev] Building maven artifacts for Eclipse SUMO


Hi Robert, 


see my answers inline.


On 19 Mar 2021, at 17:12, Robert.Hilbrich@xxxxxx wrote:


Hi CBI-Dev members,


the Eclipse SUMO project is currently hosted on GitHub, based on C++ and built with GitHub actions & cmake. As part of our build process, we also create jars (java-bindings for an interface to SUMO – see:, which we would like to make publicly available for maven builds. Unfortunately, GitHub Packages require an access token to consume maven artifacts which is a show stopper for other projects relying on our packages. Therefore, we decided to use the Eclipse infrastructure and opened a bug to have created for us. So far so good … 


Unfortunately, we cannot push the artifacts from the GitHub actions build to, because upload from external sources is currently not possible. Therefore, our only options seems to be to also build SUMO on Jenkins (in addition to the GitHub actions) and to publish the artifacts from the Jenkins build. 


We tried to go through the wiki page and experimented with a basic Jenkinsfile on (see: For this purpose, we started with a “Multibranch Pipeline” configuration ( However, the repository cloning process already fails at 58% with an exception – as seen in the logs below.


Our questions are:

  • Is our approach ok? Is there a better way to achieve our goal?


This approach is perfectly fine.

  • How can we successfully clone the repo in the container infrastructure? Yes – the repo of SUMO has grown to a repo size of 750MB over the years …


Given the size of the repo, the build job resources may need to be tweaked (the jnlp container to be precise). Could you please open a ticket at so that we can help you with this?


  • How can we use an ubuntu image with cmake and gcc to build SUMO (instead of maven:alpine)?


You can build you own image, push it to docker hub (or quay or gcr) and use that from your Jenkinsfile. See for details.

  • How can we configure the infrastructure to trigger the Jenkins build based on tagged commits to the GitHub Repository master branch only?


I don't think it's possible to trigger builds on tagged commits in a specific branch only, but I guess the Jenkinsfile can be adapted to filter steps on branch/tags in order to do what you want (see





Mikaël Barbero 

Manager — Release Engineering and Technology | Eclipse Foundation

🐦 @mikbarbero

Eclipse Foundation: The Platform for Open Innovation and Collaboration


Back to the top