Skip to content

Commit

Permalink
Fix pgp sign
Browse files Browse the repository at this point in the history
Previous commit didn't make it work.
  • Loading branch information
akurtakov committed Sep 27, 2024
1 parent ca976ab commit 1dd211b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pipeline {
sh '''
mavenArgs="clean verify --batch-mode -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true -Dtycho.p2.baselineMode=failCommon"
if [[ ${BRANCH_NAME} == master ]] || [[ ${BRANCH_NAME} =~ m2e-[0-9]+\\.[0-9]+\\.x ]]; then
mvn ${mavenArgs} -Peclipse-sign,its -DDtycho.pgp.signer.bc.secretKeys="${KEYRING}" -Dgpg.passphrase="${KEYRING_PASSPHRASE}" -Dgpg.keyname="011C526F29B2CE79"
mvn ${mavenArgs} -Peclipse-sign,its -DDtycho.pgp.signer.bc.secretKeys="${KEYRING}" -Dgpg.passphrase="${KEYRING_PASSPHRASE}"
else
# Clear KEYRING_PASSPHRASE environment variable
export KEYRING_PASSPHRASE='EMPTY'
Expand Down
1 change: 1 addition & 0 deletions org.eclipse.m2e.repository/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
<configuration>
<signer>bc</signer>
<skipIfJarsigned>true</skipIfJarsigned>
<keyname>011C526F29B2CE79</keyname>
</configuration>
</execution>
</executions>
Expand Down

0 comments on commit 1dd211b

Please sign in to comment.