Merge pull request 'Pipeline 1' (#22) from pipeline1 into main
Some checks failed
Organisation/sirh/pipeline/head There was a failure building this commit
Some checks failed
Organisation/sirh/pipeline/head There was a failure building this commit
Reviewed-on: #22
This commit was merged in pull request #22.
This commit is contained in:
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@@ -4,8 +4,14 @@ pipeline
|
|||||||
|
|
||||||
stages
|
stages
|
||||||
{
|
{
|
||||||
stage ( 'checkout' ){ steps {sh 'echo "Debut du pipeline"' } }
|
stage ( 'checkout' )
|
||||||
stage ( 'checkout' ){ steps { checkout scm } }
|
{
|
||||||
|
steps
|
||||||
|
{
|
||||||
|
'echo "Debut du pipeline"'
|
||||||
|
checkout scm
|
||||||
|
}
|
||||||
|
}
|
||||||
stage ( 'Deploiement' )
|
stage ( 'Deploiement' )
|
||||||
{
|
{
|
||||||
when { branch 'main' }
|
when { branch 'main' }
|
||||||
|
|||||||
Reference in New Issue
Block a user