git://wamblee.org
/
upnpmonitor
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fcdbb2
)
migrate to new jenkins
author
Erik Brakkee
<erik@brakkee.org>
Sat, 24 Sep 2022 08:38:50 +0000
(10:38 +0200)
committer
Erik Brakkee
<erik@brakkee.org>
Sat, 24 Sep 2022 08:38:50 +0000
(10:38 +0200)
Jenkinsfile
[new file with mode: 0644]
patch
|
blob
diff --git a/Jenkinsfile
b/Jenkinsfile
new file mode 100644
(file)
index 0000000..
db0435c
--- /dev/null
+++ b/
Jenkinsfile
@@ -0,0
+1,26
@@
+String cron_string = BRANCH_NAME == "trunk" ? "10 3 * * *" : ""
+
+
+pipeline {
+ agent {
+ kubernetes agentsetup(containers: 'java8')
+ }
+ options {
+ disableConcurrentBuilds()
+ }
+ triggers { cron(cron_string) }
+
+ stages {
+ stage('Main') {
+ steps {
+ sh """
+ mvn install
+ (
+ cd site
+ mvn -N -Ddistrib=/data/www/http.upnpmonitor.wamblee.org/ site site:deploy
+ )
+ """
+ }
+ }
+ }
+}