public class TagsHelper extends Object
Constructor and Description |
---|
TagsHelper() |
Modifier and Type | Method and Description |
---|---|
static String |
getLatestTag(org.jenkinsci.plugins.workflow.steps.StepContext context,
File dir,
boolean includeNonAnnotatedTags)
Return the last tag.
|
public static String getLatestTag(org.jenkinsci.plugins.workflow.steps.StepContext context, File dir, boolean includeNonAnnotatedTags) throws InterruptedException, IOException
context
- Jenkins context.dir
- The project's directory.includeNonAnnotatedTags
- If true include the non annotated tag.InterruptedException
IOException
Copyright © 2016–2022. All rights reserved.