Skip to content

Changes

Summary

  1. [tracecompass-test.Jenkinsfile] First draft of notarization... (details)
  2. [tracecompass-test.Jenkinsfile] Follow-up - refactor notarization script... (details)
  3. [tracecompass-test.Jenkinsfile] Correct definition of parameter (details)
  4. [tracecompass-test.Jenkinsfile] Use tracecompass container (details)
  5. [RCP][mac] add Jenkins stage for notarization (details)
  6. [RCP][mac] follow-up: cleanup (details)
  7. Remove setting of NOTARIZE_MAC_RCP in relevant jenkins files. (details)
  8. Add RCP_FEATURE_FILE parameter to jenkins file (details)
  9. Update maven version to 3.9.5 in JDK17 Jenkinsfiles (details)
  10. Add SLF4J_PROPERTIES_MANIFEST parameter to jenkins file (details)
  11. Update build javadoc step (details)
  12. Add jenkins file with maven 3.8.6 (details)
Commit 170b2b3b4095562a08657db0a4078004451cb20b by Marc Dumais
[tracecompass-test.Jenkinsfile] First draft of notarization...

of mac .dmg packages (TraceCompass RPC package for mac)

This commit adds the necessary to notarize the mac .dmg packages,
as a test or example. This is exploratory and will require a follow
up, probably to refine the approach, and once it works, to add it
in the proper place (JenkinsFile / Jenkins job).

As noted in the code, this is heavily inspired by an Eclipse EPP
script and Jenkins job configuration. See code for details.

Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
Change-Id: Ib97133b16e14bbc79a3eb32116ad2b028d2d4183
The file was addedscripts/macosx-notarize-dmg.sh
The file was modified jenkins/pipelines/tracecompass-test.Jenkinsfile
Commit 73b6819acf8f1b9e9dcc74c5aa51432bd8dc9102 by Marc Dumais
[tracecompass-test.Jenkinsfile] Follow-up - refactor notarization script...

Merged into a single script, the existing notarization script and
the one that was embedded in the JenkinsFile.

Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
Change-Id: Ia69526750809c9c18094c0997e67b927dfb2b269
The file was removedscripts/macosx-notarize-dmg.sh
The file was addedscripts/macosx-notarize.sh
The file was modified jenkins/pipelines/tracecompass-test.Jenkinsfile
Commit 617b90e69ba6722d8996dd11b584c63665a00658 by Marc Dumais
[tracecompass-test.Jenkinsfile] Correct definition of parameter

Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
Change-Id: I2a4bf69582743fda180d0dcf2dd4152d21413651
The file was modified jenkins/pipelines/tracecompass-test.Jenkinsfile
Commit b093cc791af3e6c782aefc19474ecfb815047db8 by Bernd Hufmann
[tracecompass-test.Jenkinsfile] Use tracecompass container

This will allow doing deployments to the download server through ssh.

Change-Id: Ieb7092024ae48dae0e4ea59bb911e913153b8971
Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
The file was modified jenkins/pipelines/tracecompass-test.Jenkinsfile
Commit fbbab22208556441be10b8cd06a8473ab2875fad by Bernd Hufmann
[RCP][mac] add Jenkins stage for notarization

This stage is only executed if the Jenkins parameter "NOTARIZE_MAC_RCP",
that we introduce in this patch, is set to true. The default value is
false, and needs to be overridden in specific Jenkins jobs that really
require it (notarization is a limited resource).

Also, enhanced the notarization script to permit more than one package
being notarized at the same time and separately log the output of each
notarization for eventual troubleshooting.

Note: Notatization requires that mac .dmg packages be first generated
for the rcp product. The necessary is already in place, in the main
trace compass repo, and can be triggered in Jenkins jobs by adding the
maven argument "-Prcp-DMG-package-mac" in the appropriate field for
parameter "MAVEN_ARGS".

Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
Change-Id: I9356718c1e2d1a8551f36e751f806ebff50dc706
The file was modified scripts/macosx-notarize.sh
The file was modified jenkins/pipelines/tracecompass-jdk17.Jenkinsfile
The file was modified jenkins/pipelines/tracecompass-test.Jenkinsfile
The file was modified jenkins/pipelines/tracecompass-jdk11.Jenkinsfile
Commit 6f0a7057d7ee25feeee82a7ba9c373a744c49adc by Marc Dumais
[RCP][mac] follow-up: cleanup

Cleaned-up a couple of things: leftover linter configuration comments
in JenkinsFile's and the non-working mechanism to add subshell PIDs
to notarization printouts. This last one is not really needed anyway
since we save a per-file notarization log that can be used to
troubleshoot, if need be.

Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
Change-Id: Ie825fa2f307846364f15cc5bd6f0df3cfbcbeef2
The file was modified scripts/macosx-notarize.sh
The file was modified jenkins/pipelines/tracecompass-jdk11.Jenkinsfile
The file was modified jenkins/pipelines/tracecompass-test.Jenkinsfile
The file was modified jenkins/pipelines/tracecompass-jdk17.Jenkinsfile
Commit 014dfdd0045168896c47079596ec2f1076269b15 by Bernd Hufmann
Remove setting of NOTARIZE_MAC_RCP in relevant jenkins files.

