jstastny-cz commented on code in PR #1709:
URL:
https://github.com/apache/incubator-kie-kogito-images/pull/1709#discussion_r1391391963
##########
.ci/jenkins/Jenkinsfile.build-and-test:
##########
@@ -0,0 +1,130 @@
+@Library('jenkins-pipeline-shared-libraries')_
+
+pipeline {
+ agent {
+ docker {
+ image env.AGENT_DOCKER_BUILDER_IMAGE
+ args env.AGENT_DOCKER_BUILDER_ARGS
+ }
+ }
+ options {
+ timeout(time: 120, unit: 'MINUTES')
+ skipDefaultCheckout()
+ }
+ stages {
+ stage('Initialization') {
+ steps {
+ script {
+ sh 'printenv'
+
+ dir(getRepoName()) {
+ // TODO Test pupose
+ deleteDir()
+ githubscm.checkoutIfExists(getRepoName(),
getChangeAuthor(), getChangeBranch(), 'apache', getChangeTarget(), true,
credentials = [token: getGitAuthorTokenCredentialsId(), usernamePassword:
getGitAuthorCredentialsId()])
+ }
+ }
+ }
+ }
+ stage('Validate CeKit Image and Modules descriptors') {
+ steps {
+ script {
+ dir(getRepoName()) {
+ sh '''
+ curl -Ls
https://github.com/kiegroup/kie-cloud-tools/releases/download/v1.3.6/cekit-image-validator-runner.tgz
--output cekit-image-validator-runner.tgz
+ tar -xzvf cekit-image-validator-runner.tgz
+ chmod +x cekit-image-validator-runner
+ '''
+ sh './cekit-image-validator-runner modules/'
+ getImages().each { image -> sh
"./cekit-image-validator-runner ${image}-image.yaml" }
Review Comment:
If IMAGES_LIST is empty, it should be taken by the command, there are python
libs resolution failures before, that will be it I think:
```
ModuleNotFoundError: No module named 'ruamel'
```
Switching to a different ci image, be patient please.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]