diff --git a/Jenkinsfile b/Jenkinsfile index efb7012..ec38c05 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,12 +15,17 @@ pipeline { } stage('[Neutral] - Deploy') { steps { - userInput = input( - id: 'userInput', message: 'Enter path of test reports:?', - parameters: [ - [$class: 'TextParameterDefinition', defaultValue: 'None', description: 'Path of config file', name: 'Config'], - [$class: 'TextParameterDefinition', defaultValue: 'None', description: 'Test Info file', name: 'Test'] - ]) + script { + def userInput = input( + id: 'userInput', message: 'Enter path of test reports:?', + parameters: [ + [$class: 'TextParameterDefinition', defaultValue: 'None', description: 'Path of config file', name: 'Config'], + [$class: 'TextParameterDefinition', defaultValue: 'None', description: 'Test Info file', name: 'Test'] + ]) + echo ("IQA Sheet Path: "+userInput['Config']) + echo ("Test Info file path: "+userInput['Test']) + + } echo "[Neutral-Deploy] - Deploy Stage" sh "ssh raphix@raphix.fr sudo apt update -y" sh "ssh raphix@raphix.fr sudo apt upgrade -y"