groovy - How to set the build result when executing on the slave -
I have installed the Jenkins Groovey plugins either under Master or slave conditions, after all, I want to execute in context. However, since you can only access the API available in slave.jar, now I stuck with the way to set or change the result of the current build. Based on whether or not a created file is in zero size, it should have an effect whether the build is marked as unstable or not. So, walking on the slave, I have access to it through the file:
New file ("/ path / to / built / file / on / the / slave")
I can check its size and decide that the build should be marked as volatile. However, without API access without API.Model.Sure, how do you fulfill it? General GRI manager
is not available through the API plugin which I am using either, so that you should use the original API.
Alternatively, instead of destabilizing the build, is there a way to set up a shell script, unsuccessful? It is a shame that none of the shell script plugins provide exit code assessment assets so that you can control the build position based on this.
Any help appreciated.
Comments
Post a Comment