mirror of
https://github.com/ghndrx/docker-test-image.git
synced 2026-02-10 06:45:05 +00:00
username password
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -26,7 +26,7 @@ pipeline {
|
|||||||
|
|
||||||
stage('Pull and Deploy') {
|
stage('Pull and Deploy') {
|
||||||
steps {
|
steps {
|
||||||
withCredentials([(credentialsId: 'ssh-cred', passwordVariable: 'password', usernameVariable: 'userName')]) {
|
withCredentialss([usernamePassword(credentialsId: 'ssh-cred', passwordVariable: 'password', usernameVariable: 'userName')]) {
|
||||||
script {
|
script {
|
||||||
def remote = [:]
|
def remote = [:]
|
||||||
remote.allowAnyHosts = true
|
remote.allowAnyHosts = true
|
||||||
|
|||||||
Reference in New Issue
Block a user