Compare commits
10 Commits
main
...
test_jenki
Author | SHA1 | Date | |
---|---|---|---|
874b4df7a6 | |||
a0269cbca7 | |||
fcbf051c10 | |||
a073a01111 | |||
1942bb7aa3 | |||
3967bdd3a0 | |||
74102aaacc | |||
a1be582891 | |||
e0d97328b1 | |||
742eb37cce |
20
.jenkinsfile
20
.jenkinsfile
@ -1,5 +1,18 @@
|
||||
pipeline {
|
||||
agent any
|
||||
//agent any
|
||||
agent {
|
||||
docker {
|
||||
image 'gitea.atria-soft.org/kangaroo-and-rabbit/archlinux-builder:latest'
|
||||
//args '-u root'
|
||||
}
|
||||
}
|
||||
options {
|
||||
timeout(time: 30, unit: 'MINUTES')
|
||||
disableConcurrentBuilds abortPrevious: true
|
||||
}
|
||||
triggers {
|
||||
cron(env.BRANCH_NAME == 'master' || env.BRANCH_NAME == 'dev' ? '0 10 * * *' : '')
|
||||
}
|
||||
environment {
|
||||
REGISTRY_ADDRESS = "gitea.atria-soft.org"
|
||||
REGISTRY_ADDRESS_FULL = "https://${REGISTRY_ADDRESS}"
|
||||
@ -18,6 +31,11 @@ pipeline {
|
||||
sh 'javac --version'
|
||||
}
|
||||
}
|
||||
stage('(prod) Build') {
|
||||
steps {
|
||||
sh 'mvn install'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user