Skip to content

Commit 1ffe6f4

Browse files
committed
Forcing Jenkins to actually use the ssh key
1 parent 23ad3b2 commit 1ffe6f4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

benchmarks/Jenkinsfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ pipeline {
6969
cd ${CLONE_DIR}
7070
git add --all
7171
git commit -m "Jenkins Updating Benchmark Results BUILD-NUMBER:${BUILD_NUMBER}" || echo "-----no changes to commit-----"
72-
git push origin HEAD:main --force
72+
export GIT_SSH_COMMAND="ssh -i ${deploy_key}"
73+
git push origin HEAD:main --force
7374
fi
7475
'''
7576
}

0 commit comments

Comments
 (0)