jenkinsci/git-changelog-plugin

Synchronise properties between freestyle and pipeline

Closed this issue · 1 comments

Feature Request

I.e. currently freestyle allows to generate changes file using template, but pipeline does not have such options.

https://localhost/pipeline-syntax/

Yes, no need for it.

 def changelogString = gitChangelog returnType: 'STRING',
  from: [type: 'REF', value: 'git-changelog-1.50'],
  to: [type: 'REF', value: 'master'],
  template: """
  whatever template
  """

writeFile file: "CHANGELOG.md", text: changelogString