Use Jenkins gitea-ssh credential for agent checkout

This commit is contained in:
2026-03-15 01:36:10 +01:00
parent 0558cea18b
commit 08b4247850

2
Jenkinsfile vendored
View File

@@ -14,6 +14,7 @@ pipeline {
stages {
stage('Checkout') {
steps {
sshagent(credentials: ['gitea-ssh']) {
sh '''
if [ -d .git ]; then
git remote set-url origin ssh://git@git.mandelblog.com:2222/salt/mandelstudio.git
@@ -25,6 +26,7 @@ pipeline {
'''
}
}
}
stage('Build') {
steps {
sh '''