From b2e1a45f414f63667d2e51ae6cab9fd5e308f48a Mon Sep 17 00:00:00 2001 From: Raphix Date: Sun, 19 Mar 2023 17:55:09 +0100 Subject: [PATCH] Test Neutral Pipeline #3 --- Jenkinsfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index e6d092a..788725c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,11 +10,17 @@ pipeline { sh "cd neutral" sh "npm i" sh "ENV='TEST' node bin/www" - + } } stage('[Neutral] - Deploy') { steps { + 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 "[Neutral-Deploy] - Deploy Stage" sh "ssh raphix@raphix.fr sudo apt update -y" sh "ssh raphix@raphix.fr sudo apt upgrade -y"