The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

Git Changelog

getHighestSemanticVersion: Get the highest version, determined by tags in repo. Also tag available as '.findTag().orElse("")'.

  • repo : String (optional)

getNextSemanticVersion: Next semantic version based on tags and conventional commits in Git repository

  • from (optional)
      Nested Object
    • type
      • Values: REF, COMMIT
    • value : String
  • majorPattern : String (optional)
  • minorPattern : String (optional)
  • patchPattern : String (optional)
  • repo : String (optional)
  • to (optional)
      Nested Object
    • type
      • Values: REF, COMMIT
    • value : String

gitChangelog: Changelog from Git repository

  • customIssues (optional)
      Array / List of Nested Object
    • name : String
    • issuePattern : String
    • link : String (optional)
    • title : String (optional)
  • dateFormat : String (optional)
  • extendedVariables (optional)
      Array / List of Nested Object
    • name : String
    • value : String
  • from (optional)
      Nested Object
    • type
      • Values: REF, COMMIT
    • value : String
  • gitHub (optional)
      Nested Object
    • api : String
    • token : String
    • issuePattern : String
  • gitLab (optional)
      Nested Object
    • server : String
    • token : String
    • issuePattern : String
    • projectName : String
  • ignoreCommitsIfMessageMatches : String (optional)
  • ignoreCommitsIfOlderThan : String (optional)
  • ignoreCommitsWithoutIssue : boolean (optional)
  • ignoreTagsIfNameMatches : String (optional)
  • javascriptHelper : String (optional)
  • jira (optional)
      Nested Object
    • server : String
    • issuePattern : String
    • username : String
    • password : String
    • basicAuthString : String
    • bearer : String
  • noIssueName : String (optional)
  • readableTagName : String (optional)
  • redmine (optional)
      Nested Object
    • server : String
    • issuePattern : String
    • username : String
    • password : String
    • token : String
  • removeIssueFromMessage : boolean (optional)
  • repo : String (optional)
  • returnType (optional)
    • Values: STRING, CONTEXT
  • template : String (optional)
  • timeZone : String (optional)
  • to (optional)
      Nested Object
    • type
      • Values: REF, COMMIT
    • value : String
  • untaggedName : String (optional)

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

    


See existing feedback here.