Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
fb443aa3
Commit
fb443aa3
authored
Jul 02, 2018
by
Madhura Bhave
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.0.x'
parents
149c7a85
d15ca6e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
pipeline.yml
ci/pipeline.yml
+1
-2
promote.sh
ci/scripts/promote.sh
+1
-1
No files found.
ci/pipeline.yml
View file @
fb443aa3
...
@@ -419,9 +419,8 @@ jobs:
...
@@ -419,9 +419,8 @@ jobs:
plan
:
plan
:
-
get
:
spring-boot-ci-image
-
get
:
spring-boot-ci-image
-
get
:
git-repo
-
get
:
git-repo
trigger
:
true
-
get
:
artifactory-repo
-
get
:
artifactory-repo
trigger
:
fals
e
trigger
:
tru
e
passed
:
[
promote-release
]
passed
:
[
promote-release
]
params
:
params
:
save_build_info
:
true
save_build_info
:
true
...
...
ci/scripts/promote.sh
View file @
fb443aa3
...
@@ -49,7 +49,7 @@ if [[ $RELEASE_TYPE = "RELEASE" ]]; then
...
@@ -49,7 +49,7 @@ if [[ $RELEASE_TYPE = "RELEASE" ]]; then
WAIT_TIME
=
5
WAIT_TIME
=
5
COUNTER
=
0
COUNTER
=
0
while
[
$ARTIFACTS_PUBLISHED
==
"false"
]
&&
[
$COUNTER
-lt
60
]
;
do
while
[
$ARTIFACTS_PUBLISHED
==
"false"
]
&&
[
$COUNTER
-lt
60
]
;
do
result
=
$(
curl https://api.bintray.com/packages/
"
${
BINTRAY_SUBJECT
}
"
/
"
${
BINTRAY_REPO
}
"
/
"
${
groupId
}
"
)
result
=
$(
curl
-s
https://api.bintray.com/packages/
"
${
BINTRAY_SUBJECT
}
"
/
"
${
BINTRAY_REPO
}
"
/
"
${
groupId
}
"
)
versions
=
$(
echo
"
$result
"
| jq
-r
'.versions'
)
versions
=
$(
echo
"
$result
"
| jq
-r
'.versions'
)
exists
=
$(
echo
"
$versions
"
|
grep
"
$version
"
-o
||
true
)
exists
=
$(
echo
"
$versions
"
|
grep
"
$version
"
-o
||
true
)
if
[
"
$exists
"
=
"
$version
"
]
;
then
if
[
"
$exists
"
=
"
$version
"
]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment