Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
cpas6-install
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李金钢
cpas6-install
Commits
a0d9366f
Commit
a0d9366f
authored
Mar 20, 2026
by
Auto Backup
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: remove environment check stage from Jenkinsfile
parent
bdbff986
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
25 deletions
+0
-25
Jenkinsfile
Jenkinsfile
+0
-25
No files found.
Jenkinsfile
View file @
a0d9366f
...
@@ -60,31 +60,6 @@ pipeline {
...
@@ -60,31 +60,6 @@ pipeline {
}
}
stages
{
stages
{
stage
(
'环境排查'
)
{
steps
{
script
{
try
{
echo
"🚀 开始运行环境检测..."
// 使用新创建的环境检测脚本
def
envCheckResult
=
runPowerShellWithOutput
(
"node ./check-environment.js"
)
echo
"环境检测结果:"
echo
envCheckResult
// 如果脚本返回非零退出码,这里会抛出异常
// 所以我们不需要额外检查
}
catch
(
Exception
e
)
{
echo
"环境排查阶段发生错误: ${e.message}"
echo
"⚠️ 环境检测失败,请确保以下组件已安装:"
echo
"1. Node.js (https://nodejs.org/)"
echo
"2. ss3ops (会自动安装,如失败请手动安装)"
currentBuild
.
result
=
'FAILURE'
error
(
"环境检测失败: ${e.message}"
)
}
}
}
}
stage
(
'AI 自动决策中心'
)
{
stage
(
'AI 自动决策中心'
)
{
steps
{
steps
{
script
{
script
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment