This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -1,7 +1,13 @@
|
||||
pipeline {
|
||||
agent none
|
||||
stages{
|
||||
stage('Setting the variables values') {
|
||||
agent any
|
||||
steps {
|
||||
bash '''#!/bin/bash
|
||||
echo "hello world"
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
23
old_jenkinsfile
Normal file
23
old_jenkinsfile
Normal 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"
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user