Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apollo
Project
Overview
Details
Activity
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
openSource
apollo
Commits
d57dd58a
Commit
d57dd58a
authored
Apr 28, 2016
by
Jason Song
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #155 from yiming187/jenkins_update
Update jenkins build
parents
bf6ff487
ab6baf9c
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
48 additions
and
17 deletions
+48
-17
.gitignore
.gitignore
+0
-3
shutdown.sh
apollo-adminservice/src/main/scripts/shutdown.sh
+3
-2
application-dev.example.properties
...biz/src/main/resources/application-dev.example.properties
+0
-4
application-dev.properties
apollo-biz/src/main/resources/application-dev.properties
+4
-0
pom.xml
apollo-buildtools/pom.xml
+24
-0
deploy_jenkins.sh
apollo-buildtools/src/main/scripts/deploy_jenkins.sh
+2
-2
shutdown.sh
apollo-configservice/src/main/scripts/shutdown.sh
+4
-2
shutdown.sh
apollo-portal/src/main/scripts/shutdown.sh
+4
-2
pom.xml
pom.xml
+7
-2
No files found.
.gitignore
View file @
d57dd58a
...
@@ -24,5 +24,3 @@ target
...
@@ -24,5 +24,3 @@ target
# git
# git
*.orig
*.orig
application-dev.properties
\ No newline at end of file
apollo-adminservice/src/main/scripts/shutdown.sh
View file @
d57dd58a
...
@@ -2,5 +2,6 @@
...
@@ -2,5 +2,6 @@
SERVICE_NAME
=
apollo-adminservice
SERVICE_NAME
=
apollo-adminservice
cd
`
dirname
$0
`
/..
cd
`
dirname
$0
`
/..
./
$SERVICE_NAME
".jar"
stop
if
[[
-f
$SERVICE_NAME
".jar"
]]
;
then
./
$SERVICE_NAME
".jar"
stop
fi
apollo-biz/src/main/resources/application-dev.example.properties
deleted
100644 → 0
View file @
bf6ff487
# DataSource
spring.datasource.url
=
spring.datasource.username =
spring.datasource.password
=
apollo-biz/src/main/resources/application-dev.properties
0 → 100644
View file @
d57dd58a
# DataSource
spring.datasource.url
=
${spring_datasource_url}
spring.datasource.username
=
${spring_datasource_username}
spring.datasource.password
=
${spring_datasource_password}
apollo-buildtools/pom.xml
View file @
d57dd58a
...
@@ -20,4 +20,28 @@
...
@@ -20,4 +20,28 @@
<artifactId>
cat-client
</artifactId>
<artifactId>
cat-client
</artifactId>
</dependency>
</dependency>
</dependencies>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>
maven-resources-plugin
</artifactId>
<executions>
<execution>
<id>
copy-resources
</id>
<phase>
validate
</phase>
<goals>
<goal>
copy-resources
</goal>
</goals>
<configuration>
<outputDirectory>
${basedir}/target
</outputDirectory>
<resources>
<resource>
<directory>
src/main/scripts
</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
</project>
apollo-buildtools/src/main/scripts/deploy_jenkins.sh
View file @
d57dd58a
...
@@ -28,10 +28,10 @@ APP_NAME=$1
...
@@ -28,10 +28,10 @@ APP_NAME=$1
APP_DIR
=
$APP_BASE_DIR
/
$APP_NAME
APP_DIR
=
$APP_BASE_DIR
/
$APP_NAME
APP_RELEASE_DIR
=
$APP_BASE_DIR
/apollo-
$APP_NAME
.releases/
`
date
"+%Y-%m-%d.%H.%M.%S"
`
APP_RELEASE_DIR
=
$APP_BASE_DIR
/apollo-
$APP_NAME
.releases/
`
date
"+%Y-%m-%d.%H.%M.%S"
`
APP_STARTUP_SCRIPT
=
$APP_DIR
/bin/startup.sh
APP_STARTUP_SCRIPT
=
$APP_DIR
/bin/startup.sh
APP_SHUTDOWN_SCRIPT
S
=
$APP_DIR
/bin/shutdown.sh
APP_SHUTDOWN_SCRIPT
=
$APP_DIR
/bin/shutdown.sh
if
[
-e
$APP_STARTUP_SCRIPT
]
;
then
if
[
-e
$APP_STARTUP_SCRIPT
]
;
then
$APP_SHUTDOWN_SCRIPT
S
$APP_SHUTDOWN_SCRIPT
fi
fi
mkdir
-p
$APP_RELEASE_DIR
mkdir
-p
$APP_RELEASE_DIR
...
...
apollo-configservice/src/main/scripts/shutdown.sh
View file @
d57dd58a
...
@@ -2,4 +2,6 @@
...
@@ -2,4 +2,6 @@
SERVICE_NAME
=
apollo-configservice
SERVICE_NAME
=
apollo-configservice
cd
`
dirname
$0
`
/..
cd
`
dirname
$0
`
/..
./
$SERVICE_NAME
".jar"
stop
if
[[
-f
$SERVICE_NAME
".jar"
]]
;
then
\ No newline at end of file
./
$SERVICE_NAME
".jar"
stop
fi
\ No newline at end of file
apollo-portal/src/main/scripts/shutdown.sh
View file @
d57dd58a
...
@@ -2,4 +2,6 @@
...
@@ -2,4 +2,6 @@
SERVICE_NAME
=
apollo-portal
SERVICE_NAME
=
apollo-portal
cd
`
dirname
$0
`
/..
cd
`
dirname
$0
`
/..
./
$SERVICE_NAME
".jar"
stop
if
[[
-f
$SERVICE_NAME
".jar"
]]
;
then
\ No newline at end of file
./
$SERVICE_NAME
".jar"
stop
fi
\ No newline at end of file
pom.xml
View file @
d57dd58a
...
@@ -292,6 +292,11 @@
...
@@ -292,6 +292,11 @@
<artifactId>
maven-release-plugin
</artifactId>
<artifactId>
maven-release-plugin
</artifactId>
<version>
2.5.3
</version>
<version>
2.5.3
</version>
</plugin>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-jar-plugin
</artifactId>
<version>
2.6
</version>
</plugin>
</plugins>
</plugins>
</pluginManagement>
</pluginManagement>
<plugins>
<plugins>
...
@@ -369,9 +374,9 @@
...
@@ -369,9 +374,9 @@
</build>
</build>
</profile>
</profile>
<profile>
<profile>
<id>
local
</id>
<id>
dev
</id>
<properties>
<properties>
<package.environment>
local
</package.environment>
<package.environment>
dev
</package.environment>
</properties>
</properties>
<activation>
<activation>
<activeByDefault>
true
</activeByDefault>
<activeByDefault>
true
</activeByDefault>
...
...
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