realm-kotlin icon indicating copy to clipboard operation
realm-kotlin copied to clipboard

Skip publishing if sample app build fails

Open sync-by-unito[bot] opened this issue 4 years ago • 2 comments

There is something wrong with the exit status of the 'Tests Android Sample App' step of our Jenkins build.

In this build the sample app tests failed but I had to abort the publishing manually: https://ci.realm.io/blue/organizations/jenkins/realm%2Frealm-kotlin/detail/master/66/pipeline

sync-by-unito[bot] avatar Mar 23 '21 17:03 sync-by-unito[bot]

@rorbech I think this could be achieved simply by adding the currentBuild.result to the check in https://github.com/realm/realm-kotlin/blob/master/Jenkinsfile#L85 to avoid starting this stage at all

nhachicha avatar Mar 23 '21 17:03 nhachicha

Seems like there is still an issue not aborting the build if the sample app fails: https://ci.realm.io/blue/organizations/jenkins/realm%2Frealm-kotlin/detail/master/360/pipeline

rorbech avatar Apr 04 '22 07:04 rorbech