Does jenkins provide a plugin to continue the job from where it failed previously -
i trying build app using gradle tasks triggered using jenkins. after running few minutes task gets failed reason. fix issue , re run job , again. job again reruns first build step .
was wondering if there plugin save previous failed job state , rerun job there after changes.
like in maven use -rf(resume from), looking that.
the question not specific gradle tasks. lets example, if have jenkins job 10 build steps , failing @ 8th build step, once fix build step, next job execution should resume running 8th build step. these build steps part of 1 job.
note: case, understand can run build command line on build machine directly , once succeeded can integrate jenkins. in our case, don't have direct login access build machine . wondering jenkins magic
could 1 please me answers please
first thing have is, if arent already, start using jenkins pipeline stages. define stages in logical blocks of build scripts.
point resume stage, yes there checkpoint plugin
pretty cool https://www.cloudbees.com/products/cloudbees-jenkins-platform/enterprise-edition/features/checkpoints-plugin
unfortunately, cloudbees team has available in enterprise edition(paid) of jenkins.
talked core members on irc if plan open-source this, , not ready :/
Comments
Post a Comment