Search code examples
jenkins-x

How do I change a promotion strategy in one of my Jenkins X environments?


I've used the "jx create spring -d web -d actuator" command to create a simple Spring java application but I can't figure out how I'd change the promotion strategy from Auto to Manual. Can't see how it's being set in the environment configuration.

https://jenkins-x.io/about/features/#promotion


Solution

  • you can use jx edit env to edit your Environment configurations. Or you can use kubectl edit env staging if you want and edit the custom resource directly.

    See: https://jenkins-x.io/commands/jx_edit_environment/