Class AnsibleTowerProjectRevisionFreestyle

java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
org.jenkinsci.plugins.ansible_tower.AnsibleTowerProjectRevisionFreestyle
All Implemented Interfaces:
ExtensionPoint, Describable<Builder>, BuildStep

public class AnsibleTowerProjectRevisionFreestyle extends Builder
Author:
Janario Oliveira
  • Constructor Details

    • AnsibleTowerProjectRevisionFreestyle

      @DataBoundConstructor public AnsibleTowerProjectRevisionFreestyle(@NonNull String towerServer, String towerCredentialsId, @NonNull String project, String revision, Boolean verbose, Boolean throwExceptionWhenFail)
  • Method Details

    • getTowerServer

      @NonNull public String getTowerServer()
    • getTowerCredentialsId

      public String getTowerCredentialsId()
    • getProject

      @NonNull public String getProject()
    • getRevision

      public String getRevision()
    • getVerbose

      public Boolean getVerbose()
    • getThrowExceptionWhenFail

      public Boolean getThrowExceptionWhenFail()
    • setTowerServer

      @DataBoundSetter public void setTowerServer(String towerServer)
    • setTowerCredentialsId

      @DataBoundSetter public void setTowerCredentialsId(String towerCredentialsId)
    • setProject

      @DataBoundSetter public void setProject(String project)
    • setRevision

      @DataBoundSetter public void setRevision(String revision)
    • setVerbose

      @DataBoundSetter public void setVerbose(Boolean verbose)
    • setThrowExceptionWhenFail

      @DataBoundSetter public void setThrowExceptionWhenFail(Boolean throwExceptionWhenFail)
    • perform

      public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
      Specified by:
      perform in interface BuildStep
      Overrides:
      perform in class BuildStepCompatibilityLayer
      Throws:
      InterruptedException
      IOException