Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip publishing if sample app build fails #152

Open
sync-by-unito bot opened this issue Mar 23, 2021 · 2 comments
Open

Skip publishing if sample app build fails #152

sync-by-unito bot opened this issue Mar 23, 2021 · 2 comments

Comments

@sync-by-unito
Copy link

sync-by-unito bot commented Mar 23, 2021

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

@nhachicha
Copy link
Collaborator

@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

@sync-by-unito sync-by-unito bot closed this as completed Jan 11, 2022
@rorbech
Copy link
Contributor

rorbech commented Apr 4, 2022

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 rorbech reopened this Apr 4, 2022
@rorbech rorbech changed the title Skip releases if sample app build fails Skip publishing if sample app build fails Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants