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

Add support for GitLab Branch Source plugin #1405

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ljackiewicz
Copy link

@ljackiewicz ljackiewicz commented Nov 23, 2023

These changes add support for GitLab Branch Source plugin. These were based on components that add support for similar plugin - GitHub Branch Source.

The solution was manually tested on own Jenkins instance.

Example of JobDSL script (for creating Multibranch Pipeline with "GitLab project" as source):

multibranchPipelineJob('example') {
  branchSources {
    branchSource {
      source {
        gitlab {
          id('example-id')
          credentialsId('gitlab-ci')
          projectOwner('ownerName')
          projectPath('ownerName/projectName')
        }
      }
    }
  }
}

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@ljackiewicz ljackiewicz requested a review from a team as a code owner November 23, 2023 19:14
@ljackiewicz
Copy link
Author

@jamietanna Is there any chance of merging this?

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