-
pipeline { agent any tools { jdk 'jdk17' nodejs 'node16' } environment { SCANNER_HOME = tool 'sonar-scanner' } stages { stage('clean workspace') { steps { cleanWs() } } stage('Checkout from Git') { steps { git branch: 'main', url: https://github.com/NikhilRaj-2003/devsecops-netflix-clone.git' } } stage("Sonarqube Analysis") { steps { withSonarQubeEnv('sonar-server') { sh '''$SCANNER_HOME/bin/sonar-scanner -Dsonar.projectName=Netflix \ -Dsonar.projectKey=Netflix''' } } } stage("quality gate") { steps { script { waitForQualityGate abortPipeline: false, credentialsId: 'Sonar-token' } } } stage('Install Dependencies') { steps { sh "npm install" } } } }
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
DevSecOps-Project
DevSecOps Project to setup Netflix clone on AWS using CICD, Security, Monitoring and GitOps
-
sudo useradd - system - no-create-home - shell /bin/false prometheus wget https://github.com/prometheus/prometheus/releases/download/v2.47.1/prometheus-2.47.1.linux-amd64.tar.gz
-
sudo useradd --system --no-create-home --shell /bin/false node_exporter wget https://github.com/prometheus/node_exporter/releases/download/v1.6.1/node_exporter-1.6.1.linux-amd64.tar.gz