conjur-api 6.0.0.pre.94 → 6.0.0.pre.96

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/Jenkinsfile +17 -17
  3. data/VERSION +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12ce978d5cb26691a74513c1197065c11a7bab6281149288232cffc223402656
4
- data.tar.gz: 88439b9a02e9e2e21061c3cc6af56af8cd7a67a576e16702ba3df59dda638879
3
+ metadata.gz: 2f6ebf2e014fd2a9e51e11d926a67e6c7bdb7fa16fef87b42c0f0bfc8ada0f1c
4
+ data.tar.gz: e6065168159b25031bc65e547c347727ec5b2737237e6ca2d9a39491af725e2e
5
5
  SHA512:
6
- metadata.gz: 25319c2ecf51a6b6a7e10051d0c8140b14f71ef41a5d1183b4c9e768194a2137c2e5b5691beeebb85b11bae85b96f9813895d20846e9dc92705322844cd5aab5
7
- data.tar.gz: 38307b2e705826bb924404654f62a9aed257011664c8712d638fa271c3791305e20f5abf7ebaa879152d996631e1244eaa0438777ca18a68c89d6cf494aa16ac
6
+ metadata.gz: c9b01045706457216e9ec88de7da7b352bb99e3f2437f3fb2a8bbd1fbfd3b8e1f6c114e94aa176b5b8254e5be684aad54d2dddc4a3d6b6cd59c052b7caa373f6
7
+ data.tar.gz: f5f417e0ad8f3237dfd7588d59a9ffc0a56783cb21fe0f10c67f55e7993a5d1a18617bafe80806c7ab5b7dad5f9c8fb650fdd4dee568177b16988efebec2f1fa
data/Jenkinsfile CHANGED
@@ -8,8 +8,8 @@ properties([
8
8
  ])
9
9
 
10
10
  if (params.MODE == "PROMOTE") {
11
- release.promote(params.VERSION_TO_PROMOTE) { sourceVersion, targetVersion, assetDirectory ->
12
- sh './publish.sh'
11
+ release.promote(params.VERSION_TO_PROMOTE) { infrapool, sourceVersion, targetVersion, assetDirectory ->
12
+ infrapool.agentSh './publish.sh'
13
13
  }
14
14
 
15
15
  // Copy Github Enterprise release to Github
@@ -51,22 +51,22 @@ pipeline {
51
51
  stage('Get InfraPool Agent') {
52
52
  steps {
53
53
  script {
54
- INFRAPOOL_EXECUTORV2_AGENT_0 = getInfraPoolAgent.connected(type: "ExecutorV2", quantity: 1, duration: 1)[0]
54
+ infrapool = getInfraPoolAgent.connected(type: "ExecutorV2", quantity: 1, duration: 1)[0]
55
55
  }
56
56
  }
57
57
  }
58
58
 
59
59
  stage('Validate Changelog and set version') {
60
60
  steps {
61
- parseChangelog(INFRAPOOL_EXECUTORV2_AGENT_0)
62
- updateVersion(INFRAPOOL_EXECUTORV2_AGENT_0, "CHANGELOG.md", "${BUILD_NUMBER}")
61
+ parseChangelog(infrapool)
62
+ updateVersion(infrapool, "CHANGELOG.md", "${BUILD_NUMBER}")
63
63
  }
64
64
  }
65
65
 
66
66
  stage('Prepare CC Report Dir'){
67
67
  steps {
68
68
  script {
69
- INFRAPOOL_EXECUTORV2_AGENT_0.agentSh 'mkdir -p coverage'
69
+ infrapool.agentSh 'mkdir -p coverage'
70
70
  }
71
71
  }
72
72
  }
@@ -77,8 +77,8 @@ pipeline {
77
77
  }
78
78
  steps {
79
79
  script {
80
- INFRAPOOL_EXECUTORV2_AGENT_0.agentSh "./test.sh"
81
- INFRAPOOL_EXECUTORV2_AGENT_0.agentStash name: 'reports3.0', includes: '**/reports/*.xml'
80
+ infrapool.agentSh "./test.sh"
81
+ infrapool.agentStash name: 'reports3.0', includes: '**/reports/*.xml'
82
82
  }
83
83
  }
84
84
  post {
@@ -94,8 +94,8 @@ pipeline {
94
94
  }
95
95
  steps {
96
96
  script {
97
- INFRAPOOL_EXECUTORV2_AGENT_0.agentSh "./test.sh"
98
- INFRAPOOL_EXECUTORV2_AGENT_0.agentStash name: 'reports3.1', includes: '**/reports/*.xml'
97
+ infrapool.agentSh "./test.sh"
98
+ infrapool.agentStash name: 'reports3.1', includes: '**/reports/*.xml'
99
99
  }
100
100
  }
101
101
  post {
@@ -111,8 +111,8 @@ pipeline {
111
111
  }
112
112
  steps {
113
113
  script {
114
- INFRAPOOL_EXECUTORV2_AGENT_0.agentSh "./test.sh"
115
- INFRAPOOL_EXECUTORV2_AGENT_0.agentStash name: 'reports3.2', includes: '**/reports/*.xml'
114
+ infrapool.agentSh "./test.sh"
115
+ infrapool.agentStash name: 'reports3.2', includes: '**/reports/*.xml'
116
116
  }
117
117
  }
118
118
  post {
@@ -125,7 +125,7 @@ pipeline {
125
125
  stage('Submit Coverage Report'){
126
126
  steps{
127
127
  script {
128
- INFRAPOOL_EXECUTORV2_AGENT_0.agentStash name: 'coverage', includes: '**/coverage/**'
128
+ infrapool.agentStash name: 'coverage', includes: '**/coverage/**'
129
129
  }
130
130
  unstash 'coverage'
131
131
 
@@ -166,16 +166,16 @@ pipeline {
166
166
 
167
167
  steps {
168
168
  script {
169
- release(INFRAPOOL_EXECUTORV2_AGENT_0) {
169
+ release(infrapool) {
170
170
  // Clean up all but the calculated VERSION
171
- INFRAPOOL_EXECUTORV2_AGENT_0.agentSh '''docker run -i --rm -v $(pwd):/src -w /src --entrypoint /bin/sh alpine/git \
171
+ infrapool.agentSh '''docker run -i --rm -v $(pwd):/src -w /src --entrypoint /bin/sh alpine/git \
172
172
  -c "git config --global --add safe.directory /src && \
173
173
  git clean -fdx \
174
174
  -e VERSION \
175
175
  -e bom-assets/ \
176
176
  -e release-assets" '''
177
- INFRAPOOL_EXECUTORV2_AGENT_0.agentSh './publish.sh'
178
- INFRAPOOL_EXECUTORV2_AGENT_0.agentSh 'cp conjur-api-*.gem release-assets/.'
177
+ infrapool.agentSh './publish.sh'
178
+ infrapool.agentSh 'cp conjur-api-*.gem release-assets/.'
179
179
  }
180
180
  }
181
181
  }
data/VERSION CHANGED
@@ -1 +1 @@
1
- 6.0.0-94
1
+ 6.0.0-96
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conjur-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0.pre.94
4
+ version: 6.0.0.pre.96
5
5
  platform: ruby
6
6
  authors:
7
7
  - CyberArk Maintainers