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

Fixes startup ordering, especially an issue blocking Jenkins startup (oops!) #28

Merged
merged 7 commits into from
Nov 23, 2016
Merged

Fixes startup ordering, especially an issue blocking Jenkins startup (oops!) #28

merged 7 commits into from
Nov 23, 2016

Conversation

jimmidyson
Copy link
Contributor

No description provided.

@willemvd
Copy link

Can this be fixed asap?
This is blocking my installation, since it fails permanently to startup my Jenkins

@jimmidyson
Copy link
Contributor Author

Was waiting on a review, should be in today & released later. Out of interest, how are you using this? Via the RHEL test image? It's not in the Origin Jenkins image yet AFAIK (waiting on openshift/jenkins#204 which is blocked by this).

@willemvd
Copy link

I used the jenkins-persistent image and then updated all the plugins (we need to run all the plugins with the latest version since this is required by policy)

@jimmidyson
Copy link
Contributor Author

Ah OK - wonder if I can pull that release from Jenkins update site somehow.

@jimmidyson
Copy link
Contributor Author

Self-merging... if anyone has time to post-merge review I can fix up anything you find.

@jimmidyson jimmidyson merged commit 648686c into jenkinsci:master Nov 23, 2016
@jimmidyson
Copy link
Contributor Author

@willemvd Released 0.1.1 - will be indexed to Jenkins update centre in a few hours from experience.

@willemvd
Copy link

willemvd commented Nov 23, 2016

Great, thanks!

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