Skip to content

Commit 28ae215

Browse files
committed
[Build] Use bash explicitly in first build step to fix signing
See https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/5061
1 parent 966b76d commit 28ae215

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pipeline {
2525
string(credentialsId: 'gpg-passphrase', variable: 'KEYRING_PASSPHRASE')
2626
]) {
2727
xvnc(useXauthority: true) {
28-
sh '''
28+
sh '''#!/bin/bash -x
2929
mavenArgs="clean verify --batch-mode -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true -Dtycho.p2.baselineMode=failCommon"
3030
if [[ ${BRANCH_NAME} == master ]] || [[ ${BRANCH_NAME} =~ m2e-[0-9]+\\.[0-9]+\\.x ]]; then
3131
mvn ${mavenArgs} -Peclipse-sign,its -DDtycho.pgp.signer.bc.secretKeys="${KEYRING}" -Dgpg.passphrase="${KEYRING_PASSPHRASE}"
@@ -54,7 +54,7 @@ pipeline {
5454
}
5555
steps {
5656
sshagent(['projects-storage.eclipse.org-bot-ssh']) {
57-
sh '''#!/bin/bash
57+
sh '''#!/bin/bash -x
5858
deployM2ERepository()
5959
{
6060
echo Deploy m2e repo to ${1}

0 commit comments

Comments
 (0)