Manual build are already filtered by artifactory configuration, non- snapshot releases can be uploaded only by jenkins
BTW maybe I managed it. I created an additional ANT step into a parametrized build BEFORE the original maven step. Release ticket number is a parameter of the build, it is passed to the ant script which invoke the web services to get all release information and check them. If check are not succesful the ant script fails, causing the build to stop immediatley. In this way the maven build step is not even invoked, causing the build do fail as soon as possible saving jenkins from unuseful jobs. Moreover this is totaly separated from the maven build which is unaware of this check and easy to configure since the ant script can be reused in every job. On 19 Apr, 22:06, Dean Yu <d...@yahoo-inc.com> wrote: > Wouldn't you have the same requirement for deployments that are performed > manually? If so, it would make more sense to put this into your deployment > tool, not in Jenkins. > > -- Dean > > On 4/19/12 1:26 AM , "Michele Sacchetti" <michele.sacche...@gmail.com> > wrote: > > > > > > > > > Hi all > > > I'd like to introduce a sort of external validation on jenkins build. > > > Basically all I want to do is have people compile a "release form" on > > a ticketing tool (redmine,RT,etc. i do not care) > > Such ticketing tool can expose ticket status through web service/REST > > so it can be checked by http. > > > On jenkins i'd like to introduce a parametrized build in which ticket > > number has to be provided. > > Artifacts can be deployed (deploy/install goal) only if the ticket has > > been approved, all other goals are unaffected. > > > so basically I must introduce a step (the sooner the better, optimal > > solution would be pre-checkout but it's not mandatory) which will > > invoke an url, check the result and force the build to fail if needed. > > > All this logic must be contained in jenkins not into the project to be > > build (I have hundreds of them). > > > is there a plugin I can already use for this ? > > > thanks in advance