Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
traffic-signal-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
signal
traffic-signal-platform
Commits
c9c8862e
Commit
c9c8862e
authored
Apr 27, 2023
by
hanbing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[update] 优化Maven生命周期
parent
315e5c0e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
35 deletions
+1
-35
Jenkinsfile
Jenkinsfile
+1
-1
pom.xml
signal-control-service/pom.xml
+0
-10
pom.xml
signal-datacenter-service/pom.xml
+0
-8
pom.xml
signal-optimize-service/pom.xml
+0
-8
pom.xml
signal-utc-service/pom.xml
+0
-8
No files found.
Jenkinsfile
View file @
c9c8862e
...
@@ -19,7 +19,7 @@ pipeline {
...
@@ -19,7 +19,7 @@ pipeline {
stage
(
'编译构建'
)
{
stage
(
'编译构建'
)
{
steps
{
steps
{
sh
'''
sh
'''
mvn
install -Dmaven.test.skip=true
-DsendCredentialsOverHttp=true
mvn
clean install -Dmaven.test.skip=true jib:build
-DsendCredentialsOverHttp=true
'''
'''
}
}
}
}
...
...
signal-control-service/pom.xml
View file @
c9c8862e
...
@@ -199,16 +199,6 @@
...
@@ -199,16 +199,6 @@
<groupId>
com.google.cloud.tools
</groupId>
<groupId>
com.google.cloud.tools
</groupId>
<artifactId>
jib-maven-plugin
</artifactId>
<artifactId>
jib-maven-plugin
</artifactId>
<version>
2.5.2
</version>
<version>
2.5.2
</version>
<!-- 将jib与mvn构建的生命周期绑定 -->
<executions>
<execution>
<id>
build-image
</id>
<phase>
package
</phase>
<goals>
<goal>
build
</goal>
</goals>
</execution>
</executions>
<configuration>
<configuration>
<!--from节点用来设置镜像的基础镜像,相当于Docerkfile中的FROM关键字-->
<!--from节点用来设置镜像的基础镜像,相当于Docerkfile中的FROM关键字-->
<from>
<from>
...
...
signal-datacenter-service/pom.xml
View file @
c9c8862e
...
@@ -283,14 +283,6 @@
...
@@ -283,14 +283,6 @@
<!--可以进行HTTP-->
<!--可以进行HTTP-->
<allowInsecureRegistries>
true
</allowInsecureRegistries>
<allowInsecureRegistries>
true
</allowInsecureRegistries>
</configuration>
</configuration>
<executions>
<execution>
<phase>
package
</phase>
<goals>
<goal>
build
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugin>
</plugins>
</plugins>
...
...
signal-optimize-service/pom.xml
View file @
c9c8862e
...
@@ -236,14 +236,6 @@
...
@@ -236,14 +236,6 @@
<!--可以进行HTTP-->
<!--可以进行HTTP-->
<allowInsecureRegistries>
true
</allowInsecureRegistries>
<allowInsecureRegistries>
true
</allowInsecureRegistries>
</configuration>
</configuration>
<executions>
<execution>
<phase>
package
</phase>
<goals>
<goal>
build
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugin>
</plugins>
</plugins>
...
...
signal-utc-service/pom.xml
View file @
c9c8862e
...
@@ -241,14 +241,6 @@
...
@@ -241,14 +241,6 @@
<!--可以进行HTTP-->
<!--可以进行HTTP-->
<allowInsecureRegistries>
true
</allowInsecureRegistries>
<allowInsecureRegistries>
true
</allowInsecureRegistries>
</configuration>
</configuration>
<executions>
<execution>
<phase>
package
</phase>
<goals>
<goal>
build
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugin>
</plugins>
</plugins>
...
...
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