I am following the guide to set up Coverity Scan upload from Travis CI.
In my build I get the following error (see the log)
Successfully added SCM data for 2537 files
[33;1mTarring Coverity Scan Analysis results...[0m
[33;1mUploading Coverity Scan Analysis results...[0m
[33;1mCoverity Scan upload failed:
000
000
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Coverity Scan - Static Analysis</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
...
<p>
We're sorry, we have recently redesigned our website, and the page you are looking for no longer exists on Coverity Scan.
</p>
<p>
<a href="/">Click here</a> to be redirected to our the Coverity Scan home page.
</p>
...
What is the cause of this issue and what can I do to resolve it?
My .travis.yml
is at https://github.com/msgqe/travisci/blob/activemq-artemis-coverity/.travis.yml
I resolved the problem by changing project name on Coverity. I've registered the project manually, not by importing from GitHub. That meant I could have spaces in my project name. Github imports never do. When I removed spaces from project name, the build imported correctly.
Looking at various Coverity import scripts in the wild[1], there aren't quotes around project name in the last curl command. I believe this is the cause.