The error with the password is how as: stderr: fatal: Authentication failed for 'https://****@gitlab.company.com/username/cc_terraform_aws.git/'
From: Joaquin Henriquez Sent: 31 August 2018 17:31 To: '[email protected]' Subject: Pull a Second CheckSCM Hi Guys Looking for some assistant here: stage('Get Terraform Repo') { steps { echo 'Getting Terraform Repo....' checkout scm withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: 'devops_user_password', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD']]) { echo USERNAME checkout([$class: 'GitSCM', branches: [[name: '*/master']], userRemoteConfigs: [[url: 'https://[email protected]/username/cc_terraform_aws.git',credentialsId:PASSWORD]]]) } } } This always give me: stderr: fatal: Authentication failed for 'https://gitlab.company.com/username/cc_terraform_aws.git/' When configuring the Pipeline for the “checkout scm” I put the same url (different project) and the same credentialsId and it works but on the second scm it doesn’t work because of credentials. BR Jo -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/39d672503d1543518ff3a97278b1e3fd%40BSKEXCH2013HYPV.mwrinfosecurity.com. For more options, visit https://groups.google.com/d/optout.
