Package io.fabric8.jenkins.openshiftsync
Class PipelineJobListener
java.lang.Object
hudson.model.listeners.ItemListener
io.fabric8.jenkins.openshiftsync.PipelineJobListener
- All Implemented Interfaces:
ExtensionPoint
Listens to
WorkflowJob
objects being updated via the web console or
Jenkins REST API and replicating the changes back to the OpenShift
BuildConfig
for the case where folks edit inline Jenkinsfile flows
inside the Jenkins UI-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
ConstructorsConstructorDescriptionPipelineJobListener
(String server, String[] namespaces, String jobNamePattern) -
Method Summary
Methods inherited from class hudson.model.listeners.ItemListener
all, checkBeforeCopy, fireLocationChange, fireOnCopied, fireOnCreated, fireOnDeleted, fireOnUpdated, onBeforeShutdown, onCheckCopy, onCopied, onLoaded, onLocationChanged, onRenamed, register
-
Constructor Details
-
PipelineJobListener
public PipelineJobListener() -
PipelineJobListener
-
-
Method Details
-
toString
-
onCreated
- Overrides:
onCreated
in classItemListener
-
onUpdated
- Overrides:
onUpdated
in classItemListener
-
onDeleted
- Overrides:
onDeleted
in classItemListener
-
upsertItem
-