pipeline { agent any environment { API_KEY = '343a88a359968f2a8b0d02e63a67e179b70720c88c79a19478c2a0d547904e9e' } stages { stage('Run Test Script') { steps { sh '/home/root/.jenkins/workspace/automator_pipeline_integration/execute.sh -t ${API_KEY}' junit 'allowEmptyResults: true, result.xml' } } } }