Files
pipeline-scripts/chuanqi_server_jenkins

20 lines
363 B
Plaintext
Raw Normal View History

pipeline {
agent any
stages {
stage('部署') {
steps {
echo 'Deploying...'
sh "cd /home/cq/data&&git pull"
}
}
}
post{
success {
echo 'Deployment finished successfully.'
}
failure {
echo 'Deployment failed.'
}
}
}