Class QuayImageStep

java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
io.jenkins.plugins.quay.QuayImageStep
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>

public class QuayImageStep extends org.jenkinsci.plugins.workflow.steps.Step
Pipeline step for fetching Quay.io image tags. Usage in Jenkinsfile:
 def imageRef = quayImage(
     organization: 'my-org',
     repository: 'my-repo',
     credentialsId: 'quay-token',
     tag: 'latest'  // optional, defaults to most recent
 )
 echo "Image: ${imageRef}"
 
  • Constructor Details

    • QuayImageStep

      @DataBoundConstructor public QuayImageStep(@NonNull String organization, @NonNull String repository)
  • Method Details

    • getOrganization

      public String getOrganization()
    • getRepository

      public String getRepository()
    • getCredentialsId

      public String getCredentialsId()
    • setCredentialsId

      @DataBoundSetter public void setCredentialsId(String credentialsId)
    • getTag

      public String getTag()
    • setTag

      @DataBoundSetter public void setTag(String tag)
    • isListTags

      public boolean isListTags()
    • setListTags

      @DataBoundSetter public void setListTags(boolean listTags)
    • getTagLimit

      public int getTagLimit()
    • setTagLimit

      @DataBoundSetter public void setTagLimit(int tagLimit)
    • start

      public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
      Specified by:
      start in class org.jenkinsci.plugins.workflow.steps.Step
      Throws:
      Exception