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

Merged

Conversation

ljackiewicz
Copy link
Contributor

@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
Contributor Author

@jamietanna Is there any chance of merging this?

Copy link
Member

@basil basil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

@basil basil merged commit c2ee60a into jenkinsci:master Aug 27, 2024
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants