alive-api-server/Jenkinsfile

27 lines
581 B
Plaintext
Raw Permalink Normal View History

2024-05-27 15:45:28 +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
'''
}
}
}
}