Posts

Showing posts with the label Jenkins

Error with Gradle Build SonarQube Plugin Registering Findbugs Plugin

Image
How to Fix the Error: Unable to register extension org.sonar.plugins.findbugs.FindbugsConfiguration when Running Gradle sonarqube task Using Gradle, Sonarqube and Findbugs you may get the following error when you try to execute the command: ./gradlew clean build sonarqube Here is the error: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':sonarqube'. > Unable to register extension org.sonar.plugins.findbugs.FindbugsConfiguration * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Root Cause This bug seems to occur when there is a mismatch of versions that don't play nice together. For instance here are the versions of our stack: Sonar Version: 5.3 SonarQube Gradle Plugin:  2.0.1 Update Findbugs plugin on Sonar: First, we had to update our Sonar server: Navigate to the Update Center Navigate to the Sonar Update Ce...

Geb Browser Automation Quick Start for Continuous Integration Linux

Image
How to Stand Up a Geb Sample Application On a CI Server(Continuous Integration) Linux This guide will show you step-by-step how to setup a simple Geb app to get started using the automated testing framework. This guide is intended for setting up automated browser tests on a Linux continuous integration server that is command line only with no UI enabled. This guide focuses on using a headless browser for testing. If you are trying to setup Geb on Windows instead please use the following link: Setup Geb on Windows Pull a copy of the Geb Sample App  First, pull the Geb sample application from Github: https://github.com/geb/geb-example-grails HTTPS Clone URL: https://github.com/geb/geb-example-grails.git Add the GhostDriver library to your grails app Add the following line to your BuildConfig.groovy: 58 58 // You usually only need one of these, but this project uses both 59 59 test "org.gebish:geb-spock:$gebVe...