Commit Graph

2109 Commits

Author SHA1 Message Date
孙振宇
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
孙振宇
87b8cbb377 fix(pipeline): update SemanticReleasingExecutor to accept Git credentials ID as a parameter
Signed-off-by: 孙振宇 <>
2025-02-08 10:33:02 +08:00
孙振宇
88e315647d feat(pipeline): pass service Git credentials ID to SemanticReleasingExecutor
Signed-off-by: 孙振宇 <>
2025-02-08 10:25:39 +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
孙振宇
7a11900023 fix(pipeline): update semantic release logging and remove unnecessary conditions in executeFreeleapsPipeline
Signed-off-by: 孙振宇 <>
2025-02-07 18:18:14 +08:00
孙振宇
2498387200 fix(pipeline): remove redundant semanticReleaseBranch validation in executeFreeleapsPipeline
Signed-off-by: 孙振宇 <>
2025-02-07 18:14:49 +08:00
孙振宇
8879bb94a0 fix(pipeline): disable linting and SAST scanning in Jenkinsfile for specific components
Signed-off-by: 孙振宇 <>
2025-02-07 18:11:33 +08:00
孙振宇
7b3c9548ea feat(lint): add TypeScript ESLint plugins to Jenkinsfile for improved linting support
Signed-off-by: 孙振宇 <>
2025-02-07 18:06:20 +08:00
孙振宇
99f6534370 feat(pipeline): enhance dependency resolution with caching support in executeFreeleapsPipeline
Signed-off-by: 孙振宇 <>
2025-02-07 17:42:01 +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
孙振宇
9352de5270 fix(pipeline): update SourceFetcher to use dynamic git credentials ID
Signed-off-by: 孙振宇 <>
2025-02-07 15:57:10 +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
孙振宇
4a94ec60d9 feat(pipeline): add SemanticReleasingExecutor import to executeFreeleapsPipeline
Signed-off-by: 孙振宇 <>
2025-02-07 15:22:40 +08:00
孙振宇
ccffb811f4 fix(pipeline): correct syntax in generateComponentStages function
Signed-off-by: 孙振宇 <>
2025-02-07 15:21:33 +08:00
孙振宇
6a92bb3cdc fix(tests): add missing commas in buildArtifacts definitions in Jenkinsfile
Signed-off-by: 孙振宇 <>
2025-02-07 15:20:06 +08:00
孙振宇
38bfc418c4 feat(pipeline): add Bandit SAST scanner and enhance linting configurations
Signed-off-by: 孙振宇 <>
2025-02-07 15:18:40 +08:00
孙振宇
18f4ae6f9a refactor(executeFreeleapsPipeline): update linter check to use component.linter instead of variable
Signed-off-by: 孙振宇 <>
2025-02-05 16:33:51 +08:00
孙振宇
69eaed1c6a feat(pipeline): implement SAST and linting executors with configuration handling
Signed-off-by: 孙振宇 <>
2025-02-05 16:29:52 +08:00
孙振宇
425b7014fa refactor(executeFreeleapsPipeline): change agentContainer to use container function for dep-resolver
Signed-off-by: 孙振宇 <>
2025-02-04 15:49:33 +08:00
孙振宇
62cec3adef refactor(executeFreeleapsPipeline): update dep-resolver container command to log Node.js and npm versions
Signed-off-by: 孙振宇 <>
2025-02-04 15:47:02 +08:00
孙振宇
3dfb8dd8c4 refactor(executeFreeleapsPipeline): update command in dep-resolver to log Node.js and npm versions
Signed-off-by: 孙振宇 <>
2025-02-04 15:41:05 +08:00
孙振宇
dd47e5f6c1 refactor(executeFreeleapsPipeline): update language parsing to use component.language instead of configurations.serviceLang
Signed-off-by: 孙振宇 <>
2025-02-04 15:34:54 +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
孙振宇
992daf0683 refactor(executeFreeleapsPipeline): log Node.js version in generateComponentStages function
Signed-off-by: 孙振宇 <>
2025-02-04 15:26:21 +08:00
孙振宇
4855f5dc22 refactor(executeFreeleapsPipeline): simplify error handling in generateComponentStages function and log Node.js version
Signed-off-by: 孙振宇 <>
2025-02-04 15:25:40 +08:00
孙振宇
fb76a7ea2b refactor(executeFreeleapsPipeline): move 'step' block inside 'script' for improved structure in generateComponentStages function
Signed-off-by: 孙振宇 <>
2025-02-04 15:22:59 +08:00
孙振宇
5d290bd698 refactor(executeFreeleapsPipeline): change 'steps' to 'step' for consistency in generateComponentStages function
Signed-off-by: 孙振宇 <>
2025-02-04 15:18:37 +08:00
孙振宇
296d49f95c refactor(executeFreeleapsPipeline): restructure generateComponentStages to improve error handling and encapsulate steps within a script block
Signed-off-by: 孙振宇 <>
2025-02-04 15:16:36 +08:00
孙振宇
891d594ff1 refactor(executeFreeleapsPipeline): streamline error handling in generateComponentStages function
Signed-off-by: 孙振宇 <>
2025-02-04 15:11:28 +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
孙振宇
2725cd823d refactor(executeFreeleapsPipeline): update build agent image to 'node:lts' and improve error handling in generateComponentStages function
Signed-off-by: 孙振宇 <>
2025-02-04 15:05:19 +08:00
孙振宇
43dbb2b7cd refactor(executeFreeleapsPipeline): update generateComponentStages to accept configurations and improve build agent image handling
Signed-off-by: 孙振宇 <>
2025-02-04 14:59:41 +08:00