alive-api-server/Jenkinsfile

27 lines
581 B
Plaintext
Raw Permalink Normal View History

2024-05-27 16:14:19 +08:00
pipeline {
agent {
label 'test20'
}
stages {
stage('build') {
steps {
sh '''
source /etc/profile
mvn clean package -Dmaven.test.skip=true -U
'''
}
}
stage('deploy') {
steps {
sh '''
source /etc/profile
cp -f fifa-api/target/fifa-api-1.1-SNAPSHOT.jar /data/upload/fifa-maker-api/
sh /data/upload/fifa-maker-api/build.sh
'''
}
}
}
}