Hi,

I am trying to use SaltStack with Jenkins and I have installed and 
configured SaltStack plugin for the same. I want to pass BUILD_ID 
environment variable as a pillar during the build and in-order to achieve 
that I have passed this in the *Arguments - "pillar={"build_id": '{{ 
BUILD_ID }}' }"* but in the output the whole  string (i.e. *BUILD_ID*) gets 
printed.

This is how my SLS file looks like:

Info message:
  module.run:
    - name: test.echo
    - text: "{{ pillar['build_id'] }}"

Any idea how can this be achieved?

BR,
Varun

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/d16ccba0-f479-4342-a144-3960c495b5db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to