[duplicate] Drone-cli does not set pipeline global environment variables

The above will not print the pipeline level variable, but will print the step level variable when ran with drone exec --pipeline python


---
kind: pipeline
type: docker
name: python
environment:
  PIPELINE_VAR: yes

steps:
  - name: lint_python
    image: python
    environment:
      STEP_VAR: yes
    commands:
      - echo $PIPELINE_VAR
      - echo $STEP_VAR

merging with "drone exec" does not support global pipeline variables