Hi, I have a pipeline where I checkout two repositories, one with source code and the other with binaries that are part of the release. The latter uses the LFS git plugin.
My question is if there's a simpler way to declare I want to clone a git LFS repo other than the one I write below. The other repo description looks much simpler. I also noticed the configuration for the LFS repo left the HEAD detached. Thanks very much for your help. pipeline { agent any stages { stage('Checkout') { steps { dir('content') { checkout scm: [ $class: 'GitSCM', branches: [[name: 'refs/heads/master']], extensions: [[$class: 'GitLFSPull']], userRemoteConfigs: [[ credentialsId: 'TheID', url: 'https://bitbucket.org/COMPANY/content.git' ]] ] } dir('source') { git branch: 'master', url: 'https://bitbucket.org/COMPANY/source.git', credentialsId: 'TheID' } } } stage('Build') { steps { echo 'Building....' } } stage('Deploy') { steps { echo 'Deploying....' } } } } -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ec91fa16-de19-4b1b-aa11-0b3559418afb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.