添加jenkins file

This commit is contained in:
2023-12-27 23:51:00 +08:00
parent 6d66cc6561
commit 3df426c5da
3 changed files with 31 additions and 4 deletions

26
jenkinsfile Normal file
View File

@@ -0,0 +1,26 @@
pipeline {
agent any
stages {
stage('Build') {
steps {
echo 'Building...'
// 在这里添加构建项目的命令
}
}
stage('Test') {
steps {
echo 'Testing...'
// 在这里添加运行测试的命令
}
}
stage('Deploy') {
steps {
echo 'Deploying...'
// 在这里添加部署应用的命令
}
}
}
}