test auto_build
This commit is contained in:
parent
742eb37cce
commit
e0d97328b1
14
.jenkinsfile
14
.jenkinsfile
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user