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
5d776f2a
Commit
5d776f2a
authored
Jul 25, 2020
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set user.name in CI builds so it's picked up by Gradle Enterprise
parent
141c59e3
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
build-deployment-tests.sh
ci/scripts/build-deployment-tests.sh
+1
-1
build-integration-tests.sh
ci/scripts/build-integration-tests.sh
+1
-1
build-project-windows.bat
ci/scripts/build-project-windows.bat
+1
-1
build-project.sh
ci/scripts/build-project.sh
+1
-1
build-samples.sh
ci/scripts/build-samples.sh
+1
-1
stage.sh
ci/scripts/stage.sh
+4
-4
No files found.
ci/scripts/build-deployment-tests.sh
View file @
5d776f2a
...
@@ -5,5 +5,5 @@ source $(dirname $0)/common.sh
...
@@ -5,5 +5,5 @@ 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
-f
spring-boot-tests/spring-boot-deployment-tests/pom.xml clean
install
-U
-Dfull
-Drepository
=
file://
${
repository
}
run_maven
-f
spring-boot-tests/spring-boot-deployment-tests/pom.xml clean
install
-U
-Dfull
-Drepository
=
file://
${
repository
}
-Duser
.name
=
concourse
popd
>
/dev/null
popd
>
/dev/null
ci/scripts/build-integration-tests.sh
View file @
5d776f2a
...
@@ -5,5 +5,5 @@ source $(dirname $0)/common.sh
...
@@ -5,5 +5,5 @@ 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
-f
spring-boot-tests/spring-boot-integration-tests/pom.xml clean
install
-Dfull
-Drepository
=
file://
${
repository
}
run_maven
-f
spring-boot-tests/spring-boot-integration-tests/pom.xml clean
install
-Dfull
-Drepository
=
file://
${
repository
}
-Duser
.name
=
concourse
popd
>
/dev/null
popd
>
/dev/null
ci/scripts/build-project-windows.bat
View file @
5d776f2a
...
@@ -3,4 +3,4 @@ SET PATH=%PATH%;C:\Program Files\Git\usr\bin
...
@@ -3,4 +3,4 @@ SET PATH=%PATH%;C:\Program Files\Git\usr\bin
cd git-repo
cd git-repo
echo ".\mvnw clean install" > build.log
echo ".\mvnw clean install" > build.log
.\mvnw clean install -U >> build.log 2>&1 || (sleep 1 && tail -n 3000 build.log && exit 1)
.\mvnw clean install -U -Duser.name=concourse >> build.log 2>&1 || (sleep 1 && tail -n 3000 build.log && exit 1)
\ No newline at end of file
\ No newline at end of file
ci/scripts/build-project.sh
View file @
5d776f2a
...
@@ -6,5 +6,5 @@ repository=$(pwd)/distribution-repository
...
@@ -6,5 +6,5 @@ repository=$(pwd)/distribution-repository
pushd
git-repo
>
/dev/null
pushd
git-repo
>
/dev/null
run_maven
-N
clean verify
-Dscan
=
false
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
}
-Duser
.name
=
concourse
popd
>
/dev/null
popd
>
/dev/null
ci/scripts/build-samples.sh
View file @
5d776f2a
...
@@ -5,5 +5,5 @@ source $(dirname $0)/common.sh
...
@@ -5,5 +5,5 @@ 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
-f
spring-boot-samples/pom.xml clean
install
-U
-Dfull
-Drepository
=
file://
${
repository
}
run_maven
-f
spring-boot-samples/pom.xml clean
install
-U
-Dfull
-Drepository
=
file://
${
repository
}
-Duser
.name
=
concourse
popd
>
/dev/null
popd
>
/dev/null
ci/scripts/stage.sh
View file @
5d776f2a
...
@@ -35,10 +35,10 @@ git add pom.xml > /dev/null
...
@@ -35,10 +35,10 @@ git add pom.xml > /dev/null
git commit
-m
"Release v
$stageVersion
"
>
/dev/null
git commit
-m
"Release v
$stageVersion
"
>
/dev/null
git tag
-a
"v
$stageVersion
"
-m
"Release v
$stageVersion
"
>
/dev/null
git tag
-a
"v
$stageVersion
"
-m
"Release v
$stageVersion
"
>
/dev/null
run_maven
-f
spring-boot-project/pom.xml clean deploy
-U
-Dfull
-DaltDeploymentRepository
=
distribution::default::file://
${
repository
}
-Dgradle
.cache.local.enabled
=
false
-Dgradle
.cache.remote.enabled
=
false
run_maven
-f
spring-boot-project/pom.xml clean deploy
-U
-Dfull
-DaltDeploymentRepository
=
distribution::default::file://
${
repository
}
-Dgradle
.cache.local.enabled
=
false
-Dgradle
.cache.remote.enabled
=
false
-Duser
.name
=
concourse
run_maven
-f
spring-boot-samples/pom.xml clean
install
-U
-Dfull
-Drepository
=
file://
${
repository
}
-Dgradle
.cache.local.enabled
=
false
-Dgradle
.cache.remote.enabled
=
false
run_maven
-f
spring-boot-samples/pom.xml clean
install
-U
-Dfull
-Drepository
=
file://
${
repository
}
-Dgradle
.cache.local.enabled
=
false
-Dgradle
.cache.remote.enabled
=
false
-Duser
.name
=
concourse
run_maven
-f
spring-boot-tests/spring-boot-integration-tests/pom.xml clean
install
-U
-Dfull
-Drepository
=
file://
${
repository
}
-Dgradle
.cache.local.enabled
=
false
-Dgradle
.cache.remote.enabled
=
false
run_maven
-f
spring-boot-tests/spring-boot-integration-tests/pom.xml clean
install
-U
-Dfull
-Drepository
=
file://
${
repository
}
-Dgradle
.cache.local.enabled
=
false
-Dgradle
.cache.remote.enabled
=
false
-Duser
.name
=
concourse
run_maven
-f
spring-boot-tests/spring-boot-deployment-tests/pom.xml clean
install
-U
-Dfull
-Drepository
=
file://
${
repository
}
-Dgradle
.cache.local.enabled
=
false
-Dgradle
.cache.remote.enabled
=
false
run_maven
-f
spring-boot-tests/spring-boot-deployment-tests/pom.xml clean
install
-U
-Dfull
-Drepository
=
file://
${
repository
}
-Dgradle
.cache.local.enabled
=
false
-Dgradle
.cache.remote.enabled
=
false
-Duser
.name
=
concourse
git reset
--hard
HEAD^
>
/dev/null
git reset
--hard
HEAD^
>
/dev/null
if
[[
$nextVersion
!=
$snapshotVersion
]]
;
then
if
[[
$nextVersion
!=
$snapshotVersion
]]
;
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