Skip to content

Commit

Permalink
kie-issues#574 Initial ASF Jenkins CI Setup (#4529)
Browse files Browse the repository at this point in the history
Co-authored-by: radtriste <[email protected]>
  • Loading branch information
jstastny-cz and radtriste authored Sep 19, 2023
1 parent 8e21e4d commit 8797dcc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
10 changes: 4 additions & 6 deletions .ci/jenkins/Jenkinsfile.kie-kogito-post-release
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,17 @@ 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{
timestamps()
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}")
Expand Down
2 changes: 1 addition & 1 deletion .ci/jenkins/dsl/jobs.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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}",
Expand Down
2 changes: 1 addition & 1 deletion .ci/jenkins/dsl/test.sh
Original file line number Diff line number Diff line change
@@ -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} $@

0 comments on commit 8797dcc

Please sign in to comment.