I want to pass a JSON string to a node using a Jenkins Job.
JSON={"Automation":{"Env":"XXX","No of TCs to Run":"08","Suite":{"SAMPLE1":[{"testcases":"TC01,TC02,TC03,TC04"},{"TC_Username":"[email protected]","TC_Password":"P!assword"},{"TS_Username":"[email protected]","TS_Password":"AgeAS2"},{"TM_Username":"[email protected]","TM_Password":"P!assword","TM_Company":"TEST","TM_FirstName":"Test","TM_LastName":"FARIZ"}]}} }
code in the Build Section of Jenkins jobs:
cd C:\Test
BatchRunner.bat %JSON%