pipeline { agent { docker { image 'archlinux:latest' } } triggers { cron('H H */7 * *') } environment { SECRET_SSH = credentials('adonis-ssh-key') SECRET_GPG = credentials('toufy-gpg-key') SECRET_GPG_PASS = credentials('toufy-gpg-passwd') } stages { stage('checkout repo') { steps { checkout scm } } stage('build') { steps { sh ''' set -euo pipefail chmod 700 ./taur.sh ./taur.sh ''' } } } post { always { echo 'pipeline finished' } } }