From af86f911f0a7c301f303d97900a8d2d0b38da420 Mon Sep 17 00:00:00 2001 From: Bartosz Kuzma Date: Sat, 18 Mar 2023 04:56:03 +0100 Subject: [PATCH] Clean up credentials --- Jenkinsfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c82755f..3127ab5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' ) } }