0

Is it possible to run gradle script as a post build action on Jenkins? I did a quick search on Google about it and couldn't find anything except this link:

https://issues.jenkins-ci.org/browse/JENKINS-19624

Are there any reasons why we cannot implement such a post build action?

leventunver
  • 3,269
  • 7
  • 24
  • 39

2 Answers2

0

I think it is not a complex task .. I may ask gregory if he can spend few minutes to this subject .. but gregory is under the wave. This is the main reason why nothing evolves. This is the answer ...

Jerome Vacher
  • 314
  • 1
  • 7
0

It seems possible with the PostBuildScript plugin.

https://wiki.jenkins-ci.org/display/JENKINS/PostBuildScript+Plugin

Screenshot is attached and it is super-easy. Just download the plugin and choose "Execute a set of scripts" from "Add post-build-action" menu.enter image description here

leventunver
  • 3,269
  • 7
  • 24
  • 39