Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Jenkinsfile to notarize MacOS dmgs separately
Use tracecompass-test.Jenkinsfile for testing purposes for now. If successful, then tracecompass-jdk17.Jenkinsfile and others will be updated. Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
- Loading branch information
Showing
2 changed files
with
63 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2024 Ericsson. | ||
* | ||
* This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License 2.0 | ||
* which accompanies this distribution, and is available at | ||
* https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*******************************************************************************/ | ||
pipeline { | ||
agent { | ||
kubernetes { | ||
label 'tracecompass-notarize-build' | ||
yamlFile 'jenkins/pod-templates/tracecompass-sonar-pod.yaml' | ||
} | ||
} | ||
options { | ||
timestamps() | ||
timeout(time: 4, unit: 'HOURS') | ||
disableConcurrentBuilds() | ||
} | ||
stages { | ||
stage('Notarize macos RCP packages') { | ||
when { | ||
not { expression { return params.RCP_DESTINATION == null || params.RCP_DESTINATION.isEmpty() } } | ||
} | ||
steps { | ||
sshagent (['projects-storage.eclipse.org-bot-ssh']) { | ||
sh 'scripts/macosx-notarize.sh ${RCP_DESTINATION}' | ||
} | ||
} | ||
post { | ||
always { | ||
archiveArtifacts artifacts: '*.log', allowEmptyArchive: true | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters