Files
test_play/Jenkinsfile
jonnybravo bdfcfb4959
Some checks failed
multi_branch_test/pipeline/head There was a failure building this commit
mulit_pipeline_default/pipeline/head Build queued...
multibranch_ansible/pipeline/head This commit looks good
added
2023-06-02 09:24:29 +02:00

22 lines
457 B
Groovy

pipeline {
agent none
stages {
stage ('Hello') {
agent any
steps {
echo 'Hello, '
sh '''#!/bin/bash
echo "Hello from bash"
echo "Who I'm $SHELL"
'''
ansiblePlaybook credentialsId: '209d0fa2-bbd7-4af5-9aac-deec1b6aa7ec', inventory: '192.168.150.40,', playbook: 'test_play.yml'
}
}
}
}