Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
85b7a789c3
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
|
@ -1,20 +1,24 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
|
stage('Stop') {
|
||||||
|
steps {
|
||||||
|
sh 'sh /var/lib/jenkins/workspace/stop.sh'
|
||||||
|
}
|
||||||
|
}
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
sh 'mvn -B -DskipTests clean install'
|
sh 'mvn -B -DskipTests clean install'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Test'){
|
stage('Start') {
|
||||||
steps {
|
steps {
|
||||||
sh 'java -jar /var/lib/jenkins/workspace/alysisSystemForRadionuclide_main/jeecg-module-system/jeecg-system-start/target/jeecg-system-start-3.5.1.jar'
|
// 解决Jenkins构建完毕之后会杀死所有衍生进程问题
|
||||||
}
|
withEnv(['JENKINS_NODE_COOKIE=dontkillme']) {
|
||||||
}
|
sh 'sh /var/lib/jenkins/workspace/start.sh'
|
||||||
stage('Deploy') {
|
|
||||||
steps {
|
|
||||||
sh 'echo publish'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
1234rt
|
|
|
@ -136,17 +136,17 @@ spring:
|
||||||
password: 123456
|
password: 123456
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
# 多数据源配置
|
# 多数据源配置
|
||||||
ora:
|
# ora:
|
||||||
url: jdbc:oracle:thin:@192.168.8.139:1521:ORCL
|
# url: jdbc:oracle:thin:@192.168.8.139:1521:ORCL
|
||||||
username: configuration
|
# username: configuration
|
||||||
password: 123456
|
# password: 123456
|
||||||
driver-class-name: oracle.jdbc.OracleDriver
|
# driver-class-name: oracle.jdbc.OracleDriver
|
||||||
#redis 配置
|
#redis 配置
|
||||||
redis:
|
redis:
|
||||||
database: 0
|
database: 0
|
||||||
host: 127.0.0.1
|
host: 127.0.0.1
|
||||||
port: 6379
|
port: 6379
|
||||||
password: ''
|
#password: ''
|
||||||
#mybatis plus 设置
|
#mybatis plus 设置
|
||||||
mybatis-plus:
|
mybatis-plus:
|
||||||
mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml
|
mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml
|
||||||
|
|
Loading…
Reference in New Issue
Block a user