Skip to content
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

Conversation

lTimej
Copy link
Collaborator

@lTimej lTimej commented Jun 11, 2024

No description provided.

@lTimej lTimej requested a review from normal-wls June 11, 2024 02:42
@lTimej lTimej added the type/feature 功能 label Jun 11, 2024
@lTimej lTimej linked an issue Jun 11, 2024 that may be closed by this pull request
1 task
"2. 使用单行自动扩展模式时,每一行支持填写多个已自定义分隔符或是英文逗号分隔的数据,"
'插件后台会自动将其扩展成多行,如 "1,2,3,4" 会被扩展成四行:1 2 3 4\n'
"3. 结合模板生成(单行自动扩展)当有一列有多条数据时,其他列要么也有相等个数的数据,要么只有一条数据\n"
"4. V3.0版本新增文件源的支持,要求作业平台版本>=3.6.0.0"
Copy link
Member

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", []))
Copy link
Member

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", []))
Copy link
Member

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:
Copy link
Member

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:
失败

@lTimej lTimej merged commit d3374c0 into TencentBlueKing:release_3.32.2_by_master Jun 12, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

快速分发文件插件支持文件源类型
2 participants