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

Light Way to failOnModifications #35

Open
mschmiedel opened this issue Jun 6, 2019 · 0 comments
Open

Light Way to failOnModifications #35

mschmiedel opened this issue Jun 6, 2019 · 0 comments

Comments

@mschmiedel
Copy link

I am in the need to get Jenkins to be "UNSTABLE" when japicmp finds violations instead of failing the build. Problem is, that I have no way of calling japicmp Task directly from a Jenkinsfile or something similar separately from the build (corporate design).

What I want to do, is to be able to manually get a value from the task in the doLast closure which tells me if there are violations. This way I can signal Jenkins from Gradle to set the build UNSTABLE with a reason.

Is there a way to get this to work?

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

1 participant