Tearing-Down a development deployment in Jenkins

36 Views Asked by At

I have a Jenkins CD pipeline that deploys a test environment to a Kubernetes cluster. I want to be able to easily tear down that environment as a manual action from Jenkins.

I come from Gitlab CI where there notion of Environments enable you to specify a step to run when you click a nice button on the UI.

I have looked into the Jenkins Input Step plugin, thinking I could have the teardown step at the end of the pipeline behind an input. However I find letting the pipeline run for so long inelegant.

Is there a plugin/pattern I am unaware of that would fit my needs?

0

There are 0 best solutions below