added
This commit is contained in:
26
Jenkinsfile
vendored
26
Jenkinsfile
vendored
@@ -1,23 +1,7 @@
|
|||||||
pipeline {
|
stage('Setting the variables values') {
|
||||||
agent any
|
steps {
|
||||||
stages {
|
bash '''#!/bin/bash
|
||||||
stage ("SCM checkout") {
|
echo "hello world"
|
||||||
steps {
|
'''
|
||||||
git "https://gitea.schlaubistechtalk.de/JonnyBravo/test_play.git"
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage(" execute Ansible") {
|
|
||||||
steps {
|
|
||||||
ansiblePlaybook installation: 'ansible', playbook: 'test_play.yml'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("run bash"){
|
|
||||||
steps {
|
|
||||||
bash '''#!/bin/bash
|
|
||||||
echo "hello world"
|
|
||||||
'''
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user