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:
cd571f7
)
added kaniko example
author
Erik Brakkee
<erik@brakkee.org>
Sat, 1 Oct 2022 18:50:50 +0000
(20:50 +0200)
committer
Erik Brakkee
<erik@brakkee.org>
Sat, 1 Oct 2022 18:50:50 +0000
(20:50 +0200)
Jenkinsfile
patch
|
blob
|
history
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 {
- kubernetes agentsetup(containers: 'java8')
+ kubernetes agentsetup(containers: 'java8'
, 'kaniko'
)
}
options {
disableConcurrentBuilds()
@@
-22,6
+22,11
@@
pipeline {
mvn -N -Ddistrib=/data/www/http.upnpmonitor.wamblee.org/ site site:deploy
)
"""
+ container('kaniko') {
+ sh """
+ echo 'Hello world'
+ """
+ }
}
}
}