Clean up credentials
This commit is contained in:
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@@ -18,7 +18,7 @@ pipeline {
|
||||
$class: 'GitSCM',
|
||||
branches: [[name: 'master']],
|
||||
extensions: [],
|
||||
userRemoteConfigs: [[credentialsId: 'tools-deploy-key', url: '_gitea@gitea.release11.com:R11/release11-tools.git']]
|
||||
userRemoteConfigs: [[credentialsId: 'tools-deploy-key-gitea', url: '_gitea@gitea.release11.com:R11/release11-tools.git']]
|
||||
])
|
||||
}
|
||||
}
|
||||
@@ -31,10 +31,7 @@ pipeline {
|
||||
ansiblePlaybook(
|
||||
playbook: 'TOOLS.yml',
|
||||
inventory: 'inventory/hosts',
|
||||
credentialsId: 'tools-deploy-key',
|
||||
extraVars: [
|
||||
login: 'netadm'
|
||||
]
|
||||
credentialsId: 'tools-deploy-key-netadm'
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user