added
Some checks failed
test/pipeline/head There was a failure building this commit

This commit is contained in:
2023-03-17 08:39:49 +01:00
parent 21d0dbcb60
commit e1849e4b5b
2 changed files with 34 additions and 5 deletions

8
Jenkinsfile vendored
View File

@@ -1,7 +1,13 @@
stage('Setting the variables values') { pipeline {
agent none
stages{
stage('Setting the variables values') {
agent any
steps { steps {
bash '''#!/bin/bash bash '''#!/bin/bash
echo "hello world" echo "hello world"
''' '''
} }
} }
}
}

23
old_jenkinsfile Normal file
View File

@@ -0,0 +1,23 @@
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"
'''
}
}
}
}