| ############################################################################### |
| # Copyright (c) 2023 Willink Transformations and others. |
| # |
| # 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 |
| # |
| # Contributors: |
| # E.D.Willink - initial API and implementation |
| ############################################################################### |
| # OCL publisher properties for use by the justj-promoter job: |
| # |
| # Since JustJ cannot accept an https promote specification |
| # the source job must wrap up the P2 repo using an execute step post-Maven |
| # |
| # cd releng/org.eclipse.ocl.releng.build-site/target/repository |
| # zip -qr ../../../../p2repo.zip . |
| # |
| # the promoter unwraps the P2 repo using an execute step pre-Maven |
| # |
| # curl -s -k ${BUILD_PROMOTE} > p2repo.zip |
| # unzip -q p2repo.zip -d p2repo |
| # |
| BUILD_COMMIT=-commit https://git.eclipse.org/c/ocl/org.eclipse.ocl.git/commit/?id=${env.GIT_COMMIT} |
| BUILD_PROMOTE=${env.BUILD_URL}artifact/p2repo.zip |
| BUILD_REMOTE=-remote genie.ocl@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/modeling.mdt/ocl |
| BUILD_ROOT=/home/jenkins/agent/workspace/justj-promoter/justj-sync |
| # -- need a way to strip the - character |
| #BUILD_TIMESTAMP=${buildTimestamp} |
| BUILD_TIMESTAMP= |
| BUILD_TYPE=${env.BUILD_TYPE} |