-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: 快速分发文件插件支持文件源类型 #7474 #7486
feat: 快速分发文件插件支持文件源类型 #7474 #7486
Conversation
"2. 使用单行自动扩展模式时,每一行支持填写多个已自定义分隔符或是英文逗号分隔的数据," | ||
'插件后台会自动将其扩展成多行,如 "1,2,3,4" 会被扩展成四行:1 2 3 4\n' | ||
"3. 结合模板生成(单行自动扩展)当有一列有多条数据时,其他列要么也有相等个数的数据,要么只有一条数据\n" | ||
"4. V3.0版本新增文件源的支持,要求作业平台版本>=3.6.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
v3.0
job_rolling_execute = job_rolling_config.get("job_rolling_execute", None) | ||
file_source = [] | ||
if job_source_files_origin == "server": | ||
original_source_files = deepcopy(data.get_one_of_inputs("job_server", [])) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
没有修改不需要deepcopy
} | ||
) | ||
else: | ||
original_source_files = deepcopy(data.get_one_of_inputs("job_source_files", [])) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
没有修改不需要deepcopy
"file_type": 1, | ||
} | ||
) | ||
else: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
elif job_source_files_origin == "xxx":
else:
失败
d3374c0
into
TencentBlueKing:release_3.32.2_by_master
No description provided.