void launchInDocker()

in dsl/scripts/pr_check.groovy [41:60]


void launchInDocker(String builderImage) {
    docker.image(builderImage).inside(dockerArgs.join(' ')) {
        sh 'printenv > env_props'
        archiveArtifacts artifacts: 'env_props'
        util.waitForDocker()
        sh 'ls -last /var/run/docker.sock'
        try {
            launchStages()
        } finally {
            echo "Got build result ${currentBuild.currentResult}"
            if (currentBuild.currentResult != 'SUCCESS') {
                // TODO ci token as env ?
                postComment(
                    util.getMarkdownTestSummary('PR', getReproducer(true), "${BUILD_URL}", 'GITHUB'),
                    'kie-ci3-token'
                )
            }
        }
    }
}