pipeline { agent any stages { stage('Build') { steps { echo 'Building..' echo sh(script: 'env|sort', returnStdout: true) echo "${GIT_URL}" checkout scmGit(branches: [[name: '*/main']], extensions: [], gitTool: 'Default', userRemoteConfigs: [[credentialsId: '0a6bde36-8857-4631-bbf8-68b44626eb27', url: "${GIT_URL}"]]) } } stage('Test') { steps { echo 'Testing..' } } stage('Deploy') { steps { echo 'Deploying....' } } } }