This is an automated email from the ASF dual-hosted git repository.

jstastnycz pushed a commit to branch ubuntu-dind-image
in repository 
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-pipelines.git


The following commit(s) were added to refs/heads/ubuntu-dind-image by this push:
     new 5fda21e8 fix test#2
5fda21e8 is described below

commit 5fda21e87b71efd51a3b3a5e8d7eedbc5cecde2b
Author: jstastny-cz <[email protected]>
AuthorDate: Mon Nov 13 12:59:57 2023 +0100

    fix test#2
---
 .ci/jenkins/Jenkinsfile.build-kogito-ci-image | 64 +++++++++++++--------------
 1 file changed, 32 insertions(+), 32 deletions(-)

diff --git a/.ci/jenkins/Jenkinsfile.build-kogito-ci-image 
b/.ci/jenkins/Jenkinsfile.build-kogito-ci-image
index c6848456..df9b8a60 100644
--- a/.ci/jenkins/Jenkinsfile.build-kogito-ci-image
+++ b/.ci/jenkins/Jenkinsfile.build-kogito-ci-image
@@ -20,48 +20,48 @@ pipeline {
     }
 
     stages {
-        stage('Build image') {
-            steps {
-                script {
-                    sh 'printenv'
+        // stage('Build image') {
+        //     steps {
+        //         script {
+        //             sh 'printenv'
 
-                    currentBuild.displayName = env.IMAGE_TAG
+        //             currentBuild.displayName = env.IMAGE_TAG
 
-                    cloud.loginContainerRegistry('quay.io', 
'quay_kiegroup_registry_token')
+        //             cloud.loginContainerRegistry('quay.io', 
'quay_kiegroup_registry_token')
 
-                    dir('kogito-pipelines') {
-                        deleteDir()
+        //             dir('kogito-pipelines') {
+        //                 deleteDir()
 
-                        checkout scm
+        //                 checkout scm
 
-                        sh """
-                            docker build --build-arg SDKMAN_JAVA=11.0.20-tem 
-t ${env.IMAGE_NAME_TAG} -f apache-nodes/Dockerfile.kogito-ci-build 
./apache-nodes
-                            docker tag ${env.IMAGE_NAME_TAG} 
${env.IMAGE_NAME}:${GIT_COMMIT}
-                            docker tag ${env.IMAGE_NAME_TAG} 
${env.IMAGE_NAME}:${BRANCH_NAME}-latest
-                        """
+        //                 sh """
+        //                     docker build --build-arg 
SDKMAN_JAVA=11.0.20-tem -t ${env.IMAGE_NAME_TAG} -f 
apache-nodes/Dockerfile.kogito-ci-build ./apache-nodes
+        //                     docker tag ${env.IMAGE_NAME_TAG} 
${env.IMAGE_NAME}:${GIT_COMMIT}
+        //                     docker tag ${env.IMAGE_NAME_TAG} 
${env.IMAGE_NAME}:${BRANCH_NAME}-latest
+        //                 """
 
-                        sh """
-                            docker --config ${DOCKER_CONFIG} push 
${env.IMAGE_NAME_TAG}
-                            docker --config ${DOCKER_CONFIG} push 
${env.IMAGE_NAME}:${GIT_COMMIT}
-                            docker --config ${DOCKER_CONFIG} push 
${env.IMAGE_NAME}:${BRANCH_NAME}-latest
-                        """
-                    }
-                }
-            }
-            post {
-                always {
-                    script {
-                        sh "rm -rf ${DOCKER_CONFIG}"
-                        sh 'docker logout quay.io'
-                    }
-                }
-            }
-        }
+        //                 sh """
+        //                     docker --config ${DOCKER_CONFIG} push 
${env.IMAGE_NAME_TAG}
+        //                     docker --config ${DOCKER_CONFIG} push 
${env.IMAGE_NAME}:${GIT_COMMIT}
+        //                     docker --config ${DOCKER_CONFIG} push 
${env.IMAGE_NAME}:${BRANCH_NAME}-latest
+        //                 """
+        //             }
+        //         }
+        //     }
+        //     post {
+        //         always {
+        //             script {
+        //                 sh "rm -rf ${DOCKER_CONFIG}"
+        //                 sh 'docker logout quay.io'
+        //             }
+        //         }
+        //     }
+        // }
         stage('Test built image') {
             agent {
                 docker {
                     image env.IMAGE_NAME_TAG
-                    args '--privileged'
+                    args '--privileged --group-add docker'
                 }
             }
             steps {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to