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