-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ant/Jenkins build - Nightly build extension to publish output to Jaka…
…rta snapshots (#1003) There are changes in build scripts called in Jenkins environment to publish build outputs/artifacts to Jakarta snapshots repository. It's useful for tests (TCKs or use nightly build output in Maven environment). There is parent pom (org.eclipse.ee4j:project) upgrade from 1.0.5 to 1.0.6 in pom files attached to published artifacts. Signed-off-by: Radek Felcman <[email protected]>
- Loading branch information
Showing
5 changed files
with
92 additions
and
28 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
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
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,31 @@ | ||
#!/bin/bash -e | ||
# | ||
# Copyright (c) 2021 Oracle and/or its affiliates. All rights reserved. | ||
# | ||
# This program and the accompanying materials are made available under the | ||
# terms of the Eclipse Distribution License v. 1.0, which is available at | ||
# http://www.eclipse.org/org/documents/edl-v10.php. | ||
# | ||
# SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause | ||
|
||
# | ||
# Arguments: | ||
# N/A | ||
#========================== | ||
# Basic Env Setup | ||
# | ||
#Directories | ||
RELENG_REPO=${HOME}/etc/jenkins | ||
DNLD_DIR=${HOME}/etc/jenkins/download | ||
|
||
echo '-[ EclipseLink Publish to Jakarta Snapshots ]-----------------------------------------------------------' | ||
. /etc/profile | ||
|
||
if [ ${CONTINUOUS_BUILD} = "true" ]; then | ||
echo '-[ EclipseLink Continuous Build -> No publishing any artifacts to Jakarta Snapshots]-------------------------------' | ||
else | ||
echo '-[ EclipseLink Publish to Nightly -> Publishing artifacts to Jakarta Snapshots]-----------------------------------------------------------' | ||
export ANT_OPTS=-Xmx4G | ||
set -o pipefail | ||
ant -f autobuild.xml build-snapshot -Denv.JAVA_HOME=${JAVA_HOME} -DM2_HOME=${HOME}/extension.lib.external/apache-maven-3.6.0 -Djdbc.driver.jar=${HOME}/extension.lib.external/mysql-connector-java-5.1.48.jar -Ddb.url=${TEST_DB_URL} -Ddb.user=${TEST_DB_USERNAME} -Ddb.pwd=${TEST_DB_PASSWORD} -Dextensions.depend.dir=${HOME}/extension.lib.external -Declipse.install.dir=${HOME}/extension.lib.external/eclipse -Djunit.lib=${HOME}/extension.lib.external/junit-4.12.jar:${HOME}/extension.lib.external/hamcrest-core-1.3.jar:${HOME}/extension.lib.external/jmockit-1.35.jar -Dhudson.workspace=${WORKSPACE} -Dtest.logging.level=INFO -Dfail.on.error=true -Dreleng.repo.dir=${RELENG_REPO} -Declipselink.root.download.dir=${DNLD_DIR} | ||
fi |
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
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