hudson.tasks.BuildStepDescriptor Java Examples

The following examples show how to use hudson.tasks.BuildStepDescriptor. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TestNotifier.java    From jenkins-test-harness with MIT License 5 votes vote down vote up
@Override
public BuildStepDescriptor<Publisher> getDescriptor() {
    return new BuildStepDescriptor<Publisher>() {
        @Override
        public boolean isApplicable(Class<? extends AbstractProject> jobType) {
            return true;
        }
    };
}
 
Example #2
Source File: TestBuilder.java    From jenkins-test-harness with MIT License 5 votes vote down vote up
public Descriptor<Builder> getDescriptor() {
    // throw new UnsupportedOperationException();
    return new BuildStepDescriptor<Builder>() {
        @Override
        public boolean isApplicable(Class<? extends AbstractProject> jobType) {
            return true;
        }
    };
}
 
Example #3
Source File: ViolationsToGitHubRecorder.java    From violation-comments-to-github-plugin with MIT License 4 votes vote down vote up
@Override
public BuildStepDescriptor<Publisher> getDescriptor() {
  return DESCRIPTOR;
}
 
Example #4
Source File: GitChangelogRecorder.java    From git-changelog-plugin with MIT License 4 votes vote down vote up
@Override
public BuildStepDescriptor<Publisher> getDescriptor() {
  return DESCRIPTOR;
}
 
Example #5
Source File: ViolationsToBitbucketServerRecorder.java    From violation-comments-to-stash-plugin with MIT License 4 votes vote down vote up
@Override
public BuildStepDescriptor<Publisher> getDescriptor() {
  return DESCRIPTOR;
}
 
Example #6
Source File: LambdaUploadBuildStep.java    From aws-lambda-jenkins-plugin with MIT License 4 votes vote down vote up
@SuppressWarnings("unchecked")
@Override
public BuildStepDescriptor getDescriptor() {
    return (DescriptorImpl)super.getDescriptor();
}
 
Example #7
Source File: LambdaUploadPublisher.java    From aws-lambda-jenkins-plugin with MIT License 4 votes vote down vote up
@SuppressWarnings("unchecked")
@Override
public BuildStepDescriptor getDescriptor() {
    return (DescriptorImpl)super.getDescriptor();
}
 
Example #8
Source File: LambdaPublishPublisher.java    From aws-lambda-jenkins-plugin with MIT License 4 votes vote down vote up
@Override
public BuildStepDescriptor getDescriptor() {
    return (LambdaPublishPublisher.DescriptorImpl)super.getDescriptor();
}
 
Example #9
Source File: LambdaPublishBuildStep.java    From aws-lambda-jenkins-plugin with MIT License 4 votes vote down vote up
@SuppressWarnings("unchecked")
@Override
public BuildStepDescriptor getDescriptor() {
    return (LambdaPublishBuildStep.DescriptorImpl)super.getDescriptor();
}
 
Example #10
Source File: LambdaInvokeBuildStep.java    From aws-lambda-jenkins-plugin with MIT License 4 votes vote down vote up
@SuppressWarnings("unchecked")
@Override
public BuildStepDescriptor getDescriptor() {
    return (DescriptorImpl)super.getDescriptor();
}
 
Example #11
Source File: LambdaInvokePublisher.java    From aws-lambda-jenkins-plugin with MIT License 4 votes vote down vote up
@SuppressWarnings("unchecked")
@Override
public BuildStepDescriptor getDescriptor() {
    return (DescriptorImpl)super.getDescriptor();
}
 
Example #12
Source File: LambdaEventSourceBuildStep.java    From aws-lambda-jenkins-plugin with MIT License 4 votes vote down vote up
@SuppressWarnings("unchecked")
@Override
public BuildStepDescriptor getDescriptor() {
    return (DescriptorImpl)super.getDescriptor();
}
 
Example #13
Source File: LambdaEventSourcePublisher.java    From aws-lambda-jenkins-plugin with MIT License 4 votes vote down vote up
@Override
public BuildStepDescriptor getDescriptor() {
    return (DescriptorImpl) super.getDescriptor();
}
 
Example #14
Source File: GitHubPRLabelAddPublisher.java    From github-integration-plugin with MIT License 4 votes vote down vote up
@Override
public BuildStepDescriptor getDescriptor() {
    return (DescriptorImpl) Jenkins.getInstance().getDescriptor(GitHubPRLabelAddPublisher.class);
}