这就是我现在所拥有的:
1. Create a feature branch with jenkinsfile in it
2. Commit to your new feature branch and the pipeline kicks off
3. The pipeline deploys the app to a new VM/environment/container/whatever
4. The environment/VM persists after the deploy so you can touch/test it physically
现在我想要发生的是当合并和删除分支时jenkins清理并删除它为该分支创建的VM。
是否有合并/删除分支的触发器?