Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-3512

"Build quarkus binary build from local example service target folder with native enabled using KogitoBuild is failing" with podman configured in BDD tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 1.5.0.Final
    • 0.15.0
    • Operator
    • False
    • False
    • Undefined
    • Hide

      Use docker instead

      @Library('jenkins-pipeline-shared-libraries')_
      
      pipeline {
          //agent any
          agent {
              label 'kogito-operator-slave && !master'
          }
          tools {
              jdk 'kie-jdk11'
          }
          stages {
              stage("docker") {
                  steps {
                      script {
                          dir("docker"){
                              sh """
                                  git clone https://github.com/kiegroup/kogito-examples
                                  cd kogito-examples
                                  git checkout master
                                  cd process-quarkus-example
                                  mvn clean package -Pnative -Dquarkus.native.container-build=true -Dquarkus.native.container-runtime=docker -DskipTests -U
                              """
                          }
                      }
                  }
              }
          }
      }
      

       

      Show
      Use docker instead @Library( 'jenkins-pipeline-shared-libraries' )_ pipeline { //agent any agent { label 'kogito- operator -slave && !master' } tools { jdk 'kie-jdk11' } stages { stage( "docker" ) { steps { script { dir( "docker" ){ sh """ git clone https: //github.com/kiegroup/kogito-examples cd kogito-examples git checkout master cd process-quarkus-example mvn clean package -Pnative -Dquarkus. native .container-build= true -Dquarkus. native .container-runtime=docker -DskipTests -U """ } } } } } }  
    • Hide

      Jenkins pipeline to use to reproduce:

      @Library('jenkins-pipeline-shared-libraries')_
      
      pipeline {
          //agent any
          agent {
              label 'kogito-operator-slave && !master'
          }
          tools {
              jdk 'kie-jdk11'
          }
          
          stages {
              stage("podman") {
                  steps {
                      script {
                          dir("podman"){
                              sh """
                                  git clone https://github.com/kiegroup/kogito-examples
                                  cd kogito-examples
                                  git checkout master
                                  cd process-quarkus-example
                                  mvn clean package -Pnative -Dquarkus.native.container-build=true -Dquarkus.native.container-runtime=podman -DskipTests -U
                              """
                          }
                      }
                  }
              }
          }
      }
      

       

      Show
      Jenkins pipeline to use to reproduce: @Library( 'jenkins-pipeline-shared-libraries' )_ pipeline { //agent any agent { label 'kogito- operator -slave && !master' } tools { jdk 'kie-jdk11' } stages { stage( "podman" ) { steps { script { dir( "podman" ){ sh """ git clone https: //github.com/kiegroup/kogito-examples cd kogito-examples git checkout master cd process-quarkus-example mvn clean package -Pnative -Dquarkus. native .container-build= true -Dquarkus. native .container-runtime=podman -DskipTests -U """ } } } } } }  
    • ---
    • ---
    • 2020 Week 40-42 (from Sep 28)

      The scenario `Build quarkus binary build from local example service target folder with native enabled using KogitoBuild` is failing using podman but works with docker on Jenkins node.

        1. maven.log
          23 kB
          Tristan Radisson

              tarkhand Tarun Khandelwal (Inactive)
              tradisso@redhat.com Tristan Radisson
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: