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' + + } + + } + + } + +}}