Test Neutral Pipeline #3
Some checks failed
Neutral/pipeline/head There was a failure building this commit

This commit is contained in:
CICD - Pipeline 2023-03-19 17:55:09 +01:00
parent 42f43129db
commit b2e1a45f41

8
Jenkinsfile vendored
View File

@ -10,11 +10,17 @@ pipeline {
sh "cd neutral" sh "cd neutral"
sh "npm i" sh "npm i"
sh "ENV='TEST' node bin/www" sh "ENV='TEST' node bin/www"
} }
} }
stage('[Neutral] - Deploy') { stage('[Neutral] - Deploy') {
steps { 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" 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"