Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[embed-cdt-dev] Bad macOS binaries

After several more tests, the conclusion is that the way the maven build is started by Jenkins probably requires some more parameters that I don't provide.

Exactly the same repository, on my local machine, creates perfectly functional macOS binaries.

-----

The local build is started with

$ mvn clean verify -Pepp.package.embedcdt

And the result looks like:


total 1504048
-rw-r--r--  1 ilg  staff  258773571 Jul 27 19:48 20200727-1647_eclipse-embedcdt-2020-03-R-linux.gtk.x86_64.tar.gz
-rw-r--r--  1 ilg  staff        131 Jul 27 19:48 20200727-1647_eclipse-embedcdt-2020-03-R-linux.gtk.x86_64.tar.gz.sha
-rw-r--r--  1 ilg  staff  252923439 Jul 27 19:48 20200727-1647_eclipse-embedcdt-2020-03-R-macosx.cocoa.x86_64.tar.gz
-rw-r--r--  1 ilg  staff        134 Jul 27 19:48 20200727-1647_eclipse-embedcdt-2020-03-R-macosx.cocoa.x86_64.tar.gz.sha
-rw-r--r--  1 ilg  staff  258359118 Jul 27 19:48 20200727-1647_eclipse-embedcdt-2020-03-R-win32.win32.x86_64.zip
-rw-r--r--  1 ilg  staff        130 Jul 27 19:48 20200727-1647_eclipse-embedcdt-2020-03-R-win32.win32.x86_64.zip.sha
drwxr-xr-x  7 ilg  staff        224 Jul 27 19:48 repository
~/My Files/WKS Projects/gnu-mcu-eclipse.github/org.eclipse.epp.packages.git

Done. The build used:
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /Users/ilg/opt/apache-maven-3.6.3
Java version: 11.0.2, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Home
Default locale: en_GB, platform encoding: UTF-8
OS name: "mac os x", version: "10.15.6", arch: "x86_64", family: "mac"


-----


On Jenkins it is started with a much more complicated sequence:

[make-packages] $ /opt/tools/java/openjdk/jdk-11/latest/bin/java -cp /home/jenkins/agent/maven35-agent.jar:/opt/tools/apache-maven/3.6.3/boot/plexus-classworlds-2.6.0.jar:/opt/tools/apache-maven/3.6.3/conf/logging jenkins.maven3.agent.Maven35Main /opt/tools/apache-maven/3.6.3 /usr/share/jenkins/agent.jar /home/jenkins/agent/maven35-interceptor.jar /home/jenkins/agent/maven3-interceptor-commons.jar 37185
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven:  -B -f /home/jenkins/agent/workspace/make-packages/pom.xml clean verify -Pepp.package.embedcdt

And the result is:

total 758796
-rw-r--r-- 1 genie.embed-cdt iot.embed-cdt 258588826 Jul 27 12:56 eclipse-embedcdt-2020-03-R-linux.gtk.x86_64.tar.gz
-rw-r--r-- 1 genie.embed-cdt iot.embed-cdt       117 Jul 27 12:56 eclipse-embedcdt-2020-03-R-linux.gtk.x86_64.tar.gz.sha
-rw-r--r-- 1 genie.embed-cdt iot.embed-cdt 252761981 Jul 27 12:56 eclipse-embedcdt-2020-03-R-macosx.cocoa.x86_64.tar.gz
-rw-r--r-- 1 genie.embed-cdt iot.embed-cdt       120 Jul 27 12:56 eclipse-embedcdt-2020-03-R-macosx.cocoa.x86_64.tar.gz.sha
-rw-r--r-- 1 genie.embed-cdt iot.embed-cdt 258514114 Jul 27 12:56 eclipse-embedcdt-2020-03-R-win32.win32.x86_64.zip
-rw-r--r-- 1 genie.embed-cdt iot.embed-cdt       116 Jul 27 12:56 eclipse-embedcdt-2020-03-R-win32.win32.x86_64.zip.sha

-----

As it can be seen, the files have different sizes, which, at least for me, is not expected when running the same maven configuration.


Any suggestions?

Thank you,

Liviu






Back to the top