- Add SonarQube configuration files - sonar-project.properties with Node.js/Express settings - .sonarignore to exclude test files, database, and build artifacts - Configure source paths (src, index.js, db.js) - Set up test coverage paths - Add SonarQube npm script - npm run sonar command for manual analysis - Integrate SonarQube into Jenkins pipeline - Add SonarQube Analysis stage with sonar-scanner-cli - Add Quality Gate verification stage - Block deployment if quality gate fails - 5-minute timeout for quality gate check This enables continuous code quality monitoring and ensures code meets quality standards before deployment. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
65 lines
566 B
Plaintext
65 lines
566 B
Plaintext
# Dependencies
|
|
node_modules/
|
|
**/node_modules/**
|
|
|
|
# Build outputs
|
|
dist/
|
|
build/
|
|
|
|
# Testing
|
|
coverage/
|
|
.nyc_output/
|
|
|
|
# Database
|
|
database/
|
|
*.sql
|
|
|
|
# Scripts
|
|
scripts/
|
|
*.sh
|
|
*.bat
|
|
*.ps1
|
|
|
|
# Configuration files
|
|
*.config.js
|
|
jest.config.js
|
|
eslint.config.js
|
|
|
|
# Environment files
|
|
.env*
|
|
|
|
# Logs
|
|
logs/
|
|
*.log
|
|
npm-debug.log*
|
|
backend.log
|
|
|
|
# Test files
|
|
test-*.js
|
|
*.test.js
|
|
*.spec.js
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
|
|
# Docker
|
|
Dockerfile
|
|
docker-compose*.yml
|
|
|
|
# CI/CD
|
|
Jenkinsfile
|
|
.github/
|
|
|
|
# Documentation
|
|
*.md
|
|
postman-collection.json
|
|
|
|
# Public files
|
|
public/
|
|
|
|
# Temporary files
|
|
*.tmp
|
|
*.bak
|
|
*.backup
|