This a sample use case were we setup our Jenkinsfile to submit a job to the mainframe, check the job status and wait until it gets into the OUTPUT stage.
Here is a short description of the steps taken by the Jenkinsfile.
- Setup the zowe profiles to be used, i.e. execute the setup_credentials.sh
- Submit the job
- Verify the job status
- Output the results (see demo_content.sh)