Commit e93392f3 authored by hanbing's avatar hanbing

[update] 测试Jenkins构建

parent d0c0e604
......@@ -19,8 +19,7 @@ pipeline {
stage('编译构建optimize模块') {
steps {
sh '''
mvn install -DsendCredentialsOverHttp=true
mvn -pl signal-optimize-service clean package -Dmaven.test.skip=true jib:build -DsendCredentialsOverHttp=true
mvn install -Dmaven.test.skip=true -DsendCredentialsOverHttp=true
'''
}
}
......
......@@ -19,8 +19,7 @@ pipeline {
stage('编译构建utc模块') {
steps {
sh '''
mvn install -DsendCredentialsOverHttp=true
mvn -pl signal-utc-service clean package -Dmaven.test.skip=true jib:build -DsendCredentialsOverHttp=true
mvn install -Dmaven.test.skip=true -DsendCredentialsOverHttp=true
'''
}
}
......
......@@ -137,44 +137,6 @@
</compilerArguments>
</configuration>
</plugin>
<!-- 项目打包插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
<mainClass>net.wanji.web.SignalApplication</mainClass>
</manifest>
</archive>
<excludes>
<exclude>generate_code_vm/**</exclude>
<exclude>mybatis-generator/**</exclude>
<exclude>**/*.yml</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<!-- 主类 -->
<configuration>
<finalName>signal-control-service</finalName>
<descriptors>
<descriptor>src/main/assembly/package.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment