This commit is contained in:
2026-03-30 17:21:44 +00:00
parent 4c3183cfad
commit 4338b89394

View File

@@ -1,12 +1,27 @@
pipeline { pipeline {
agent any agent any
options {
skipDefaultCheckout(true)
}
triggers { triggers {
// 'H' tells Jenkins to balance the load, running roughly every 30 minutes
cron('H/30 * * * *') cron('H/30 * * * *')
} }
stages { 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') { stage('Checkout Code') {
steps { steps {
// Pulls the code from the repository where this Jenkinsfile lives // Pulls the code from the repository where this Jenkinsfile lives