test auto_build

This commit is contained in:
Edouard DUPIN 2023-01-09 23:54:14 +01:00
parent 742eb37cce
commit e0d97328b1

View File

@ -1,6 +1,11 @@
pipeline { pipeline {
agent { agent any
docker { image 'archlinux:base-devel' } options {
timeout(time: 30, unit: 'MINUTES')
disableConcurrentBuilds abortPrevious: true
}
triggers {
cron(env.BRANCH_NAME == 'main' || env.BRANCH_NAME == 'develop' ? '0 21 * * *' : '')
} }
environment { environment {
REGISTRY_ADDRESS = "gitea.atria-soft.org" REGISTRY_ADDRESS = "gitea.atria-soft.org"
@ -20,6 +25,11 @@ pipeline {
sh 'javac --version' sh 'javac --version'
} }
} }
stage('(prod) Build') {
steps {
sh 'mvn install'
}
}
} }
} }