From f6eb66dc4a934b5f84522727518058b361b02a36 Mon Sep 17 00:00:00 2001 From: Olaf Bohlen <olbohlen@eenfach.de> Date: Thu, 09 Feb 2023 08:50:11 +0100 Subject: [PATCH] added release stage --- Jenkinsfile | 8 ++++++++ build.yml | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index aa14c3d..6adf716 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,5 +22,13 @@ } // Add the Release stage here + stage("Release") { + steps { + sh ''' + oc project olbohlen-greetings + oc start-build greeting-console --follow --wait + ''' + } + } } } diff --git a/build.yml b/build.yml index 36bd279..0c811fc 100644 --- a/build.yml +++ b/build.yml @@ -9,11 +9,11 @@ source: type: Git git: - uri: 'https://github.com/YOUR_GITHUB_USER/do400-greeting-console' + uri: 'https://olbohlen@eenfach.de/gitblit/r/~olbohlen/my-greeting-console.git' ref: main output: to: kind: DockerImage - name: quay.io/YOUR_QUAY_USER/greeting-console + name: docker.eenfach.de/olbohlen/greeting-console pushSecret: - name: quay-credentials + name: docker-eenfach-de -- Gitblit v1.9.3