From 82c78f254069afc5e984abeeda0323b5e07a5b6c Mon Sep 17 00:00:00 2001 From: joungmin Date: Thu, 19 Feb 2026 11:19:32 +0900 Subject: [PATCH 1/4] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4006bea..d2d4c4a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -95,7 +95,7 @@ pipeline { # Detect Secrets - Hardcoded secrets scan detect-secrets scan \ - --exclude-files '\.git/.*' \ + --exclude-files '.git/.*' \ --output-format=json \ > secrets-report.json || true ''' From 5b57c9b9f7d2cbb690bcfdd58f6e422f7c2f0b43 Mon Sep 17 00:00:00 2001 From: joungmin Date: Thu, 19 Feb 2026 13:00:45 +0900 Subject: [PATCH 2/4] Update Jenkinsfile --- Jenkinsfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d2d4c4a..d74ea79 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,8 +18,6 @@ pipeline { // Snyk (uncomment and configure) // SNYK_TOKEN = credentials('snyk-token') - // Paths - WORKSPACE = "${WORKSPACE}" } stages { @@ -331,7 +329,7 @@ pipeline { pytest tests/ --tb=short pytest tests/test_security.py --tb=short supervisorctl restart openclaw - ' + ''' ) ] ) From 5d7eb8e8556f8aae492dbb1efd9a815c84625b9a Mon Sep 17 00:00:00 2001 From: joungmin Date: Thu, 19 Feb 2026 13:14:06 +0900 Subject: [PATCH 3/4] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d74ea79..15615de 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -73,7 +73,7 @@ pipeline { echo '๐Ÿ”’ Running static security analysis...' sh ''' - source venv/bin/activate + . venv/bin/activate # Bandit - Python security scanner bandit -r . \ From 5ae27df0d606a2c49dacf30a32388717bdb12ea5 Mon Sep 17 00:00:00 2001 From: joungmin Date: Thu, 19 Feb 2026 13:16:07 +0900 Subject: [PATCH 4/4] Update Jenkinsfile --- Jenkinsfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 15615de..eb0cf90 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -29,7 +29,7 @@ pipeline { echo '๐Ÿ“‹ Running linters...' sh ''' - source venv/bin/activate + . venv/bin/activate # Pylint - Python linting with custom config pylint --rcfile=.pylintrc \ @@ -121,7 +121,7 @@ pipeline { withSonarQubeEnv('SonarQube') { sh ''' - source venv/bin/activate + . venv/bin/activate sonar-scanner \ -Dsonar.projectKey=openclaw \ @@ -151,7 +151,7 @@ pipeline { withCredentials([string(credentialsId: 'snyk-token', variable: 'SNYK_TOKEN')]) { sh ''' - source venv/bin/activate + . venv/bin/activate # Snyk test for Python dependencies snyk test \ @@ -181,7 +181,7 @@ pipeline { echo '๐Ÿงช Running unit tests...' sh ''' - source venv/bin/activate + . venv/bin/activate pytest tests/ \ -v \ @@ -222,7 +222,7 @@ pipeline { echo '๐Ÿ” Running security unit tests...' sh ''' - source venv/bin/activate + . venv/bin/activate pytest tests/test_security.py \ -v \ @@ -245,7 +245,7 @@ pipeline { echo '๐Ÿ”— Running integration tests...' sh ''' - source venv/bin/activate + . venv/bin/activate # Oracle connection test python3 -c " @@ -285,7 +285,7 @@ pipeline { echo '๐Ÿ“ฆ Building application...' sh ''' - source venv/bin/activate + . venv/bin/activate # Freeze dependencies pip freeze > requirements.locked.txt @@ -324,7 +324,7 @@ pipeline { remoteDirectory: '/home/joungmin/openclaw', execCommand: ''' cd /home/joungmin/openclaw - source venv/bin/activate + . venv/bin/activate pip install -r requirements.txt pytest tests/ --tb=short pytest tests/test_security.py --tb=short