We have the following Jenkins pipeline script.
pipeline {
agent any
stages {
stage('Run in Sandbox'){
steps {
dir('Pot') {
checkout scmGit(branches: [[name: '*/main']], userRemoteConfigs: [[credentialsId: 'Innovation_Git_User', url: 'https://git.sipi.net/innovation/pot.git']])
}
dir('Utilities') {
checkout scmGit(branches: [[name: '*/master']], userRemoteConfigs: [[credentialsId: 'Test_Automation_User', url: 'https://git.ipi.net/test/UtilityScripts.git']])
}
}
}
}
}
We received an 'HTTP Basic: Access denied' message. Interestingly, each checkout command runs smoothly on its own, so we're confident that the credentials are correct. We’d really appreciate any guidance or suggestions you might have. Thank you!