X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=Jenkinsfile;h=61cf1aef6b696823c9a3e69a10c2d717c3f2e83a;hb=e401b232ee7269d75446bf1780af1fe255c0b5ee;hp=65656a6c39c866c034eb8310b48a48ce4fe95364;hpb=18c4cdb4ff9440d5ef4af08a3ac7c666cdd4f3e7;p=upnpmonitor diff --git a/Jenkinsfile b/Jenkinsfile index 65656a6..61cf1ae 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,7 @@ String cron_string = BRANCH_NAME == "trunk" ? "10 3 * * *" : "" pipeline { agent { - kubernetes agentsetup(containers: 'java8', 'kaniko') + kubernetes agentsetup(containers: 'java8,kaniko') } options { disableConcurrentBuilds() @@ -25,6 +25,11 @@ pipeline { container('kaniko') { sh """ echo 'Hello world' + /kaniko/executor --dockerfile Dockerfile \ + --cache=true \ + --cache-ttl=100000h \ + --context \$( pwd ) \ + --destination cat.wamblee.org/rockyrocks:${env.BRANCH_NAME} """ } }