diff --git a/jenkins/base-system/Jenkinsfile b/jenkins/base-system/Jenkinsfile new file mode 100644 index 0000000..8e106c0 --- /dev/null +++ b/jenkins/base-system/Jenkinsfile @@ -0,0 +1,21 @@ +pipeline { + agent any + + stages { + stage('clone') { + steps { + git branch: 'master', url: 'ssh://gitea@git.lulzette.ru:3111/lulzette/devops-shit.git' + } + } + stage('check') { + steps { + sh 'ansible-playbook -C ansible/base-system/playbook.yml' + } + } + stage('run!') { + steps { + sh 'ansible-playbook ansible/base-system/playbook.yml' + } + } + } +}