You can add the environment by exporting it as a JSON file and adding it as a parameter to the command with by using the -e option For example if your environment JSON file is myEnviroment.json you only need to add the following to the command: -e myEnviroment.json
It's very helpful! thank you for your sharing.
It would be interesting to show how to set up cron within the Jenkinsfile so that the job is run periodically and then email out the results
Could you please elaborate how we can add the Postman environment to the jenkins too? That would be really appreciated. Thanks
You can add the environment by exporting it as a JSON file and adding it as a parameter to the command with by using the -e option
For example if your environment JSON file is myEnviroment.json you only need to add the following to the command:
-e myEnviroment.json