Running CWL in Jenkins
Jenkins will run a toil script that loads environment variables, and runs argos CWL based on parameters provided by the user.
Running the Script
Log into Jenkins:
username and password can be found
/work/ci/jenkins_secrets.txt
Once logged in click 'parameterized-cwl-script'. This will navigate you to the parameterized Jenkins job.
On the left hand side select 'Build with Parameters'. Default parameters will load in the text box and can be modified. The required parameters are:
GIT_CLONE: The CWL Github repository
GIT_CHECKOUT: The branch (or tag) the user is working on
CWL_PATH: The path to CWL within the github repository
INPUT_JSON: The path to input.json or yaml file. This path can be within the github repository or a directory in juno.
Once parameters are entered click on the 'Build'. This will run the parameterized script.
Confirm script is running
While the build is running, you can view a detailed log of the build from the console output.
Hover over the Build History table in the sidebar.
Clicking the up arrow will confirm you are clicking on the most recent build
Clicking on the build number will take you to the console output
Hovering over the circle next to the build number will show you the progress of the run
Once you click on the build number. Click Console Output in the sidebar menu and the console output is displayed
Output directory
The ouput folder and toil log can be found in the following directory: /work/ci/jenkins/parameterized-cwl-script/{build-number}/
Last updated
Was this helpful?