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("")'.

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

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)

step([$class: 'GitChangelogRecorder']): Git Changelog

See Git Changelog Plugin for details on how to configure and use this plugin.

  • config
      Nested Object
    • configFile : String (optional)
    • createFileTemplateContent : String (optional)
    • createFileTemplateFile : String (optional)
    • createFileUseTemplateContent : boolean (optional)
    • createFileUseTemplateFile : boolean (optional)
    • customIssues (optional)
        Array / List of Nested Object
      • name : String
      • pattern : String
      • link : String
      • title : String
    • dateFormat : String (optional)
    • file : String (optional)
    • fromReference : String (optional)
    • fromType : String (optional)
    • gitHubApi : String (optional)
    • gitHubApiTokenCredentialsId : String (optional)
    • gitHubIssuePattern : String (optional)
    • gitHubToken : String (optional)
    • gitLabApiTokenCredentialsId : String (optional)
    • gitLabProjectName : String (optional)
    • gitLabServer : String (optional)
    • gitLabToken : String (optional)
    • ignoreCommitsIfMessageMatches : String (optional)
    • ignoreCommitsWithoutIssue : boolean (optional)
    • ignoreTagsIfNameMatches : String (optional)
    • jiraBasicAuthString : String (optional)
    • jiraBasicAuthStringCredentialsId : String (optional)
    • jiraBearer : String (optional)
    • jiraBearerCredentialsId : String (optional)
    • jiraIssuePattern : String (optional)
    • jiraPassword : String (optional)
    • jiraServer : String (optional)
    • jiraUsername : String (optional)
    • jiraUsernamePasswordCredentialsId : String (optional)
    • noIssueName : String (optional)
    • readableTagName : String (optional)
    • redmineIssuePattern : String (optional)
    • redminePassword : String (optional)
    • redmineServer : String (optional)
    • redmineToken : String (optional)
    • redmineTokenCredentialsId : String (optional)
    • redmineUserNamePasswordCredentialsId : String (optional)
    • redmineUsername : String (optional)
    • showSummary : boolean (optional)
    • showSummaryTemplateContent : String (optional)
    • showSummaryTemplateFile : String (optional)
    • showSummaryUseTemplateContent : boolean (optional)
    • showSummaryUseTemplateFile : boolean (optional)
    • subDirectory : String (optional)
    • timeZone : String (optional)
    • toReference : String (optional)
    • toType : String (optional)
    • untaggedName : String (optional)
    • useConfigFile : boolean (optional)
    • useFile : boolean (optional)
    • useGitHub : boolean (optional)
    • useGitLab : boolean (optional)
    • useIgnoreTagsIfNameMatches : boolean (optional)
    • useJira : boolean (optional)
    • useReadableTagName : boolean (optional)
    • useRedmine : boolean (optional)
    • useSubDirectory : boolean (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.