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

Reduce logging verbosity on upserting build #27

Merged
merged 1 commit into from
Nov 21, 2016
Merged

Reduce logging verbosity on upserting build #27

merged 1 commit into from
Nov 21, 2016

Conversation

jimmidyson
Copy link
Contributor

No description provided.

@jimmidyson jimmidyson merged commit a385bc6 into jenkinsci:master Nov 21, 2016
gabemontero added a commit that referenced this pull request May 24, 2018
* Fixed the issue of duplicate pipeline

Right now, when the buildconfig name is different then git repo name
then sync plugin is not able to find buildconfig by repo name while
syncing back to openshift after creating a buildconfig with strategy
JenkinsPipeline, and create a new buildconfig repo name, To fix this
issue, added a label of gitRepository name so it will first try to
find the BuildConfig with name of jenkins job, if that is not present
that is our case then it will also try to find the buildconfig having
label with the name of jenkins job and then if it is not present will
create a new BuildConfig #27

Declared constant variable for label key

Removed NPE and added comments in the code to always know the context behind this

* Updated wrong logging in #28 PR
mikenairn pushed a commit to mikenairn/openshift-sync-plugin that referenced this pull request May 28, 2018
* Fixed the issue of duplicate pipeline

Right now, when the buildconfig name is different then git repo name
then sync plugin is not able to find buildconfig by repo name while
syncing back to openshift after creating a buildconfig with strategy
JenkinsPipeline, and create a new buildconfig repo name, To fix this
issue, added a label of gitRepository name so it will first try to
find the BuildConfig with name of jenkins job, if that is not present
that is our case then it will also try to find the buildconfig having
label with the name of jenkins job and then if it is not present will
create a new BuildConfig jenkinsci#27

Declared constant variable for label key

Removed NPE and added comments in the code to always know the context behind this

* Updated wrong logging in jenkinsci#28 PR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants