diff options
author | Christian Segundo | 2024-04-07 21:23:36 +0200 |
---|---|---|
committer | Christian Segundo | 2024-04-07 23:07:05 +0200 |
commit | aa7dec07b489dd532e5294e1e3fe59bd6d5bee92 (patch) | |
tree | 213caca151d1ae0fb13877ec82acc9e3c24165d5 /Jenkinsfile | |
parent | 0f12e83a6ee233fa7fabcc37534f31ab35f0ed1f (diff) | |
download | nvim-aa7dec07b489dd532e5294e1e3fe59bd6d5bee92.tar.gz |
start building again
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..861d020 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,29 @@ +String cronString = BRANCH_NAME == 'master' ? '@weekly' : '' + +pipeline { + agent any + triggers { cron(cronString) } + options { ansiColor('xterm') } + stages { + stage('Check') { + agent { + docker { + image 'ghcr.io/super-linter/super-linter:latest' + args '--entrypoint ""' + } + } + steps { sh 'bash .scripts.d/10-check.sh' } + } + stage('Publish') { + environment { DOCKERHUB_TOKEN = credentials('DOCKERHUB_TOKEN') } + parallel { + stage('stable') { + steps { sh 'bash .scripts.d/20-publish.sh stable' } + } + stage('nightly') { + steps { sh 'bash .scripts.d/20-publish.sh nightly' } + } + } + } + } +} |