Jenkins - doesn't show build history

I have a multi-module maven project that I am creating with Jenkins called MyApp. I also have another maven project that depends on MyApp, and this project runs integration tests on MyApp.

In Jenkins, when I look at the status of the MyApp project, it successfully displays a list of previously completed builds, and I can click them to find out more information (and view the console output).

However, the integration test project, although it works correctly, displays only previous builds for about 5 minutes, after which something happens, and Jenkins completely forgets that the build was ever launched.

On the file system, I can use cd to:

/usr/share/tomcat6/.jenkins/jobs/My App Integration Test/builds

and ls shows

me@myserver:/usr/share/tomcat6/.jenkins/jobs/My App Integration Test/builds$ ls

1  2  2013-01-24_16-46-59  2013-01-24_16-51-58  2013-01-24_18-05-09  2013-01-24_18-58-46  3  4

so that all my previously created assemblies are where they should be.

Jenkins " " , , , .

jenkins tomcat6 Ubuntu.

?

+4
4

, ​​. , !

0

1.505. , .

GUI Manage Jenkins- > Upgrade to Latest ( Jenkins)

linux aptitude update yum update jenkins .

+3

I have jenkins working with 1.517, still facing the problem if the number of builds exceeds 65 without the discard option. Found reboot configuration to return build history.

+2
source

I saw this problem and could always solve it by following these steps:

Go to \\[buildmachine]\C$\Jenkins\jobs\[jobname]

  • Delete a folder builds.
  • Delete shortcuts on lastStableand lastSuccessful.
  • Open the file nextBuildNumberand change the number to 1.

Then create new tasks and they will no longer disappear.

+1
source

All Articles