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

jstastnycz pushed a commit to branch main-kogito
in repository https://gitbox.apache.org/repos/asf/incubator-kie-docs.git


The following commit(s) were added to refs/heads/main-kogito by this push:
     new 8797dcc62 kie-issues#574 Initial ASF Jenkins CI Setup (#4529)
8797dcc62 is described below

commit 8797dcc62913c87c3f8610218ced46684ae5e4c8
Author: Jan Stastny <[email protected]>
AuthorDate: Tue Sep 19 20:23:21 2023 +0200

    kie-issues#574 Initial ASF Jenkins CI Setup (#4529)
    
    Co-authored-by: radtriste <[email protected]>
---
 .ci/jenkins/Jenkinsfile.kie-kogito-post-release | 10 ++++------
 .ci/jenkins/dsl/jobs.groovy                     |  2 +-
 .ci/jenkins/dsl/test.sh                         |  2 +-
 3 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/.ci/jenkins/Jenkinsfile.kie-kogito-post-release 
b/.ci/jenkins/Jenkinsfile.kie-kogito-post-release
index f918e5659..79c1660ea 100644
--- a/.ci/jenkins/Jenkinsfile.kie-kogito-post-release
+++ b/.ci/jenkins/Jenkinsfile.kie-kogito-post-release
@@ -10,7 +10,10 @@ commitMsg = "Bumped up kogito-docs version in kie-docs"
 pipeline {
 
     agent {
-        label 'kie-rhel8 && !built-in'
+        docker { 
+            image env.AGENT_DOCKER_BUILDER_IMAGE
+            args env.AGENT_DOCKER_BUILDER_ARGS
+        }
     }
 
     options{
@@ -18,11 +21,6 @@ pipeline {
         timeout(time: 60, unit: 'MINUTES')
     }
 
-    tools {
-        maven "${BUILD_MAVEN_TOOL}"
-        jdk "${BUILD_JDK_TOOL}"
-    }
-
     environment {
         // Static env is defined into .jenkins/dsl/jobs.groovy file
         KOGITO_CI_EMAIL_TO = credentials("${JENKINS_EMAIL_CREDS_ID}")
diff --git a/.ci/jenkins/dsl/jobs.groovy b/.ci/jenkins/dsl/jobs.groovy
index 31fc3b642..45ecc9b87 100644
--- a/.ci/jenkins/dsl/jobs.groovy
+++ b/.ci/jenkins/dsl/jobs.groovy
@@ -14,7 +14,7 @@ setupKogitoDocsJob()
 
 void setupKogitoDocsJob() {
     def jobParams = JobParamsUtils.getBasicJobParams(this, 
'kie-docs-post-release', JobType.TOOLS, 
"${JENKINSFILE_PATH}/Jenkinsfile.kie-kogito-post-release", "Update Kie Kogito 
docs")
-    JobParamsUtils.setupJobParamsDefaultMavenConfiguration(this, jobParams)
+    JobParamsUtils.setupJobParamsAgentDockerBuilderImageConfiguration(this, 
jobParams)
     jobParams.env.putAll([
             JENKINS_EMAIL_CREDS_ID: "${JENKINS_EMAIL_CREDS_ID}",
             GIT_AUTHOR: "${GIT_AUTHOR_NAME}",
diff --git a/.ci/jenkins/dsl/test.sh b/.ci/jenkins/dsl/test.sh
index ad8af34ac..2d518eb9f 100644
--- a/.ci/jenkins/dsl/test.sh
+++ b/.ci/jenkins/dsl/test.sh
@@ -1,6 +1,6 @@
 #!/bin/bash -e
 file=$(mktemp)
 # For more usage of the script, use ./test.sh -h
-curl -o ${file} 
https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/dsl/seed/scripts/seed_test.sh
+curl -o ${file} 
https://raw.githubusercontent.com/apache/incubator-kie-kogito-pipelines/main/dsl/seed/scripts/seed_test.sh
 chmod u+x ${file}
 ${file} $@
\ No newline at end of file


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

Reply via email to