Test Neutral Pipeline #5
Some checks reported errors
Neutral/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
CICD - Pipeline 2023-03-19 17:56:35 +01:00
parent 0c53081237
commit 0665130c3c

7
Jenkinsfile vendored
View File

@ -15,12 +15,17 @@ pipeline {
} }
stage('[Neutral] - Deploy') { stage('[Neutral] - Deploy') {
steps { steps {
userInput = input( script {
def userInput = input(
id: 'userInput', message: 'Enter path of test reports:?', id: 'userInput', message: 'Enter path of test reports:?',
parameters: [ parameters: [
[$class: 'TextParameterDefinition', defaultValue: 'None', description: 'Path of config file', name: 'Config'], [$class: 'TextParameterDefinition', defaultValue: 'None', description: 'Path of config file', name: 'Config'],
[$class: 'TextParameterDefinition', defaultValue: 'None', description: 'Test Info file', name: 'Test'] [$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" echo "[Neutral-Deploy] - Deploy Stage"
sh "ssh raphix@raphix.fr sudo apt update -y" sh "ssh raphix@raphix.fr sudo apt update -y"
sh "ssh raphix@raphix.fr sudo apt upgrade -y" sh "ssh raphix@raphix.fr sudo apt upgrade -y"