Welcome to the Linux Foundation Forum!

Chapter 11. Continuous Automated Testing - Build Breaker Plugin

I'm not sure if others are running into the same issue, but I had some problems installing the sonar build breaker plugin (in the 'Adding Build Breaker Plugin, Improving Code Quality' section. Below are the steps that worked for me. Maybe it helps someone else.

  1. Launch sonarqube container as root:
  1. docker exec -it -u root sonarqube bash
  1. run update command
  1. root@deaf8aceb6ce:/opt/sonarqube# apt update
  1. install wget
  1. root@deaf8aceb6ce:/opt/sonarqube# apt install wget
  1. cd into directory /extensions/plugin

  2. download newer version of breaker plugin

  1. root@deaf8aceb6ce:/opt/sonarqube/extensions/plugins# wget -c https://github.com/adnovum/sonar-build-breaker/releases/download/2.3.0/sonar-build-breaker-plugin-2.3.0.299.jar
  1. exit from container
  1. root@deaf8aceb6ce:/opt/sonarqube/extensions/plugins# exit
  2. exit
  1. restart sonarqube container
  1. root@ci-01:/# docker restart sonarqube
  2. sonarqube

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

  • Hi @visdan ,

    This failed because you didn't find the path on the Github repo in the video, right? So you went to the project on Github and downloaded it from there?

    Thanks,
    Luis.

  • Posts: 6

    @luisviveropena yes that's correct. I also had to install wget in the container (something the instructor may had done already, but perhaps wasn't in the lab).

  • Hi @visdan , ok, thanks for confirming what's the issue, in fact I was able to reproduce it. I'm going to inform of it to the course maintainer.

    I think the wget installation is a very simple step and basic tool, so I won't count this as an issue.

    Many regards,
    Luis.

  • Posts: 139

    Thanks @visadan for notifying along with instructions that worked for you. Much appreciated. Thank @luis for pitching in.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training