try today...

This commit is contained in:
Kameron Kenny - pi501 2024-12-28 12:33:51 -05:00
parent 4c6f11c6b6
commit 9ceeddfd14
1 changed files with 6 additions and 2 deletions

8
Jenkinsfile vendored
View File

@ -1,4 +1,8 @@
pipeline {
// environment {
// remote = [:]
// withCredentials([sshUserPrivateKey(credentialsId: 'jenkins', keyFileVariable: 'identity', usernameVariable: 'username')]) {
// remote.user = $userName
agent {
label 'pi501.in.thelinuxpro.net'
@ -23,8 +27,8 @@ pipeline {
remote.name = "pi501.in.thelinuxpro.net"
remote.host = "pi501.in.thelinuxpro.net"
remote.allowAnyHosts = true
remote.user = userName
remote.identityFile = identity
remote.user = $userName
remote.identityFile = $identity
sh 'echo $remote'
sh 'echo $remote.user'