How to assign saltstack pillar values from Jenkins comma separated input parameters?
You didn't say how the sls file is executed.


One way would be to pass pillars on command line:


salt '*' state.apply ftpsync pillar='{"ftpusername": "test", "ftppassword": "0ydyfww3giq8"}'



Or you can set the group name as a grain on the minion in advance.
Yet another way would be to set the group name as a jinja variable in the sls formula, depending on the hostname grain. Assuming your host names are set and standardized.