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
|
agent any
|
||||||
|
|
||||||
stages {
|
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') {
|
stage('[Neutral] - Test') {
|
||||||
steps {
|
steps {
|
||||||
echo "[Neutral-Deploy] - Test Stage"
|
echo "[Neutral-Deploy] - Test Stage"
|
||||||
@ -13,7 +28,7 @@ pipeline {
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('[Neutral] - Deploy') {
|
stage('[Neutral] - Déploiement') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
def doesJavaRock = input(message: 'Confirmation de Déploiement', ok: 'Déployer')
|
def doesJavaRock = input(message: 'Confirmation de Déploiement', ok: 'Déployer')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user