This commit is contained in:
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
@@ -1,7 +1,13 @@
|
|||||||
stage('Setting the variables values') {
|
pipeline {
|
||||||
steps {
|
agent none
|
||||||
bash '''#!/bin/bash
|
stages{
|
||||||
echo "hello world"
|
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