Start here

Home
About Klocwork
What's new
Fixed issues
Release notes
Installation

Reference

C/C++ checkers
Java checkers
C# checkers
MISRA C 2004 checkers
MISRA C++ 2008 checkers
MISRA C 2012 checkers
MISRA C 2012 checkers with Amendment 1
Commands
Metrics
Troubleshooting
Reference

Product components

C/C++ Integration build analysis
Java Integration build analysis
Desktop analysis
Refactoring
Klocwork Static Code Analysis
Klocwork Code Review
Structure101
Tuning
Custom checkers

Coding environments

Visual Studio
Eclipse for C/C++
Eclipse for Java
IntelliJ IDEA
Other

Administration

Project configuration
Build configuration
Administration
Analysis performance
Server performance
Security/permissions
Licensing
Klocwork Static Code Analysis Web API
Klocwork Code Review Web API

Community

View help online
Visit RogueWave.com
Klocwork Support
Rogue Wave Videos

Legal

Legal information

Error occurred during build: Authentication failed

While inspecting your build log, if you see the error message Error occurred during build: Authentication failed. Please run the "<jenkins_workspace>/klocwork/tools/bin/kwauth --url <host:port>" command to login., this means that Jenkins cannot find the proper credentials required to run the CI build.

You can set the Klocwork Server credentials in the 'Advanced Klocwork settings' section of your Jenkins settings. To access this information:
  1. Go to your Jenkins server and select Configure for the relevant project.
  2. Scroll down to the section labelled Perform Klocwork analysis.
  3. Click Advanced Klocwork Settings...
  4. In the section labelled Please enter your Klocwork credentials, ensure that your proper username and password are entered for these fields.
  5. Click Authenticate. You will receive a message to indicate whether or not your credentials are authenticated.