git://wamblee.org
/
upnpmonitor
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix
[upnpmonitor]
/
Jenkinsfile
diff --git
a/Jenkinsfile
b/Jenkinsfile
index 3492a5f15e2e746a4646c5f1b17fcaad651a1a05..2a9a0c079834fd9e696544779f434259aa9ac61c 100644
(file)
--- a/
Jenkinsfile
+++ b/
Jenkinsfile
@@
-3,7
+3,7
@@
String cron_string = BRANCH_NAME == "trunk" ? "10 3 * * *" : ""
pipeline {
agent {
pipeline {
agent {
- kubernetes agentsetup(containers: 'java8')
+ kubernetes agentsetup(containers: 'java8
,kaniko
')
}
options {
disableConcurrentBuilds()
}
options {
disableConcurrentBuilds()
@@
-14,7
+14,7
@@
pipeline {
stage('Main') {
steps {
sh """
stage('Main') {
steps {
sh """
- No longer building the code since cling-core is no longer
+
#
No longer building the code since cling-core is no longer
#maintained
#mvn install
(
#maintained
#mvn install
(
@@
-22,7
+22,19
@@
pipeline {
mvn -N -Ddistrib=/data/www/http.upnpmonitor.wamblee.org/ site site:deploy
)
"""
mvn -N -Ddistrib=/data/www/http.upnpmonitor.wamblee.org/ site site:deploy
)
"""
+ container('kaniko') {
+ sh """
+ echo 'Hello world'
+ """
+ }
}
}
}
}
}
}
+ post {
+ changed {
+ mail to: "jenkins@wamblee.org",
+ subject: "jenkins build:${currentBuild.currentResult}: ${env.JOB_NAME}",
+ body: "${currentBuild.currentResult}: Job ${env.JOB_NAME}\nMore Info can be found here: ${env.BUILD_URL}"
+ }
+ }
}
}