continuous integration - Choose approach for external Jenkins orchestration -


i wondering if there solution external jenkins orchestration or not?

let me explain our setup first:

  • we have several huge java artifacts needs tested through continuous integration pipeline
  • a job configured grab code after commit, run unit tests , build artifact itself
  • b jobs (there 4 of them now) run different set of smoke tests in parallel using empty databases. triggered only after a job succeeded. jobs use external resources: cloud nodes (to artifact deployed) , databases db pool. jobs can return 3 statuses in jenkins:
    • green: cloud node obtained successfully, artifact deployed, tests passed
    • yellow: there no infrastructure failures detected (or all) tests failed --> blame developers/qa here
    • red: there 1 one more infrastructure failure: cloud messed up, database unavailable, artifact deployment failed. --> blame devops here
  • c job: run only if of b jobs green. otherwise end of flow. uploading artifact nexus
  • d jobs: run functional tests: several jobs here reuse cloud nodes b jobs save time deployment. don't care status get: green, yellow or red. record results , that's it. however, there 2 jobs here deploy original artifact a job in clustered configuration , if deployment succeeded e job start independently (i.e. if d1 job fail, e1 shouldn't start if d2 job succeeded in same workflow, e2 should triggered).

when workflow finished, need determine status: if there fatal error (any red build) workflow must have failed status.

after workflow if finished, resources must freed up: cloud nodes , databases.

which workflow/process flow tool or library can utilize implement such logic?

we have several other pipelines different flows should flexible.

current implementation have complicated logic , several technical jobs take care of shared resources. want implement logic in single place: orchestrator triggering jenkins jobs externally, feeding them parameters run.

checkout rundeck plugin jenkins.

rundeck ssh based orchestration tool.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -