summaryrefslogtreecommitdiffstats
path: root/jjb/functest
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2022-05-11 14:32:58 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2022-05-11 15:09:04 +0200
commit7fe0329fbd42905f095c08f9ac1c6fa939f0c433 (patch)
tree9c91edbbfd9dec44901ea9c722bc2d65e50d09b9 /jjb/functest
parent6259166d51df34b76e84d460fae93c9e0cdecada (diff)
Publish Xtesting docker jobs
Change-Id: I784fc767e80e0e047af76ba36cb3cd3831de3327 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb/functest')
-rw-r--r--jjb/functest/xtesting-ci-docker.yaml65
1 files changed, 65 insertions, 0 deletions
diff --git a/jjb/functest/xtesting-ci-docker.yaml b/jjb/functest/xtesting-ci-docker.yaml
new file mode 100644
index 000000000..d678314c5
--- /dev/null
+++ b/jjb/functest/xtesting-ci-docker.yaml
@@ -0,0 +1,65 @@
+---
+- builder:
+ name: xtesting-ci-docker-builder
+ builders:
+ - shell:
+ cd {dir}
+ sudo docker build --pull true -t {image} .
+ sudo docker system prune --all -f
+
+- scm:
+ name: xtesting-ci-docker-scm
+ scm:
+ - git:
+ url: https://github.com/collivier/xtesting-ci-docker
+
+- trigger:
+ name: xtesting-ci-docker-trigger
+ triggers:
+ - pollscm:
+ cron: "H/30 * * * *"
+ - timed: '@daily'
+
+- parameter:
+ name: xtesting-ci-docker-parameter
+ parameters:
+ - label:
+ name: node
+ default: 'lf-virtual1'
+
+- job-template:
+ name: xtesting-ci-docker-{stream}
+ scm:
+ - xtesting-ci-docker-scm
+ parameters:
+ - xtesting-ci-docker-parameter
+ triggers:
+ - xtesting-ci-docker-trigger
+ builders:
+ - xtesting-ci-docker-builder:
+ image: '{image}'
+ dir: '{dir}'
+
+- project:
+ name: xtesting-ci-docker
+ stream:
+ - jenkins-debian-lts-slim:
+ dir: jenkins.debian
+ image: opnfv/xtesting-jenkins:lts-slim
+ - jenkins-debian-lts-alpine:
+ dir: jenkins
+ image: opnfv/xtesting-jenkins:lts-alpine
+ jobs:
+ - xtesting-ci-docker-{stream}
+
+- view:
+ name: xtesting-ci-docker
+ view-type: list
+ columns:
+ - status
+ - weather
+ - job
+ - last-success
+ - last-failure
+ - last-duration
+ regex: ^xtesting-ci-docker*$