Bootstrap Jenkins pipeline

This commit is contained in:
swarm-bootstrap-bot
2026-03-08 18:30:29 +00:00
parent 5cfdc8b8ce
commit 297f3dbd82
2 changed files with 31 additions and 1 deletions

23
Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,23 @@
pipeline {
agent any
options {
buildDiscarder(logRotator(numToKeepStr: '20'))
timeout(time: 30, unit: 'MINUTES')
}
stages {
stage('Validate Workspace') {
steps {
sh 'pwd'
sh 'ls -la'
}
}
stage('Swarm Check') {
steps {
sh 'docker service ls --format "{{.Name}} {{.Replicas}}"'
}
}
}
}