Skip to content

Commit

Permalink
Deploy integration-tests javadoc and sources (NVIDIA#807)
Browse files Browse the repository at this point in the history
Deploy integration-tests Javadoc and sources to the Sonatype repo, otherwise, it will report below errors when closing the Sonatype staging jars:

"Event: Failed: Sources Validation"

"Event: Failed: Javadoc Validation"

Signed-off-by: Tim Liu <timl@nvidia.com>

Co-authored-by: Tim Liu <timl@nvidia.com>
  • Loading branch information
NvTimLiu and NvTimLiu authored Sep 18, 2020
1 parent 79941e6 commit 7fb3ee9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jenkins/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,7 @@ $DEPLOY_CMD -Durl=$SERVER_URL -DrepositoryId=$SERVER_ID \
TESTS_ART_ID=`mvn help:evaluate -q -pl $TESTS_PL -Dexpression=project.artifactId -DforceStdout`
TESTS_ART_VER=`mvn help:evaluate -q -pl $TESTS_PL -Dexpression=project.version -DforceStdout`
TESTS_FPATH="$TESTS_PL/target/$TESTS_ART_ID-$TESTS_ART_VER"
TESTS_DOC_JARS="-Dsources=${TESTS_FPATH}-sources.jar -Djavadoc=${TESTS_FPATH}-javadoc.jar"
$DEPLOY_CMD -Durl=$SERVER_URL -DrepositoryId=$SERVER_ID \
$TESTS_DOC_JARS \
-Dfile=$TESTS_FPATH.jar -DpomFile=${TESTS_PL}/pom.xml

0 comments on commit 7fb3ee9

Please sign in to comment.