100 Days of DevOps - Day 74: Jenkins Database Backup Job

I have attempted this task many times, and although the Jenkins job returns a failed status, when you check the Database server and the Backup server, the .SQL file is present.

So I’m curious what the pass/fail check actually looks for. The failed check says that ‘sql’ is not present on the Backup server (when it very clearly is).

It’s a little frustrating that we can’t skip failed tasks, so that we can continue to make progress, and return to previous failed tasks.

Update

I have attempted various of the following “solution” Jenkins Database Backup Job | 100-Days-Of-DevOps-Challenge-KodeKloud, but it never passed the check (even though the file was successfully copied).

I found another approach here (100 Days of DevOps: Day 74 - DEV Community), which worked as well, and actually passed the task check.