Skip to content

is there any way to check a global parameter is set or not? #7401

Answered by terrytangyuan
liuzqt asked this question in Q&A
Discussion options

You must be logged in to vote

You can assign a default value in valueFrom.default and then check whether your parameter value is the default.

      parameters:
      - name: hello-param
        valueFrom:
          default: "Foobar"
          path: /tmp/hello_world.txt

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by liuzqt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants