username password

This commit is contained in:
Gregory Hendrickson
2023-06-09 16:35:43 -07:00
parent 6400b5899b
commit 204ad02dda

2
Jenkinsfile vendored
View File

@@ -26,7 +26,7 @@ pipeline {
stage('Pull and Deploy') {
steps {
withCredentials([(credentialsId: 'ssh-cred', passwordVariable: 'password', usernameVariable: 'userName')]) {
withCredentialss([usernamePassword(credentialsId: 'ssh-cred', passwordVariable: 'password', usernameVariable: 'userName')]) {
script {
def remote = [:]
remote.allowAnyHosts = true