Commit Graph

138 Commits

Author SHA1 Message Date
孙振宇
0a1607c0c0 refactor(executeFreeleapsPipeline): update dependencies resolution to use component instead of configurations
Signed-off-by: 孙振宇 <>
2025-02-04 12:52:27 +08:00
孙振宇
ecac540f1d refactor(Jenkinsfile): add trailing comma to npmPackageJsonFile for consistency
Signed-off-by: 孙振宇 <>
2025-02-04 12:50:00 +08:00
孙振宇
00063babb9 refactor(DependenciesResolver): pass workspace parameter to DependenciesResolver and update directory references
Signed-off-by: 孙振宇 <>
2025-02-04 12:48:46 +08:00
孙振宇
805b051c26 refactor(executeFreeleapsPipeline): clean up whitespace and formatting in the pipeline script
Signed-off-by: 孙振宇 <>
2025-02-04 12:40:44 +08:00
孙振宇
9bcd494018 refactor(executeFreeleapsPipeline): restore conditional execution for build and dependencies stages based on executeMode and changed components
Signed-off-by: 孙振宇 <>
2025-02-04 12:38:48 +08:00
孙振宇
37ccf1e6fd refactor(executeFreeleapsPipeline): comment out conditional execution for build and dependencies stages
Signed-off-by: 孙振宇 <>
2025-02-04 12:29:20 +08:00
孙振宇
60f7ab77d4 refactor(Jenkinsfile): update components definition syntax for consistency
Signed-off-by: 孙振宇 <>
2025-02-04 12:26:13 +08:00
孙振宇
d1df2377cb refactor(executeFreeleapsPipeline): add conditional execution for components build stage based on executeMode and changed components
Signed-off-by: 孙振宇 <>
2025-02-04 12:18:24 +08:00
孙振宇
d7ef1ee1f8 refactor(Jenkinsfile): update executeMode to 'fully' for clarity
Signed-off-by: 孙振宇 <>
2025-02-04 12:18:19 +08:00
孙振宇
a46e87ac1c refactor(ChangedComponentsDetector): update shell command execution to use steps.sh for consistency
Signed-off-by: 孙振宇 <>
2025-02-04 12:15:40 +08:00
孙振宇
aa7d449616 refactor(executeFreeleapsPipeline): improve code structure by adjusting stage block formatting
Signed-off-by: 孙振宇 <>
2025-02-04 12:13:41 +08:00
孙振宇
bc29cf3514 refactor(executeFreeleapsPipeline): streamline commit message linting logic and improve conditional checks
Signed-off-by: 孙振宇 <>
2025-02-04 12:11:42 +08:00
孙振宇
e574581d02 refactor(Jenkinsfile, executeFreeleapsPipeline): disable commit message linting and add fail-fast option for parallel execution
Signed-off-by: 孙振宇 <>
2025-02-04 12:08:52 +08:00
孙振宇
1fec9ad9d7 refactor(logging): update log statements to use consistent method calls for improved readability
Signed-off-by: 孙振宇 <>
2025-02-04 12:03:30 +08:00
孙振宇
4a2fe3b8a3 refactor(Jenkinsfile): clarify serviceGitRepoType comment for better understanding
Signed-off-by: 孙振宇 <>
2025-02-04 11:36:09 +08:00
孙振宇
ae77e64ac1 refactor(logging): enhance log messages to include plugin context for better clarity
Signed-off-by: 孙振宇 <>
2025-02-04 11:32:42 +08:00
孙振宇
682bbc5ef3 refactor(CommitMessageLinter, SourceFetcher): update workspace path configuration for consistency
Signed-off-by: 孙振宇 <>
2025-02-04 11:22:48 +08:00
孙振宇
d568c0e88c refactor(CommitMessageLinter): correct safe.directory path to use environment variable for workspace
Signed-off-by: 孙振宇 <>
2025-02-04 11:19:52 +08:00
孙振宇
54f242e65b refactor(CommitMessageLinter): update safe.directory configuration to use absolute workspace path
Signed-off-by: 孙振宇 <>
2025-02-04 11:18:05 +08:00
孙振宇
e33ac09e2a refactor(CommitMessageLinter): ensure workspace is a trusted git repository for commit linting
Signed-off-by: 孙振宇 <>
2025-02-04 11:15:00 +08:00
孙振宇
36ecc84249 refactor(CommitMessageLinter, log): update commit lint rules handling and improve logging
Signed-off-by: 孙振宇 <>
2025-02-04 11:11:46 +08:00
孙振宇
bd1aed3664 refactor(CommitMessageLinter, log): enhance logging with timestamps and improve log messages
Signed-off-by: 孙振宇 <>
2025-02-04 11:06:07 +08:00
孙振宇
67214e0120 refactor(SourceFetcher): update directory handling to use steps.dir for workspace
Signed-off-by: 孙振宇 <>
2025-02-04 11:02:16 +08:00
孙振宇
8c827fe1ad refactor(executeFreeleapsPipeline): update component handling to use component names
Signed-off-by: 孙振宇 <>
2025-02-04 11:00:33 +08:00
孙振宇
d6e86827ac refactor(executeFreeleapsPipeline): update closure handling to initialize configurations as a Map
Signed-off-by: 孙振宇 <>
2025-02-04 10:54:41 +08:00
孙振宇
5a63bf8d33 refactor(executeFreeleapsPipeline): change function signature to accept configurations as a Closure
Signed-off-by: 孙振宇 <>
2025-02-04 10:51:49 +08:00
孙振宇
faed86e4f8 refactor(executeFreeleapsPipeline): update function signature to accept configurations as a Map
Signed-off-by: 孙振宇 <>
2025-02-04 10:49:34 +08:00
孙振宇
37253e85b4 refactor(executeFreeleapsPipeline): update function signature to accept configurations directly
Signed-off-by: 孙振宇 <>
2025-02-04 10:40:41 +08:00
孙振宇
c84c65ce87 refactor(executeFreeleapsPipeline): streamline component build and dependency resolution stages
Signed-off-by: 孙振宇 <>
2025-02-04 10:36:58 +08:00
孙振宇
376fa19c78 refactor(ChangedComponentsDetector, CommitMessageLinter, DependenciesResolver, executeFreeleapsPipeline): standardize workspace handling in directory operations
Signed-off-by: 孙振宇 <>
2025-02-04 10:29:49 +08:00
孙振宇
adfc71ea22 refactor(SourceFetcher, ServiceLanguage, DependenciesResolver): improve workspace handling, standardize language naming, and streamline dependency resolution
Signed-off-by: 孙振宇 <>
2025-02-04 10:23:25 +08:00
孙振宇
2d925213e3 refactor(DependenciesResolver): update logging to use steps.log.info for consistency
Signed-off-by: 孙振宇 <>
2025-01-22 16:25:04 +08:00
孙振宇
89191746ef refactor(DependenciesResolver): replace echo with log.info for improved logging
refactor(executeFreeleapsPipeline): update commit message linting condition for clarity

Signed-off-by: 孙振宇 <>
2025-01-22 16:22:38 +08:00
孙振宇
48983cb777 refactor(tests): add library import for first-class-pipeline
Signed-off-by: 孙振宇 <>
2025-01-22 16:16:54 +08:00
孙振宇
8c544961b0 refactor(executeFreeleapsPipeline): standardize logging and update dependencies manager naming
Signed-off-by: 孙振宇 <>
2025-01-22 16:15:31 +08:00
孙振宇
a35a3ee8e1 refactor(executeFreeleapsPipeline): remove EnvironmentVars class and streamline variable injection
Signed-off-by: 孙振宇 <>
2025-01-22 16:10:48 +08:00
孙振宇
2412360de2 refactor(executeFreeleapsPipeline): add ServiceLanguage enum import for improved language handling
Signed-off-by: 孙振宇 <>
2025-01-22 16:07:46 +08:00
孙振宇
ef65343ddb refactor(executeFreeleapsPipeline): update language case handling to use ServiceLanguage enum
Signed-off-by: 孙振宇 <>
2025-01-22 16:06:22 +08:00
孙振宇
36dc0819b6 refactor(executeFreeleapsPipeline): update buildAgentImage handling and use environment variable
Signed-off-by: 孙振宇 <>
2025-01-22 16:05:08 +08:00
孙振宇
6bed306f2b refactor(executeFreeleapsPipeline): update buildAgentImage reference to use configurations
Signed-off-by: 孙振宇 <>
2025-01-22 16:01:27 +08:00
孙振宇
fb33de1847 refactor(SourceFetcher): remove echo statement from fetch method
Signed-off-by: 孙振宇 <>
2025-01-22 15:56:42 +08:00
孙振宇
4c6efe1c9d refactor(pipeline): rename executePipeline to executeFreeleapsPipeline and implement new pipeline structure
Signed-off-by: 孙振宇 <>
2025-01-22 15:53:25 +08:00
孙振宇
4666298ebe refactor(pipeline): replace pipelineCall with executePipeline and streamline configuration handling
Signed-off-by: 孙振宇 <>
2025-01-22 15:52:03 +08:00
孙振宇
2d2cf27318 refactor(DependenciesResolver, EnvironmentVars, SourceFetcher, pipelineCall): standardize configuration property names to camelCase
Signed-off-by: 孙振宇 <>
2025-01-22 15:42:56 +08:00
孙振宇
62fdc4c17a refactor(pipelineCall): simplify configuration handling and improve readability
Signed-off-by: 孙振宇 <>
2025-01-22 15:35:03 +08:00
孙振宇
b9caf1d04e feat(SourceFetcher): log configurations in fetch method for debugging
Signed-off-by: 孙振宇 <>
2025-01-22 15:26:07 +08:00
孙振宇
77bb34e425 fix(Jenkinsfile): update SERVICE_GIT_REPO with correct repository URL
Signed-off-by: 孙振宇 <>
2025-01-22 15:25:01 +08:00
孙振宇
fba93aac48 feat(pipeline): switch from Docker to Kubernetes for dependencies resolving stage
Signed-off-by: 孙振宇 <>
2025-01-21 17:40:42 +08:00
孙振宇
93325d5405 feat(DependenciesResolver): add import for DependenciesManager enum
Signed-off-by: 孙振宇 <>
2025-01-21 17:38:01 +08:00
孙振宇
c83759c61c fix(DependenciesResolver): add missing closing brace for class definition
Signed-off-by: 孙振宇 <>
2025-01-21 17:36:32 +08:00