Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
byit-myth-job
Overview
Overview
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
liyuan
byit-myth-job
Commits
833046d8
Commit
833046d8
authored
Dec 11, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加快速失败标识
parent
9b4a0967
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
RunNodeServiceImpl.java
...c/main/java/com/byit/service/impl/RunNodeServiceImpl.java
+2
-0
RunRecordingAndJobTaskServiceImpl.java
...ce/mapservice/impl/RunRecordingAndJobTaskServiceImpl.java
+2
-0
No files found.
byit-myth-core/myth-admin-core/src/main/java/com/byit/service/impl/RunNodeServiceImpl.java
View file @
833046d8
...
@@ -122,6 +122,8 @@ public class RunNodeServiceImpl implements RunNodeServer, ApplicationEventPublis
...
@@ -122,6 +122,8 @@ public class RunNodeServiceImpl implements RunNodeServer, ApplicationEventPublis
build
.
setFlowStatus
(
RunRecordingEnum
.
FLOW_STATUS_IS_END
.
getCode
());
build
.
setFlowStatus
(
RunRecordingEnum
.
FLOW_STATUS_IS_END
.
getCode
());
build
.
setFlowRunResult
(
RunResultEnum
.
RUN_ERROR
.
getCode
());
build
.
setFlowRunResult
(
RunResultEnum
.
RUN_ERROR
.
getCode
());
build
.
setFailFast
(
RunRecordingEnum
.
FAIL_FAST_YES
.
getCode
());
build
.
setFailFast
(
RunRecordingEnum
.
FAIL_FAST_YES
.
getCode
());
build
.
setStartTime
(
new
Date
());
build
.
setEndTime
(
new
Date
());
}
}
//开始正式保存
//开始正式保存
runRecordingService
.
saveRunRecording
(
build
);
runRecordingService
.
saveRunRecording
(
build
);
...
...
byit-myth-core/myth-admin-core/src/main/java/com/byit/service/mapservice/impl/RunRecordingAndJobTaskServiceImpl.java
View file @
833046d8
...
@@ -283,6 +283,8 @@ public class RunRecordingAndJobTaskServiceImpl implements RunRecordingAndJobTask
...
@@ -283,6 +283,8 @@ public class RunRecordingAndJobTaskServiceImpl implements RunRecordingAndJobTask
runRecording
.
setFlowStatus
(
RunRecordingEnum
.
FLOW_STATUS_IS_END
.
getCode
());
runRecording
.
setFlowStatus
(
RunRecordingEnum
.
FLOW_STATUS_IS_END
.
getCode
());
runRecording
.
setFlowRunResult
(
RunResultEnum
.
RUN_ERROR
.
getCode
());
runRecording
.
setFlowRunResult
(
RunResultEnum
.
RUN_ERROR
.
getCode
());
runRecording
.
setFailFast
(
RunRecordingEnum
.
FAIL_FAST_YES
.
getCode
());
runRecording
.
setFailFast
(
RunRecordingEnum
.
FAIL_FAST_YES
.
getCode
());
runRecording
.
setStartTime
(
new
Date
());
runRecording
.
setEndTime
(
new
Date
());
}
}
runRecordingService
.
updateRunRecordingById
(
runRecording
);
runRecordingService
.
updateRunRecordingById
(
runRecording
);
...
...
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