Cleaning WS

This commit is contained in:
2026-03-30 17:15:07 +00:00
parent fce4339d2b
commit 86d69a4674

View File

@@ -1,12 +1,27 @@
pipeline {
agent any
options {
skipDefaultCheckout(true)
}
triggers {
// 'H' tells Jenkins to balance the load, running roughly every 30 minutes
cron('H/30 * * * *')
}
stages {
stage('Clean Workspace') {
steps {
cleanWs(
deleteDirs: true,
patterns: [
[pattern: 'twitter_browser_state.json', type: 'EXCLUDE'],
[pattern: 'twitter2bsky.log', type: 'EXCLUDE'],
[pattern: 'screenshots/**', type: 'EXCLUDE']
]
)
}
}
stage('Checkout Code') {
steps {
// Pulls the code from the repository where this Jenkinsfile lives