From: Erik Brakkee Date: Sat, 1 Oct 2022 18:50:50 +0000 (+0200) Subject: added kaniko example X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=18c4cdb4ff9440d5ef4af08a3ac7c666cdd4f3e7;p=upnpmonitor added kaniko example --- diff --git a/Jenkinsfile b/Jenkinsfile index 78b3a6c..65656a6 100644 --- 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' + """ + } } } }