This is an automated email from the ASF dual-hosted git repository.
peterxcli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 1468af02067 HDDS-13731. Extra parent dir appeared in CI artifacts
(#9088)
1468af02067 is described below
commit 1468af02067ec75b255f605816c32f8bf4dfaabf
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Fri Oct 3 09:12:09 2025 +0200
HDDS-13731. Extra parent dir appeared in CI artifacts (#9088)
---
.github/workflows/check.yml | 5 ++---
hadoop-ozone/dev-support/checks/javadoc.sh | 18 ++++++++++++++++--
2 files changed, 18 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index c2d9e39ad1d..a94508b7c6c 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -254,9 +254,8 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: ${{ (inputs.split && format('{0}-{1}', inputs.script,
inputs.split)) || inputs.script }}
- path: |
- target/${{ inputs.script }}
- target/reports/apidocs
+ # please keep path as a single item; move to that directory all
files needed in the artifact
+ path: target/${{ inputs.script }}
continue-on-error: true
# The following steps are hard-coded to be run only for 'build' check,
diff --git a/hadoop-ozone/dev-support/checks/javadoc.sh
b/hadoop-ozone/dev-support/checks/javadoc.sh
index fa1bfcc376b..b1b09bf4923 100755
--- a/hadoop-ozone/dev-support/checks/javadoc.sh
+++ b/hadoop-ozone/dev-support/checks/javadoc.sh
@@ -14,9 +14,23 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-set -e
+set -u -o pipefail
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd "$DIR/../../.." || exit 1
-mvn javadoc:aggregate
+BASE_DIR="$(pwd -P)"
+REPORT_DIR=${OUTPUT_DIR:-"${BASE_DIR}/target/javadoc"}
+REPORT_FILE="$REPORT_DIR/summary.txt"
+
+MAVEN_OPTIONS="-B -fae -DskipRecon --no-transfer-progress ${MAVEN_OPTIONS:-}"
+
+mvn ${MAVEN_OPTIONS} javadoc:aggregate "$@" | tee output.log
+rc=$?
+
+mkdir -p "$REPORT_DIR"
+mv output.log target/reports/apidocs ${REPORT_DIR}/
+
+ERROR_PATTERN="\[ERROR\]"
+
+source "${DIR}/_post_process.sh"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]