Commit 18c5484a authored by Tuukka Lehtonen's avatar Tuukka Lehtonen
Browse files

Fix code signing

(cherry picked from commit 38eb2a09)
parent 0eb13e10
Pipeline #3817 passed with stages
in 2 minutes and 59 seconds
......@@ -30,6 +30,8 @@ cache:
base64 -d ${KEYSTORE} > ${KEYSTORE}.keystore
echo "jarsigner.keystore=${KEYSTORE}.keystore" >> ${SIGN_PROPERTIES}
if [ -n "$TSA" ]; then echo "jarsigner.tsa=${TSA}" >> ${SIGN_PROPERTIES}; fi
else
rm -f ${KEYSTORE}.keystore
fi
fi
......@@ -67,6 +69,10 @@ build:
before_script:
- *setup_signing
script:
- |
if [[ -f "${KEYSTORE}.keystore" ]]; then
export MAVEN_CLI_OPTS="$MAVEN_CLI_OPTS -Dsign=true -Dsign.properties=${SIGN_PROPERTIES}"
fi
- mvn ${MAVEN_CLI_OPTS} -B clean verify
artifacts:
paths:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment