Commit Graph

144 Commits

Author SHA1 Message Date
孙振宇
c6c47d8785 fix(lint): change npm install command to install eslint dependencies globally
Signed-off-by: 孙振宇 <>
2025-02-07 16:30:27 +08:00
孙振宇
b2eaf0481c fix(lint): comment out npm install command in ESLint class
Signed-off-by: 孙振宇 <>
2025-02-07 16:21:26 +08:00
孙振宇
5a718aa45d fix(lint): wrap linting commands in workspace directory context
Signed-off-by: 孙振宇 <>
2025-02-07 16:16:43 +08:00
孙振宇
044f96d525 fix(pipeline): update SourceFetcher to use dynamic git credentials ID
Signed-off-by: 孙振宇 <>
2025-02-07 15:44:52 +08:00
孙振宇
aad8742710 fix(lint): declare deps variable with 'def' in ESLint class
Signed-off-by: 孙振宇 <>
2025-02-07 15:24:29 +08:00
孙振宇
88d867faa7 feat(SAST): import Bandit scanner in SASTExecutor
Signed-off-by: 孙振宇 <>
2025-02-07 15:23:46 +08:00
孙振宇
38bfc418c4 feat(pipeline): add Bandit SAST scanner and enhance linting configurations
Signed-off-by: 孙振宇 <>
2025-02-07 15:18:40 +08:00
孙振宇
69eaed1c6a feat(pipeline): implement SAST and linting executors with configuration handling
Signed-off-by: 孙振宇 <>
2025-02-05 16:29:52 +08:00
孙振宇
794af6779b refactor(executeFreeleapsPipeline): update build agent images to use docker.io and log environment variables in DependenciesResolver
Signed-off-by: 孙振宇 <>
2025-02-04 15:33:07 +08:00
孙振宇
8aaa271fe2 refactor(DependenciesResolver): add getNodeVersion method to log current Node.js version
Signed-off-by: 孙振宇 <>
2025-02-04 15:06:45 +08:00
孙振宇
8a53c8413d refactor(DependenciesResolver): update workspace reference to use env.workspace
Signed-off-by: 孙振宇 <>
2025-02-04 13:10:01 +08:00
孙振宇
2b8d69c163 refactor(DependenciesResolver): log workspace information and standardize workspace references
Signed-off-by: 孙振宇 <>
2025-02-04 13:02:40 +08:00
孙振宇
1723d23507 refactor(DependenciesResolver): remove unnecessary excludes from cache configuration
Signed-off-by: 孙振宇 <>
2025-02-04 12:57:33 +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
孙振宇
a46e87ac1c refactor(ChangedComponentsDetector): update shell command execution to use steps.sh for consistency
Signed-off-by: 孙振宇 <>
2025-02-04 12:15:40 +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
孙振宇
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
孙振宇
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
孙振宇
a35a3ee8e1 refactor(executeFreeleapsPipeline): remove EnvironmentVars class and streamline variable injection
Signed-off-by: 孙振宇 <>
2025-01-22 16:10:48 +08:00
孙振宇
fb33de1847 refactor(SourceFetcher): remove echo statement from fetch method
Signed-off-by: 孙振宇 <>
2025-01-22 15:56:42 +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
孙振宇
b9caf1d04e feat(SourceFetcher): log configurations in fetch method for debugging
Signed-off-by: 孙振宇 <>
2025-01-22 15:26:07 +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
孙振宇
4d4e2da565 refactor(DependenciesResolver): add return type definitions for caching methods
Signed-off-by: 孙振宇 <>
2025-01-21 17:02:41 +08:00
孙振宇
52d7f78fa6 feat(pipeline): implement environment variable injection and dependencies resolution
Signed-off-by: 孙振宇 <>
2025-01-21 17:01:31 +08:00
孙振宇
f88662b1e3 refactor(EnvironmentVars): streamline variable injection by removing redundant assignments
Signed-off-by: 孙振宇 <>
2025-01-20 10:51:32 +08:00
孙振宇
072ff4960a refactor(EnvironmentVars): log SERVICE_NAME during variable injection for debugging
Signed-off-by: 孙振宇 <>
2025-01-20 10:48:52 +08:00
孙振宇
1d374fb5da refactor(ServiceLanguage): use enum reference in parse method for clarity
Signed-off-by: 孙振宇 <>
2025-01-20 10:21:06 +08:00
孙振宇
82adc49e86 refactor(ServiceLanguage): change parse method to static for improved accessibility
Signed-off-by: 孙振宇 <>
2025-01-20 10:20:13 +08:00
孙振宇
d37849f18b refactor(ServiceLanguage): remove unnecessary CompileStatic annotation
Signed-off-by: 孙振宇 <>
2025-01-17 17:15:25 +08:00
孙振宇
ed959561db chore(git): codes staging
Signed-off-by: 孙振宇 <>
2025-01-17 16:25:04 +08:00