hello
I found a env variable “DRONE_STEP_NAME” in the document: https://docs.drone.io/pipeline/environment/reference/drone-step-name/
but when I use the drone-kube-runner,I cant’t get the variable.
versions:
drone: drone:1.9.0
runner: drone-runner-kube:1.0.0-beta.4
.drone.yml:
kind: pipeline
type: kubernetes
name: default
steps:
- name: greeting
image: alpine
commands:
- echo hello
- echo world
- "ls -la"
- env
- echo $DRONE_STEP_NAME
- echo $DRONE_BRANCH
build log:
125 + echo $DRONE_STEP_NAME
126
127 + echo $DRONE_BRANCH
128 master