git://wamblee.org
/
upnpmonitor
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
first try to push to nexus
[upnpmonitor]
/
Jenkinsfile
diff --git
a/Jenkinsfile
b/Jenkinsfile
index 65656a6c39c866c034eb8310b48a48ce4fe95364..61cf1aef6b696823c9a3e69a10c2d717c3f2e83a 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
', '
kaniko')
+ kubernetes agentsetup(containers: 'java8
,
kaniko')
}
options {
disableConcurrentBuilds()
}
options {
disableConcurrentBuilds()
@@
-25,6
+25,11
@@
pipeline {
container('kaniko') {
sh """
echo 'Hello world'
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}
"""
}
}
"""
}
}