Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-16519

Sheduled script job does not save buildresults

      I created a "Freestyle" Software Project and inside this I used a Shell Command.

      The Job is configured to run the jobs scheduled (0 0 * * *) and to delete old builds but keep the last 10 builds.

      When I run the job manually everything works fine and I can see the results like last success and last duration.

      But when the job runs sheduled I cant see anything. I am sure the job has run because I received a mail from it. When I start the "build" manually it counts the correct build number.

      Critical because a job that has run MUST have output anywhere

          [JENKINS-16519] Sheduled script job does not save buildresults

          D P added a comment - - edited

          I have the exact same problem:

          • freestyle project (blank, not copied from other project)
          • checked delete old builds, keep max. #31 days _(tested without this enabled, doesn't make a difference)
          • trigger build after succesful completion of other build
          • delete workspace before build starts
          • executes Windows batch commnd
          • publishes mstest report

          Other jobs with the same configuration do keep their build history as specified.
          So i also tried deleting this job and recreating it, but the problem persists.

          D P added a comment - - edited I have the exact same problem: freestyle project (blank, not copied from other project) checked delete old builds, keep max. #31 days _(tested without this enabled, doesn't make a difference) trigger build after succesful completion of other build delete workspace before build starts executes Windows batch commnd publishes mstest report Other jobs with the same configuration do keep their build history as specified. So i also tried deleting this job and recreating it, but the problem persists.

            gbois Gregory Boissinot
            fmueller Frank Mueller
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: