diff options
| author | toufic ar <contact@toufy.me> | 2026-04-16 10:15:03 +0300 |
|---|---|---|
| committer | toufic ar <contact@toufy.me> | 2026-04-16 10:15:03 +0300 |
| commit | d9478c8f0c16d7ce4678a4675b721f9ed36a3f5e (patch) | |
| tree | d08577d73fe8679f6db6a03ae9c35aadfc42098a /Jenkinsfile | |
| parent | b886a6d94d45a1f6a19d8c110855cd5e393a2454 (diff) | |
| download | taur-d9478c8f0c16d7ce4678a4675b721f9ed36a3f5e.tar.gz taur-d9478c8f0c16d7ce4678a4675b721f9ed36a3f5e.zip | |
add jenkins pipeline
Diffstat (limited to 'Jenkinsfile')
| -rw-r--r-- | Jenkinsfile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..6904634 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,34 @@ +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' + } + } +} |
