Skip to content

Commit

Permalink
Merge pull request #7 from Conjur-Enterprise/changelog
Browse files Browse the repository at this point in the history
CONJSE-1838: Validate CHANGELOG in CI
  • Loading branch information
szh authored and GitHub Enterprise committed Feb 15, 2024
2 parents 14aa07c + dee0f07 commit 1958762
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Added
- Initial release

[Unreleased]: https://github.com/cyberark/conjur/compare/v0.0.1...HEAD
[0.0.1]: https://github.com/cyberark/conjur-cli-go/releases/tag/v0.0.1
15 changes: 15 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,21 @@ pipeline {
}
}

stage('Validate Changelog') {
steps {
script {
parseChangelog(infrapool)
}
}
}

// Generates a VERSION file based on the current build number and latest version in CHANGELOG.md
stage('Validate Changelog and set version') {
steps {
updateVersion(infrapool, "CHANGELOG.md", "${BUILD_NUMBER}")
}
}

stage('Test workflow') {
steps {
script {
Expand Down

0 comments on commit 1958762

Please sign in to comment.