Files
linux/Jenkinsfile.old
T
cristiano 7a105ae0ef
HomeLab/Gitea HomeLab/pipeline/head This commit looks good
testing jenkinsfile
2026-05-02 14:12:59 +10:00

17 lines
403 B
Plaintext

pipeline {
agent any
stages {
stage('Checkout') {
steps {
withCredentials([string(credentialsId: 'jenkins', variable: 'MY_TOKEN')]) {
if (isUnix()) {
sh 'git clone https://$MY_TOKEN@ggit.niascom.net/homelab/linux.gi'
} else {
bat 'git clone https://%MY_TOKEN%@git.niascom.net/homelab/linux.git'
}
}
}
}
}
}