mirror of
https://github.com/Dannecron/netology-devops-ansible-vector.git
synced 2025-12-25 14:32:34 +03:00
add jenkinsfile
This commit is contained in:
20
Jenkinsfile
vendored
Normal file
20
Jenkinsfile
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
pipeline {
|
||||||
|
agent any
|
||||||
|
|
||||||
|
stages {
|
||||||
|
stage('checkout') {
|
||||||
|
steps {
|
||||||
|
echo 'Hello World'
|
||||||
|
git credentialsId: '6659caf8-95a2-4201-b6e0-bfe65e71836d',
|
||||||
|
url: 'git@github.com:Dannecron/netology-devops-ansible-vector.git',
|
||||||
|
branch: 'main'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('test') {
|
||||||
|
steps {
|
||||||
|
echo 'Run molecule test'
|
||||||
|
sh 'molecule test'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user