Class DebianPbuilder

All Implemented Interfaces:
ExtensionPoint, Describable<Builder>, BuildStep, SimpleBuildStep

public class DebianPbuilder extends Builder implements SimpleBuildStep
Jenkins plugin that builds Debian packages in a pbuilder/cowbuilder environement. Based off of: https://jenkins-debian-glue.org/ The reason for having this as an actual plugin instead of the scripts is so that we can have builders on different machines that can all communicate back to the master Jenkins instance.
  • Constructor Details

    • DebianPbuilder

      @DataBoundConstructor public DebianPbuilder()
    • DebianPbuilder

      @Deprecated public DebianPbuilder(int numberCores, String distribution, String mirrorSite, boolean buildAsTag, String additionalBuildResults, String architecture)
      Deprecated.
  • Method Details

    • setNumberCores

      @DataBoundSetter public void setNumberCores(int cores)
    • setDistribution

      @DataBoundSetter public void setDistribution(String distribution)
    • setMirrorSite

      @DataBoundSetter public void setMirrorSite(String mirrorSite)
    • setBuildAsTag

      @DataBoundSetter public void setBuildAsTag(boolean buildAsTag)
    • setAdditionalBuildResults

      @DataBoundSetter public void setAdditionalBuildResults(String additionalBuildResults)
    • setArchitecture

      @DataBoundSetter public void setArchitecture(String architecture)
    • setDebianDirLocation

      @DataBoundSetter public void setDebianDirLocation(String debianDirLocation)
    • setKeyring

      @DataBoundSetter public void setKeyring(String keyring)
    • setComponents

      @DataBoundSetter public void setComponents(String components)
    • setGuessComponents

      @DataBoundSetter public void setGuessComponents(boolean guess)
    • setPristineTarName

      @DataBoundSetter public void setPristineTarName(String pristinetarName)
    • setOtherMirror

      @DataBoundSetter public void setOtherMirror(String otherMirror)
    • setExtraPackages

      @DataBoundSetter public void setExtraPackages(String extraPackages)
    • setGenerateArtifactorySpecFile

      @DataBoundSetter public void setGenerateArtifactorySpecFile(boolean generateSpec)
    • setArtifactoryRepoName

      @DataBoundSetter public void setArtifactoryRepoName(String repoName)
    • setPbuilderType

      @DataBoundSetter public void setPbuilderType(String pbuilderType)
    • getNumberCores

      public int getNumberCores()
    • getDistribution

      public String getDistribution()
    • getMirrorSite

      public String getMirrorSite()
    • getBuildAsTag

      public boolean getBuildAsTag()
    • getAdditionalBuildResults

      public String getAdditionalBuildResults()
    • getArchitecture

      public String getArchitecture()
    • getDebianDirLocation

      public String getDebianDirLocation()
    • getKeyring

      public String getKeyring()
    • isDebianDistribution

      public boolean isDebianDistribution()
    • isUbuntuDistribution

      public boolean isUbuntuDistribution()
    • getComponents

      public String getComponents()
    • getGuessComponents

      public boolean getGuessComponents()
    • getPristineTarName

      public String getPristineTarName()
    • getOtherMirror

      public String getOtherMirror()
    • getExtraPackages

      public String getExtraPackages()
    • getGenerateArtifactorySpecFile

      public boolean getGenerateArtifactorySpecFile()
    • getArtifactoryRepoName

      public String getArtifactoryRepoName()
    • getPbuilderType

      public String getPbuilderType()
    • setBinariesDir

      @DataBoundSetter public void setBinariesDir(String binariesDir)
    • getBinariesDir

      public String getBinariesDir()
    • setBindMounts

      @DataBoundSetter public void setBindMounts(String bindMounts)
    • getBindMounts

      public String getBindMounts()
    • perform

      public void perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener) throws InterruptedException, IOException
      Specified by:
      perform in interface SimpleBuildStep
      Throws:
      InterruptedException
      IOException
    • 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
    • getDescriptor

      public DebianPbuilder.DescriptorImpl getDescriptor()
      Specified by:
      getDescriptor in interface Describable<Builder>
      Overrides:
      getDescriptor in class Builder