Use git credential for pinned template engine install

This commit is contained in:
2026-03-31 01:13:58 +02:00
parent d581b1a348
commit 138a9644be

3
Jenkinsfile vendored
View File

@@ -34,7 +34,9 @@ pipeline {
}
stage('Build') {
steps {
withCredentials([sshUserPrivateKey(credentialsId: 'gitea-ssh', keyFileVariable: 'GIT_KEYFILE')]) {
sh '''
export GIT_SSH_COMMAND="ssh -i $GIT_KEYFILE -o StrictHostKeyChecking=accept-new"
if command -v sudo >/dev/null 2>&1 && sudo -n true >/dev/null 2>&1; then
sudo apt-get update -y
sudo apt-get install -y python3-venv python3-pip make build-essential libpq-dev \
@@ -64,6 +66,7 @@ pipeline {
'''
}
}
}
stage('Lint') {
steps {
sh '''