You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
676 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

pipeline {
agent any
stages {
// 仅保留核心拉取Gitea的master分支已确认有内容
stage('拉取Gitea源码') {
steps {
git(
url: 'http://localhost:3000/lrx/cstatm23210465', // 你的原始URL
branch: 'master' // 明确指定有内容的分支和Gitea一致
)
echo "✅ 源码拉取成功分支master"
}
}
// 仅保留基础步骤,确保流水线完整
stage('构建成功') {
steps {
echo "🎉 流水线构建成功!"
}
}
}
}