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
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
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
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.