git://wamblee.org
/
upnpmonitor
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added kaniko example
[upnpmonitor]
/
Jenkinsfile
diff --git
a/Jenkinsfile
b/Jenkinsfile
index 78b3a6c657c8ccaa7ad5bc8743ad4c70a5d33a02..65656a6c39c866c034eb8310b48a48ce4fe95364 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()
@@
-22,6
+22,11
@@
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'
+ """
+ }
}
}
}
}
}
}