Files
platform-bootstrap/Jenkinsfile
2026-03-08 18:30:29 +00:00

24 lines
451 B
Groovy

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}}"'
}
}
}
}