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
ac4b923b
Commit
ac4b923b
authored
Oct 12, 2017
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More promote script fixes
See gh-9316
parent
81d1b3c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
promote.sh
ci/scripts/promote.sh
+2
-2
No files found.
ci/scripts/promote.sh
View file @
ac4b923b
...
...
@@ -40,7 +40,7 @@ if [[ $RELEASE_TYPE = "RELEASE" ]]; then
-u
${
ARTIFACTORY_USERNAME
}
:
${
ARTIFACTORY_PASSWORD
}
\
-H
"Content-type:application/json"
\
-u
${
ARTIFACTORY_USERNAME
}
:
${
ARTIFACTORY_PASSWORD
}
\
-d
"{
\"
sourceRepos
\"
: [
\"
libs-release-local
\"
],
\"
targetRepo
\"
:
\"
spring-distributions
\"
}"
-d
"{
\"
sourceRepos
\"
: [
\"
libs-release-local
\"
],
\"
targetRepo
\"
:
\"
spring-distributions
\"
}"
\
-f
\
-X
\
POST
"
${
ARTIFACTORY_SERVER
}
/api/build/distribute/
${
buildName
}
/
${
buildNumber
}
"
>
/dev/null
||
{
echo
"Failed to publish"
>
&2
;
exit
1
;
}
...
...
@@ -50,7 +50,7 @@ if [[ $RELEASE_TYPE = "RELEASE" ]]; then
--connect-timeout
240
\
--max-time
900
\
-u
${
BINTRAY_USERNAME
}
:
${
BINTRAY_PASSWORD
}
\
-H
"Content-Type: application/json"
-d
"{
\"
username
\"
:
\"
${
SONATYPE_USERNAME
}
\"
,
\"
password
\"
:
\"
${
SONATYPE_PASSWORD
}
\"
}"
-H
"Content-Type: application/json"
-d
"{
\"
username
\"
:
\"
${
SONATYPE_USERNAME
}
\"
,
\"
password
\"
:
\"
${
SONATYPE_PASSWORD
}
\"
}"
\
-f
\
-X
\
POST
"https://api.bintray.com/maven_central_sync/
${
BINTRAY_SUBJECT
}
/
${
BINTRAY_REPO
}
/
${
groupId
}
/versions/
${
version
}
"
>
/dev/null
||
{
echo
"Failed to sync"
>
&2
;
exit
1
;
}
...
...
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