@Extension
public class PipelineJobListener
extends hudson.model.listeners.ItemListener
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| Constructor and Description |
|---|
PipelineJobListener() |
PipelineJobListener(String server,
String[] namespaces,
String jobNamePattern) |
| Modifier and Type | Method and Description |
|---|---|
void |
onCreated(hudson.model.Item item) |
void |
onDeleted(hudson.model.Item item) |
void |
onUpdated(hudson.model.Item item) |
String |
toString() |
void |
upsertItem(hudson.model.Item item) |
public void onCreated(hudson.model.Item item)
onCreated in class hudson.model.listeners.ItemListenerpublic void onUpdated(hudson.model.Item item)
onUpdated in class hudson.model.listeners.ItemListenerpublic void onDeleted(hudson.model.Item item)
onDeleted in class hudson.model.listeners.ItemListenerpublic void upsertItem(hudson.model.Item item)
Copyright © 2016–2018 Red Hat. All rights reserved.