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

This commit is contained in:
CICD - Pipeline 2023-03-19 18:18:36 +01:00
parent ee57461457
commit 4832e2c65b

17
Jenkinsfile vendored
View File

@ -2,6 +2,21 @@ pipeline {
agent any
stages {
stage('[Neutral] - Check Version') {
steps {
script {
def commit_name = sh "ssh raphix@raphix.fr sudo -S -u gitlab-ci git log -1 --pretty=%B"
if(commit_name.contains("@")) {
echo "[Neutral] - Deployement version reconnu"
} else {
currentBuild.result = 'ABORTED'
return
}
}
}
}
stage('[Neutral] - Test') {
steps {
echo "[Neutral-Deploy] - Test Stage"
@ -13,7 +28,7 @@ pipeline {
}
}
stage('[Neutral] - Deploy') {
stage('[Neutral] - Déploiement') {
steps {
script {
def doesJavaRock = input(message: 'Confirmation de Déploiement', ok: 'Déployer')