Skip to content

Commit 809a7c5

Browse files
authored
Merge pull request #210 from cyberark/fix-git-cleanup
Fixup git call to avoid safe.directory need
2 parents 498ab84 + e8eac54 commit 809a7c5

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

CHANGELOG.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,23 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

77
## Unreleased
8+
### Changed
9+
- Nothing should go in this section, please add to the latest unreleased version
10+
(and update the corresponding date), or add a new version.
11+
12+
## [5.3.8] - 2022-07-19
13+
814
### Added
915
- Added support for OIDC V2 authentication endpoint.
1016
[cyberark/cojnur-api-ruby#207](https://github.com/cyberark/conjur-api-ruby/pull/207)
1117
- Added support for OIDC authenticator providers endpoint.
1218
[cyberark/cojnur-api-ruby#207](https://github.com/cyberark/conjur-api-ruby/pull/207)
1319

14-
## [5.3.9] - 2022-05-12
15-
16-
### Changed
17-
- Adding operation call to fetch authentication providers
18-
[cyberark/conjur-api-ruby#206](https://github.com/cyberark/conjur-api-ruby/pull/206)
19-
20-
## [5.3.8] - 2022-04-26
21-
2220
### Changed
2321
- Remove support for Ruby versions <2.7 which are [end of life](https://endoflife.date/ruby).
2422
[cyberark/conjur-api-ruby#206](https://github.com/cyberark/conjur-api-ruby/pull/206)
23+
- Adding operation call to fetch authentication providers
24+
[cyberark/conjur-api-ruby#206](https://github.com/cyberark/conjur-api-ruby/pull/206)
2525

2626
## [5.3.7] - 2021-12-28
2727

Jenkinsfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,12 @@ pipeline {
115115
steps {
116116
release {
117117
// Clean up all but the calculated VERSION
118-
sh '''docker run -i --rm -v $PWD:/src -w /src alpine/git clean -fxd \
119-
-e VERSION \
120-
-e bom-assets/ \
121-
-e release-assets/ '''
118+
sh '''docker run -i --rm -v $(pwd):/src -w /src --entrypoint /bin/sh alpine/git \
119+
-c "git config --global --add safe.directory /src && \
120+
git clean -fdx \
121+
-e VERSION \
122+
-e bom-assets/ \
123+
-e release-assets" '''
122124
sh './publish.sh'
123125
sh 'cp conjur-api-*.gem release-assets/.'
124126
}

0 commit comments

Comments
 (0)