Test Neutral Pipeline #5
Some checks reported errors
Neutral/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
Neutral/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
parent
0c53081237
commit
0665130c3c
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
@ -15,12 +15,17 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('[Neutral] - Deploy') {
|
stage('[Neutral] - Deploy') {
|
||||||
steps {
|
steps {
|
||||||
userInput = input(
|
script {
|
||||||
id: 'userInput', message: 'Enter path of test reports:?',
|
def userInput = input(
|
||||||
parameters: [
|
id: 'userInput', message: 'Enter path of test reports:?',
|
||||||
[$class: 'TextParameterDefinition', defaultValue: 'None', description: 'Path of config file', name: 'Config'],
|
parameters: [
|
||||||
[$class: 'TextParameterDefinition', defaultValue: 'None', description: 'Test Info file', name: 'Test']
|
[$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"
|
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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user