Skip to content

New script to peek at job parameters

Marek Szuba requested to merge github/fork/carlacummins/master into master

Created by: carlacummins

peekJob.pl allows us to check which params a given job has access to

Use case

Sometimes, we need to see which parameters a job has access to during development or testing. This is currently only possible by running runWorker.pl in debug mode and killing the job before it performs any other tasks.

Description

Utilising the method that runWorker.pl itself uses to fetch params, this script has been implemented following the general structure of the e-hive codebase (with a module for the main functionality and a script to pass the parameters)

Possible Drawbacks

This script does not reveal any information about the source of the parameters, only their presence

Testing

Added new unit test to check the output of the script

Merge request reports