How do I override a step?

If there is a named step in the pipeline you wish to override you can add some YAML to your jenkins-x.yml file as follows:

In this case were are going to replace the step called helm-release in the release pipeline

      - pipeline: release
        name: helm-release
          image: busybox
          sh: echo "this command is replaced"

You can see the effect of this change locally before you commit it to git via the jx step syntax effective command:

jx step syntax effective -s

You can override whole Stages or replace a specific step with a single step or a sequence of steps. You can also add steps before/after another step.

For more detail check out how to override steps