Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't work with Gitlab Branch Source in multibranch pipeline #138

Open
AntonKolyadin opened this issue Aug 2, 2023 · 1 comment
Open
Labels

Comments

@AntonKolyadin
Copy link

AntonKolyadin commented Aug 2, 2023

Describe the bug
Pipeline don't work with Gitlab Branch Source in multibranch pipeline. Don't work code (in Remote Jenkins file):

stage('Checkout SCM') {
    steps {
        script {
            scmInfo = checkout scm
        }
    }
}

Jenkins 2.361.4
Gitlab Branch Source Plugin version 660.vd45c0f4c0042
Remote Jenkinsfile Provider Plugin version 1.23

@aytuncbeken
Copy link
Contributor

Hi @AntonKolyadin
In the multibranch pipeline, you don't need to checkout the SCM. It is automatically checking out the repo and the branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants