Test Neutral Pipeline #8
Some checks failed
Neutral/pipeline/head There was a failure building this commit
Some checks failed
Neutral/pipeline/head There was a failure building this commit
This commit is contained in:
parent
ee57461457
commit
4832e2c65b
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user