It seems that the setting of default value in the jenkins file take
precedence of the setting of the value in the jenkins job. Hence,
notarization has not been executed.

Implement parameter NOTARIZE_MAC_RCP the same way than other flags, for
example DEPLOY_RCP, and don't set it in the jenkinsfile. The jenkins job
configuration can take care of setting the value and provide a default
setting.

Change-Id: I1b552f1585d1e53f4b327454eb91332037a7f024
Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
The file was modified jenkins/pipelines/tracecompass-jdk17.Jenkinsfile
The file was modified jenkins/pipelines/tracecompass-jdk11.Jenkinsfile
The file was modified jenkins/pipelines/tracecompass-test.Jenkinsfile
Commit 06cb45711296be00d1d7a33b25e3b6d410e652b7 by Patrick Tasse
Add RCP_FEATURE_FILE parameter to jenkins file

Add a stage to overwrite the RCP feature.xml file if the
RCP_FEATURE_FILE string parameter is defined.

The string value should be the relative path to the feature.xml file
from the root of the RCP feature plug-in.

Change-Id: I617f5fba8240b34b511bdac8791f2fc4030337e3
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
The file was modified jenkins/pipelines/tracecompass-jdk17.Jenkinsfile
The file was modified jenkins/pipelines/tracecompass-jdk11.Jenkinsfile
Commit 21907250aac985e87f515011b57512ae2bcc3e8e by Patrick Tasse
Update maven version to 3.9.5 in JDK17 Jenkinsfiles

Change-Id: Ib783f084909941d8830e42c7cf708cb9ef4dbc48
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
The file was modified jenkins/pipelines/tracecompass-jdk17.Jenkinsfile
The file was modified jenkins/pipelines/tracecompass-sonar.Jenkinsfile
The file was modified jenkins/pipelines/tracecompass-incubator-jdk17.Jenkinsfile
The file was modified jenkins/pipelines/tracecompass-test.Jenkinsfile
Commit 18cf6bfdbb621483041cd56ca320434de77ae33e by Patrick Tasse
Add SLF4J_PROPERTIES_MANIFEST parameter to jenkins file

Add a stage to overwrite the SLF4J Simple Binding Properties Fragment
Plug-in manifest if the SLF4J_PROPERTIES_MANIFEST string parameter is
defined.

The string value should be the relative path to the MANIFEST.MF file
from the root of the SLF4J Simple Binding Properties fragment plug-in.

Change-Id: Icce4c82cacb4defdb417ab8b2fbc46a47b6889cb
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
The file was modified jenkins/pipelines/tracecompass-jdk17.Jenkinsfile
The file was modified jenkins/pipelines/tracecompass-jdk11.Jenkinsfile
Commit 90fb10a52a1114afe15cd3587d0e1a4d64a4c466 by Bernd Hufmann
Update build javadoc step

Due to Tycho upgrade to 4.0.3 it is necessary to add compile to the
javadoc step.

Change-Id: I156f534a6d5f46d6ff405e8888e128ef7395b9dd
Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
The file was modified jenkins/pipelines/tracecompass-incubator-jdk17.Jenkinsfile
The file was modified jenkins/pipelines/tracecompass-jdk17.Jenkinsfile
Commit 5ec430490a02a54d95a0d7b372bc6a8b5f1d7f2f by Patrick Tasse
Add jenkins file with maven 3.8.6

This maven version is required to build older stable branches.

Remove JDK11 jenkins files that are no longer used.

Change-Id: I43f8f02f4f7492cee2f5995672ad4a5ebc8b6328
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
The file was removedjenkins/pipelines/tracecompass-incubator-jdk11.Jenkinsfile
The file was addedjenkins/pipelines/tracecompass-jdk17-mvn38.Jenkinsfile
The file was removedjenkins/pipelines/tracecompass-jdk11.Jenkinsfile

Summary

  1. releng: Enable automatic update in the RCP for 9.2 release (details)
Commit 817d8b3a4c6455c1bab7575949dd6f50903bb4dc by Patrick Tasse
releng: Enable automatic update in the RCP for 9.2 release

Change-Id: I6ee53d978263272913c15f97a2c1fcae612893aa
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/205614
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
The file was modified rcp/org.eclipse.tracecompass.rcp.product/legacy-e4.26-e4.29/tracing.product
The file was modified rcp/org.eclipse.tracecompass.rcp.branding/plugin_customization.ini
The file was modified rcp/org.eclipse.tracecompass.rcp.product/legacy-e4.23-e4.25/tracing.product
The file was modified rcp/org.eclipse.tracecompass.rcp.product/tracing.product
The file was modified rcp/org.eclipse.tracecompass.rcp.product/legacy/tracing.product