Package io.jenkins.plugins.quay
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}"
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTag()intbooleanvoidsetCredentialsId(String credentialsId) voidsetListTags(boolean listTags) voidvoidsetTagLimit(int tagLimit) org.jenkinsci.plugins.workflow.steps.StepExecutionstart(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
Constructor Details
-
QuayImageStep
-
-
Method Details
-
getOrganization
-
getRepository
-
getCredentialsId
-
setCredentialsId
-
getTag
-
setTag
-
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:
startin classorg.jenkinsci.plugins.workflow.steps.Step- Throws:
Exception
-