net.praqma.hudson.notifier
Class PucmNotifier
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
net.praqma.hudson.notifier.PucmNotifier
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep
public class PucmNotifier
- extends hudson.tasks.Notifier
PucmNotifier perfoms the user-chosen PUCM post-build actions
- Author:
- Troels Selch, Margit Bennetzen
| Nested classes/interfaces inherited from class hudson.tasks.Publisher |
hudson.tasks.Publisher.DescriptorExtensionListImpl |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
| Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
|
Constructor Summary |
PucmNotifier(boolean promote,
boolean recommended,
boolean makeTag,
boolean setDescription)
Deprecated. |
PucmNotifier(boolean promote,
boolean recommended,
boolean makeTag,
boolean setDescription,
boolean ucmDeliver,
java.lang.String alternateTarget,
java.lang.String baselineName,
boolean apply4level)
Deprecated. as of PUCM 0.3.8 |
PucmNotifier(boolean promote,
boolean recommended,
boolean makeTag,
boolean setDescription,
UCMDeliver ucmDeliver)
Deprecated. as of 0.3.16 |
PucmNotifier(boolean promote,
boolean recommended,
boolean makeTag,
boolean setDescription,
UCMDeliver ucmDeliver,
int promoteAction)
This constructor is used in the inner class DescriptorImpl. |
| Methods inherited from class hudson.tasks.Notifier |
getDescriptor |
| Methods inherited from class hudson.tasks.Publisher |
all, getProjectAction, prebuild |
| Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
getProjectAction, getProjectActions, perform, prebuild |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hudson.tasks.BuildStep |
getProjectAction, getProjectActions, prebuild |
__UNKNOWN_PROMOTE
public static final int __UNKNOWN_PROMOTE
- See Also:
- Constant Field Values
__NO_PROMOTE
public static final int __NO_PROMOTE
- See Also:
- Constant Field Values
__PROMOTE_STABLE
public static final int __PROMOTE_STABLE
- See Also:
- Constant Field Values
__PROMOTE_UNSTABLE
public static final int __PROMOTE_UNSTABLE
- See Also:
- Constant Field Values
PucmNotifier
public PucmNotifier(boolean promote,
boolean recommended,
boolean makeTag,
boolean setDescription)
- Deprecated.
- Before version 0.2.5(I think)
- Parameters:
promote - recommended - makeTag - setDescription -
PucmNotifier
public PucmNotifier(boolean promote,
boolean recommended,
boolean makeTag,
boolean setDescription,
boolean ucmDeliver,
java.lang.String alternateTarget,
java.lang.String baselineName,
boolean apply4level)
- Deprecated. as of PUCM 0.3.8
- This constructor is used in the inner class
DescriptorImpl.
- Parameters:
promote - if true, the baseline will be promoted after the
build.recommended - if true, the baseline will be marked
'recommended' in ClearCase.makeTag - if true, pucm will set a Tag() on the baseline in
ClearCase.
PucmNotifier
public PucmNotifier(boolean promote,
boolean recommended,
boolean makeTag,
boolean setDescription,
UCMDeliver ucmDeliver)
- Deprecated. as of 0.3.16
- This constructor is used in the inner class
DescriptorImpl.
- Parameters:
promote - if true, the baseline will be promoted after the
build.recommended - if true, the baseline will be marked
'recommended' in ClearCase.makeTag - if true, pucm will set a Tag() on the baseline in
ClearCase.ucmDeliver - The special deliver object, in which all the deliver parameters are encapsulated.
PucmNotifier
public PucmNotifier(boolean promote,
boolean recommended,
boolean makeTag,
boolean setDescription,
UCMDeliver ucmDeliver,
int promoteAction)
- This constructor is used in the inner class
DescriptorImpl.
- Parameters:
promote - - Baseline will not be promoted after the build
- Baseline will be promoted after the build if stable
- Baseline will be promoted after the build if unstable
recommended - if true, the baseline will be marked
'recommended' in ClearCase.makeTag - if true, pucm will set a Tag() on the baseline in
ClearCase.ucmDeliver - The special deliver object, in which all the deliver parameters are encapsulated.
needsToRunAfterFinalized
public boolean needsToRunAfterFinalized()
- This indicates whether to let pucm run after(true) the job is done or before(false)
- Overrides:
needsToRunAfterFinalized in class hudson.tasks.Publisher
getRequiredMonitorService
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
perform
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws java.lang.InterruptedException,
java.io.IOException
- Specified by:
perform in interface hudson.tasks.BuildStep- Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
- Throws:
java.lang.InterruptedException
java.io.IOException
getPromote
public boolean getPromote()
getPromoteAction
public int getPromoteAction()
isRecommended
public boolean isRecommended()
isMakeTag
public boolean isMakeTag()
isSetDescription
public boolean isSetDescription()
isUcmDeliver
public boolean isUcmDeliver()
getAlternateTarget
public java.lang.String getAlternateTarget()
getBaselineName
public java.lang.String getBaselineName()
getVersionFrom
public java.lang.String getVersionFrom()
getBuildnumberSequenceSelector
public java.lang.String getBuildnumberSequenceSelector()
getbuildnumberMajor
public java.lang.String getbuildnumberMajor()
getbuildnumberMinor
public java.lang.String getbuildnumberMinor()
getbuildnumberPatch
public java.lang.String getbuildnumberPatch()
Copyright © 2011. All Rights Reserved.