From 22c45074002a8932cc9bbb2e06fe68563285639d Mon Sep 17 00:00:00 2001 From: Software Shinobi Date: Fri, 7 Mar 2025 15:22:13 -0500 Subject: [PATCH] adding jenkins file --- Jenkinsfile | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100755 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100755 index 0000000..31fd9cc --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,54 @@ +pipeline { + + agent none + + options { + + disableConcurrentBuilds(abortPrevious: true) + + buildDiscarder(logRotator(numToKeepStr: '10')) + } + + stages { + + stage('docker compose build') { + + agent { + + label "huracan" + + } + + steps { + + dir('.') { + + sh 'docker compose build' + + } + + } + + } + + stage('docker compose push') { + + agent { + + label "huracan" + + } + + steps { + + dir('.') { + + sh 'docker compose push' + + } + + } + + } + +}}