Commit Graph

65 Commits

Author SHA1 Message Date
孙振宇
1335c9ec8d fix(pipeline): update npm install command to include --no-audit and adjust Docker socket volume mount configuration
Signed-off-by: 孙振宇 <>
2025-02-10 01:54:12 +08:00
孙振宇
fe846ab937 fix(pipeline): update Docker login commands to use environment variables for credentials
Signed-off-by: 孙振宇 <>
2025-02-10 01:33:26 +08:00
孙振宇
a02715efa7 fix(pipeline): update steps.withCredentials to use steps.usernamePassword for authentication
Signed-off-by: 孙振宇 <>
2025-02-10 01:26:11 +08:00
孙振宇
fbf00a1046 fix(pipeline): add registryCredentialsId parameter to ImageBuilder and update related references
Signed-off-by: 孙振宇 <>
2025-02-08 12:07:41 +08:00
孙振宇
1a52986b5b fix(pipeline): update releaserc file name and simplify semantic-release command in SemanticReleasingExecutor
Signed-off-by: 孙振宇 <>
2025-02-08 11:02:02 +08:00
孙振宇
d5d31f7d26 fix(pipeline): specify configuration file for semantic-release execution in SemanticReleasingExecutor
Signed-off-by: 孙振宇 <>
2025-02-08 10:56:49 +08:00
孙振宇
efa16c9614 fix(pipeline): add safe.directory configuration for Git in SemanticReleasingExecutor
Signed-off-by: 孙振宇 <>
2025-02-08 10:49:13 +08:00
孙振宇
39e4f570d1 fix(pipeline): correct usage of usernamePassword method in SemanticReleasingExecutor
Signed-off-by: 孙振宇 <>
2025-02-08 10:43:26 +08:00
孙振宇
4ddf5df588 fix(pipeline): update credentials handling in SemanticReleasingExecutor to use usernamePassword method
Signed-off-by: 孙振宇 <>
2025-02-08 10:39:21 +08:00
孙振宇
d8f04dda6d feat(pipeline): add credentials support for semantic release in SemanticReleasingExecutor
Signed-off-by: 孙振宇 <>
2025-02-08 10:20:52 +08:00
孙振宇
80dd57433c feat(pipeline): add installation of semantic-release requirements in SemanticReleasingExecutor
Signed-off-by: 孙振宇 <>
2025-02-07 18:34:00 +08:00
孙振宇
0b54a77d9e feat(pipeline): add semantic-release plugin and update container image for semantic releasing stage
Signed-off-by: 孙振宇 <>
2025-02-07 18:26:19 +08:00
孙振宇
7ed8ecb671 feat(lint): add component property to CodeLintExecutor for enhanced configuration
Signed-off-by: 孙振宇 <>
2025-02-07 17:35:52 +08:00
孙振宇
f9a0b7893a feat(lint): enhance ESLint integration by adding version and plugin support
Signed-off-by: 孙振宇 <>
2025-02-07 17:31:27 +08:00
孙振宇
ab424b3d65 fix(caching): optimize npm and yarn installation commands to prefer offline cache usage
Signed-off-by: 孙振宇 <>
2025-02-07 17:19:14 +08:00
孙振宇
81b3095925 fix(caching): remove redundant logging and streamline cache existence checks for npm and yarn installations
Signed-off-by: 孙振宇 <>
2025-02-07 17:14:11 +08:00
孙振宇
d6e3008c6e fix(caching): add logging for cache restoration in npm and yarn installations
Signed-off-by: 孙振宇 <>
2025-02-07 17:13:33 +08:00
孙振宇
6810be5cd8 fix(lint): improve caching logic for npm and yarn installations and ensure ESLint config is a JS file
Signed-off-by: 孙振宇 <>
2025-02-07 17:10:18 +08:00
孙振宇
39cb4fc56a refactor(lint): migrate ESLint configuration from JSON to JS format and update related references
Signed-off-by: 孙振宇 <>
2025-02-07 17:02:11 +08:00
孙振宇
f9d10df52d fix(lint): enhance ESLint configuration handling and improve caching for npm and yarn
Signed-off-by: 孙振宇 <>
2025-02-07 16:53:17 +08:00
孙振宇
bdb5d7e1a5 refactor(lint): replace ESLint configuration with a new JSON format
Signed-off-by: 孙振宇 <>
2025-02-07 16:40:46 +08:00
孙振宇
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