Manually mark a job as successful?

We have a job that will occasionally fail. This means we need to go and do some manual steps to put the job into a good state. How can I mark the job as succeded after it has failed? We don’t want to allow the job to fail as the build failure causes us to perform the manual work arround.

Thanks

You can use allowed_failures. Then the job failing won’t fail the entire build.

I don’t understand what this means. All you can do with Travis’ means is restart the job and it may succeed this time – in which case, you won’t need to “mark” anything.

It you link to an example build as an illustration that will hopefully make it more clear what the real problem you are solving is.

Unfortunately that doesn’t work for me. I need to do some manual steps, if the build fails, before continuing with the next step.

In a nutshell I want this feature in travis:

https://confluence.jetbrains.com/display/TCD8/Changing+Build+Status+Manually

otherwise what happens is the build is always red! What I want to do is indicate that it’s been taken care of by manually changing the build status.

Imprint