Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This Shared Library hosts a Custom Step which is an example implementation of the Unit Test step of a MettleCI Pipeline.

Here’s the pseudocode for the Shared Library:

def call(
    def ENVIRONMENTNAME
) {
	try {
        # Upload unit test specs 
        # Configure Properties
        # Create unit test report dir
        # Run Unit Tests
        # Download unit test reports
        # Publish Unit Test results
        # Cleanup
   }
    catch(e) {
        # Cleanup
        
        throw e     # Propagate error for downstream error processing
    }
}
  • No labels