-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nightly build fix - Jenkins pipeline (#1704)
This fix related with #1703 and etc/jenkins/build.groovy pipeline. Due security reason "Publish to nightly" stage is executed under different container, than EclipseLink build and tests. There should be Maven, but in different version, than el-buildcontainer used for a build and tests. Signed-off-by: Radek Felcman radek.felcman@oracle.com
- Loading branch information
Showing
3 changed files
with
36 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash -e | ||
# | ||
# Copyright (c) 2022 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: BSD-3-Clause | ||
|
||
# | ||
# Arguments: | ||
# N/A | ||
|
||
echo '-[ EclipseLink Nightly Build Preparation ]-----------------------------------------------------------' | ||
|
||
if [ ${CONTINUOUS_BUILD} = "true" ]; then | ||
echo '-[ EclipseLink Continuous Build -> No preparing any artifacts]-------------------------------' | ||
else | ||
echo '-[ EclipseLink Prepare Artifacts to Nightly ]-----------------------------------------------------------' | ||
mvn -V -B clean package -f bundles/nightly/pom.xml | ||
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