Create Webhook for Jenkins using Github

Create Webhook for Jenkins using Github

Tiempo de lectura: 3 minutos Reading time: 3 minutes Hello, today we are going to learn how to create a Webhook to automatically deploy with Jenkins using Github. First, let’s go to our Jenkins and settings. We need to install the Generic Webhook Trigger plugin, which is compatible with Github. Once installed, go to your Jenkins Job > Configuration and … Read more

Deploy Docker Container with SonarQube and Integrate with Jenkins for Code Analysis

Deploy Docker Container with SonarQube and Integrate with Jenkins for Code Analysis

Tiempo de lectura: 2 minutos Reading time: 4 minutes Today we are going to see how to install SonarQube using a Docker container. To do this, we will use the following Docker container: version: “3.1” services: sonarqube: image: sonarqube:lts-community container_name: sonarqube hostname: sonarqube ports: – 9000:9000 environment: – sonar.jdbc.url=jdbc:postgresql://posgres_db:5432/sonar – sonar.jdbc.username=posgres – sonar.jdbc.password=adminposgres – sonar.search.javaAdditionalOpts=-Dbootstrap.system_call_filter=false volumes: – ./config/sonarqube/logs:/opt/sonarqube/logs – ./config/sonarqube/data:/opt/sonarqube/data … Read more

Analyze Javascript code (React Native, Typescript, Nodejs etc) with Sonarqube and Jenkins (or local)

Analyze Javascript code (React Native, Typescript, Nodejs etc) with Sonarqube and Jenkins (or local)

Tiempo de lectura: 3 minutos Today we’re going to see how to analyze JavaScript, React Native, or Node.js code using SonarQube and Jenkins. Install Node.js with Jenkins If we want to execute a project with JavaScript, we need to install Node.js on the machine where the scan is performed. In this case, on Jenkins. To do that, we install the … Read more

SonarQube Scanner PLUGIN for Jenkins, send your code to your Sonarqube server for analysis

SonarQube Scanner PLUGIN for Jenkins, send your code to your Sonarqube server for analysis

Tiempo de lectura: 2 minutos Reading time: 4 minutes Hello, today I’m going to show you how to install and send code to SonarQube using SonarQube Scanner Plugin and Jenkins. This way, we can create a stage within the CI/CD pipeline that is responsible for analyzing the code integration. The first thing we need to do is open Jenkins and … Read more

Fix stderr: error: object file .git/objects/ad/… is empty error using JENKINS

Fix stderr: error: object file .git/objects/ad/… is empty error using JENKINS

Tiempo de lectura: < 1 minuto Reading time: < 1 minute Today, I’m going to show you how to fix the error when synchronizing a GIT project with Jenkins, which returns: stderr: error: object file .git/objects/ad/.... is empty error: object file .git/objects/ad/.... is empty This occurs because there is a corrupt file in the Jenkins Git. To fix it, we need ... Read more

Notify via Discord when a Jenkins job or pipeline has finished.

Notify via Discord when a Jenkins job or pipeline has finished.

Tiempo de lectura: 3 minutos Reading time: 3 minutes Today I’m going to show you how we can send a notification to Discord when a Jenkins job is finished. First, we install the Discord Notifier plugin: https://plugins.jenkins.io/discord-notifier/ We search for it in Manage Jenkins > Available Plugins > Discord Notifier We install it by clicking on Install Without restart. Now … Read more

Create Pipeline for Jenkins

Create Pipeline for Jenkins

Tiempo de lectura: 3 minutos Reading time: 3 minutes Today I’m going to show you how to create a Pipeline for Jenkins. What is a Pipeline in Jenkins? A pipeline in Jenkins is a sequence of automated processes that are executed to build, test, and deploy a software project. A Jenkins pipeline is defined as a configuration file in the … Read more

Install Jenkins on Ubuntu or Linux

Install Jenkins on Ubuntu or Linux

Tiempo de lectura: 2 minutos Reading time: 2 minutes In this tutorial, I’m going to show you how to install Jenkins on Ubuntu or Linux: Jenkins is an open-source Continuous Integration and Delivery (CI/CD) system. It allows you to automate the build, testing, and deployment of software applications, making it easier to deliver new features and fixes faster and more … Read more