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

Get rid of job-to-bc branch and make master branch as source of truth #18

Closed
wants to merge 91 commits into from

Conversation

hrishin
Copy link
Member

@hrishin hrishin commented Feb 28, 2018

Fixes #17

jstrachan and others added 30 commits March 6, 2017 16:02
…set on the property and only inserting/updating valid pipeline jobs with a jenkinsfile/path
…ok for files that match Jenkinsfile so no need to set optional BC value
…he generated BuildConfigs don't generate new Jobs via the BuildWatcher
# Conflicts:
#	src/main/java/io/fabric8/jenkins/openshiftsync/BuildConfigToJobMapper.java
…uffix by default for the generated BuildConfig names
…us fullPath logic and allow BCs to be annotated to avoid creating a linked jenkins job
…reated via openshift look nice and clean inside Jenkins
so we can use off the shelf releases of workflow-multibranch without needing a PR merged etc
if users delete a BC it would be nice to remove it from the parent github org folder plugin's pattern too
if its there; to avoid it coming back again.
fixes openshift#141
with a build.openshift.io API Group defined to sync pipeline jobs to BuildConfig and Build resources
for non-pipeline jobs lets support the creation of Jenkins jobs from ConfigMap resources labelled correctly
that store the config.xml in the ConfigMap data.

This lets us create jobs like the github org job via the kubernetes REST API without requiring access to a Jenkins master for openshift.io/fabric8.

One day we could have a new BuildConfig kind in openshift and we could migrate to using that; but until then this simple approach allows us to use ConfigMaps for arbitrary jenkins jobs which are not pipelines
rawlingsj and others added 25 commits September 26, 2017 11:20
 - added more logging for creating watch request
 - updated kubernetes client to 3.1.5
 - increased polling interval from 10 seconds to 3-5 minutes
- added find bug
- updated dependecy versions
1. With introduction of Jenkins ideler/proxy have to fix the console URL generation With that higher precedence is given to ENV VAR (JENKINS_ROOT_URL) having proxy URL, otherwise, URL of Jenkins service if it does exist in OpenShift. This issue is fixed in BuildSyncRunListener.java
2. Added the unit test for this fix : BuildSyncRunListenerTest.java
3. Fixed test execution issue : Upgraded <artifactId>credentials</artifactId> dependency version
4. Updated README.md with this URL configuration section
- increasted buildsync default polling time from 1 seconds to 5 seconds
- updated README.md for this change
@jimmidyson
Copy link

Sorry I don't have time to maintain or review anything on this project any more.

@jimmidyson jimmidyson removed their request for review February 28, 2018 12:31
@hrishin hrishin closed this Mar 1, 2018
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.

8 participants