jenkins.plugins.clangscanbuild
Class ClangScanBuildBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
jenkins.plugins.clangscanbuild.ClangScanBuildBuilder
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Builder>, hudson.tasks.BuildStep
public class ClangScanBuildBuilder
- extends hudson.tasks.Builder
This builder provides a new build step for freestyle jobs. Users can
execute Clang scan-build against their XCode projects
- Author:
- Joshua Kennedy
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
| Methods inherited from class hudson.tasks.Builder |
all, getRequiredMonitorService, prebuild |
| Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
getProjectAction, 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 |
DESCRIPTOR
@Extension
public static final ClangScanBuildDescriptor DESCRIPTOR
ClangScanBuildBuilder
@DataBoundConstructor
public ClangScanBuildBuilder(String target,
String targetSdk,
String config,
String clangInstallationName,
String xcodeProjectSubPath)
getClangInstallationName
public String getClangInstallationName()
getTarget
public String getTarget()
getTargetSdk
public String getTargetSdk()
getConfig
public String getConfig()
getXcodeProjectSubPath
public String getXcodeProjectSubPath()
- Removing slashes here in case the user adds a starting slash to the path.
perform
public boolean perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
- This method is invoked when a job is actually executed. It is the magic method.
- Specified by:
perform in interface hudson.tasks.BuildStep- Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
- Returns:
- boolean - if 'false', build will be aborted
getDescriptor
public ClangScanBuildDescriptor getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>- Overrides:
getDescriptor in class hudson.tasks.Builder
Copyright © 2004-2011. All Rights Reserved.