-
Notifications
You must be signed in to change notification settings - Fork 619
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 publisher to update the commit/merge request status in GitLab #229
Merged
coder-hugo
merged 3 commits into
jenkinsci:release-1.2
from
coder-hugo:feature/add-publishers-to-update-gitlab-status
Mar 16, 2016
Merged
Add publisher to update the commit/merge request status in GitLab #229
coder-hugo
merged 3 commits into
jenkinsci:release-1.2
from
coder-hugo:feature/add-publishers-to-update-gitlab-status
Mar 16, 2016
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…if addCiMessage was activated for the GitLabPushTrigger
This was referenced Mar 10, 2016
Thank you for this pull request! Please check this document for how the Jenkins project handles pull requests. |
fetzerch
added a commit
to fetzerch/jenkins-job-builder
that referenced
this pull request
Jun 17, 2016
Adds a gitlab-notifier publisher that allows to set the commit status on GitLab. The GitLab connection is specified using a property. Reference: jenkinsci/gitlab-plugin#229 Change-Id: I45b4ec2e3c5ff08922270c5c0539d4ee2086a752
openstack-gerrit
pushed a commit
to openstack/openstack
that referenced
this pull request
Jul 1, 2016
Project: openstack-infra/jenkins-job-builder 6e687e2e3222efdb75e619cd3f9a12d1c32351d7 Add support for GitLab notifier and connection property Adds a gitlab-notifier publisher that allows to set the commit status on GitLab. The GitLab connection is specified using a property. Reference: jenkinsci/gitlab-plugin#229 Change-Id: I45b4ec2e3c5ff08922270c5c0539d4ee2086a752
openstack-gerrit
pushed a commit
to openstack-infra/jenkins-job-builder
that referenced
this pull request
Jul 1, 2016
Adds a gitlab-notifier publisher that allows to set the commit status on GitLab. The GitLab connection is specified using a property. Reference: jenkinsci/gitlab-plugin#229 Change-Id: I45b4ec2e3c5ff08922270c5c0539d4ee2086a752
exceed-alae
pushed a commit
to exceed-alae/gitlab-plugin
that referenced
this pull request
May 20, 2022
[JENKINS-31214] added Job DSL for GhprbTrigger
mika
pushed a commit
to sipwise/jenkins-job-builder
that referenced
this pull request
Apr 29, 2024
Adds a gitlab-notifier publisher that allows to set the commit status on GitLab. The GitLab connection is specified using a property. Change-Id: I45b4ec2e3c5ff08922270c5c0539d4ee2086a752 Reference: jenkinsci/gitlab-plugin#229
mika
pushed a commit
to sipwise/jenkins-job-builder
that referenced
this pull request
Apr 29, 2024
Adds a gitlab-notifier publisher that allows to set the commit status on GitLab. The GitLab connection is specified using a property. Reference: jenkinsci/gitlab-plugin#229 Change-Id: I45b4ec2e3c5ff08922270c5c0539d4ee2086a752
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR moves the configuration (and execution) of the GitLab commit status updates to a publisher ("Publish build status to GitLab commit (GitLab 8.1+ required)"). With this change its possible to trigger builds manually without adding any special parameter and the status of the corresponding commit in GitLab gets updated. Additionally there is a initializer that migrates the configuration of old jobs to use this publisher automatically depending on their GitLabPushTrigger's configuration.
There is just one thing missing of the previous functionality: The commit status "pending" will not be sent to GitLab. The reason for this is that I haven't found any extension point that throws an event or something similar if a build was triggered but not yet started.
Fixes #162