Browse Source

anrui_scm加入Jenkins

master
lzh 3 years ago
parent
commit
47d0d2792d
  1. 11
      anrui-scm/anrui-scm-api/pom.xml
  2. 26
      anrui-scm/anrui-scm-biz/src/main/resources/application-test.yml

11
anrui-scm/anrui-scm-api/pom.xml

@ -31,4 +31,15 @@
</dependency>
</dependencies>
<distributionManagement>
<repository>
<id>nexus-releases</id>
<url>http://nexus3.yyundong.com/repository/yxt-mvn-releases/</url>
</repository>
<snapshotRepository>
<id>nexus-snapshots</id>
<url>http://nexus3.yyundong.com/repository/yxt-mvn-snapshot/</url>
</snapshotRepository>
</distributionManagement>
</project>

26
anrui-scm/anrui-scm-biz/src/main/resources/application-test.yml

@ -0,0 +1,26 @@
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://172.18.0.4:3306/anrui_scm?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
username: root
password: yxt_mysql_138
nacos:
discovery:
server-addr: 172.18.0.5:8848
redis:
database: 6 # Redis数据库索引(默认为0)
host: 172.18.0.7
jedis:
pool:
max-active: -1 #连接池最大连接数(使用负值表示没有限制)
max-idle: 8 #连接池中的最大空闲连接
max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
min-idle: 0 # 连接池中的最小空闲连接
password:
port: 6379
timeout: 0 # 连接超时时间(毫秒)
image:
upload:
path: static/upload/
url:
prefix: http://127.0.0.1:8080/upload/
Loading…
Cancel
Save