Skip to content

Commit

Permalink
Merge pull request #10653 from NVIDIA/branch-24.04
Browse files Browse the repository at this point in the history
[auto-merge] branch-24.04 to branch-24.06 [skip ci] [bot]
  • Loading branch information
nvauto authored Apr 2, 2024
2 parents 3f8fcc6 + 9415a51 commit 7af7c53
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jenkins/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,15 @@ cp $JS_FPATH-javadoc.jar $FPATH-javadoc.jar

echo "Plan to deploy ${FPATH}.jar to $SERVER_URL (ID:$SERVER_ID)"

GPG_PLUGIN="org.apache.maven.plugins:maven-gpg-plugin:3.1.0:sign-and-deploy-file"
###### Choose the deploy command ######
if [ "$SIGN_FILE" == true ]; then
case $SIGN_TOOL in
nvsec)
DEPLOY_CMD="$MVN gpg:sign-and-deploy-file -Dgpg.executable=nvsec_sign"
DEPLOY_CMD="$MVN $GPG_PLUGIN -Dgpg.executable=nvsec_sign"
;;
gpg)
DEPLOY_CMD="$MVN gpg:sign-and-deploy-file -Dgpg.passphrase=$GPG_PASSPHRASE "
DEPLOY_CMD="$MVN $GPG_PLUGIN -Dgpg.passphrase=$GPG_PASSPHRASE "
;;
*)
echo "Error unsupported sign type : $SIGN_TYPE !"
Expand Down

0 comments on commit 7af7c53

Please sign in to comment.