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
f1019e82
Commit
f1019e82
authored
Jul 24, 2020
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish integration of Gradle Enterprise in CI builds
parent
d435c19a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
pipeline.yml
ci/pipeline.yml
+11
-0
build-project.sh
ci/scripts/build-project.sh
+1
-1
No files found.
ci/pipeline.yml
View file @
f1019e82
...
@@ -8,10 +8,16 @@ anchors:
...
@@ -8,10 +8,16 @@ anchors:
username
:
((docker-hub-username))
username
:
((docker-hub-username))
password
:
((docker-hub-password))
password
:
((docker-hub-password))
tag
:
((milestone))
tag
:
((milestone))
gradle-enterprise-task-params
:
&gradle-enterprise-task-params
GRADLE_ENTERPRISE_ACCESS_KEY
:
((gradle_enterprise_secret_access_key))
GRADLE_ENTERPRISE_CACHE_USERNAME
:
((gradle_enterprise_cache_user.username))
GRADLE_ENTERPRISE_CACHE_PASSWORD
:
((gradle_enterprise_cache_user.password))
build-project-task-params
:
&build-project-task-params
build-project-task-params
:
&build-project-task-params
privileged
:
true
privileged
:
true
timeout
:
((task-timeout))
timeout
:
((task-timeout))
file
:
git-repo/ci/tasks/build-project.yml
file
:
git-repo/ci/tasks/build-project.yml
params
:
<<
:
*gradle-enterprise-task-params
github-task-params
:
&github-task-params
github-task-params
:
&github-task-params
GITHUB_REPO
:
spring-boot
GITHUB_REPO
:
spring-boot
GITHUB_ORGANIZATION
:
spring-projects
GITHUB_ORGANIZATION
:
spring-projects
...
@@ -366,6 +372,8 @@ jobs:
...
@@ -366,6 +372,8 @@ jobs:
tags
:
tags
:
-
WIN64
-
WIN64
timeout
:
((task-timeout))
timeout
:
((task-timeout))
params
:
<<
:
*gradle-enterprise-task-params
on_failure
:
on_failure
:
do
:
do
:
-
put
:
slack-alert
-
put
:
slack-alert
...
@@ -385,6 +393,7 @@ jobs:
...
@@ -385,6 +393,7 @@ jobs:
file
:
git-repo/ci/tasks/stage.yml
file
:
git-repo/ci/tasks/stage.yml
params
:
params
:
RELEASE_TYPE
:
M
RELEASE_TYPE
:
M
GRADLE_ENTERPRISE_ACCESS_KEY
:
((gradle_enterprise_secret_access_key))
-
put
:
artifactory-repo
-
put
:
artifactory-repo
params
:
params
:
<<
:
*artifactory-repo-put-params
<<
:
*artifactory-repo-put-params
...
@@ -403,6 +412,7 @@ jobs:
...
@@ -403,6 +412,7 @@ jobs:
file
:
git-repo/ci/tasks/stage.yml
file
:
git-repo/ci/tasks/stage.yml
params
:
params
:
RELEASE_TYPE
:
RC
RELEASE_TYPE
:
RC
GRADLE_ENTERPRISE_ACCESS_KEY
:
((gradle_enterprise_secret_access_key))
-
put
:
artifactory-repo
-
put
:
artifactory-repo
params
:
params
:
<<
:
*artifactory-repo-put-params
<<
:
*artifactory-repo-put-params
...
@@ -421,6 +431,7 @@ jobs:
...
@@ -421,6 +431,7 @@ jobs:
file
:
git-repo/ci/tasks/stage.yml
file
:
git-repo/ci/tasks/stage.yml
params
:
params
:
RELEASE_TYPE
:
RELEASE
RELEASE_TYPE
:
RELEASE
GRADLE_ENTERPRISE_ACCESS_KEY
:
((gradle_enterprise_secret_access_key))
-
put
:
artifactory-repo
-
put
:
artifactory-repo
params
:
params
:
<<
:
*artifactory-repo-put-params
<<
:
*artifactory-repo-put-params
...
...
ci/scripts/build-project.sh
View file @
f1019e82
...
@@ -5,6 +5,6 @@ source $(dirname $0)/common.sh
...
@@ -5,6 +5,6 @@ source $(dirname $0)/common.sh
repository
=
$(
pwd
)
/distribution-repository
repository
=
$(
pwd
)
/distribution-repository
pushd
git-repo
>
/dev/null
pushd
git-repo
>
/dev/null
run_maven
-N
clean verify
run_maven
-N
clean verify
-Dscan
=
false
run_maven
-f
spring-boot-project/pom.xml clean deploy
-U
-Dfull
-DaltDeploymentRepository
=
distribution::default::file://
${
repository
}
run_maven
-f
spring-boot-project/pom.xml clean deploy
-U
-Dfull
-DaltDeploymentRepository
=
distribution::default::file://
${
repository
}
popd
>
/dev/null
popd
>
/dev/null
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