Some checks failed
test/pipeline/head There was a failure building this commit
24 lines
512 B
Plaintext
24 lines
512 B
Plaintext
pipeline {
|
|
agent any
|
|
stages {
|
|
stage ("SCM checkout") {
|
|
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"
|
|
'''
|
|
}
|
|
}
|
|
}
|
|
}
|