Browse Source

Don't run jobs, echo build params in each stage

1031
Kevin Mok 2 weeks ago
parent
commit
3f47b56803
Signed by: Kevin Mok <kmok@redhat.com> GPG Key ID: 10B001347552F396
1 changed files with 10 additions and 5 deletions
  1. 10
    5
      full/Jenkinsfile.pr-bdd-tests

+ 10
- 5
full/Jenkinsfile.pr-bdd-tests View File

@@ -63,9 +63,10 @@ pipeline {
def buildParams = getDefaultBuildParams()
addAuthorBranchParamsIfExist(buildParams, getPRRepoName())
addStringParam(buildParams, 'MAVEN_DEPLOY_REPOSITORY', getArtifactsRepositoryParam())
echo "runtimes build params: ${buildParams}"
// images and operator deploy testing will use older working artifacts if that one fails
buildJob(RUNTIMES_DEPLOY, buildParams, false)
/* buildJob(RUNTIMES_DEPLOY, buildParams, false) */
}
}
post {
@@ -82,8 +83,9 @@ pipeline {
def buildParams = getDefaultBuildParams()
addStringParam(buildParams, 'MAVEN_DEPENDENCIES_REPOSITORY', getArtifactsRepositoryParam())
addStringParam(buildParams, 'MAVEN_DEPLOY_REPOSITORY', getArtifactsRepositoryParam())
echo "OptaPlanner build params: ${buildParams}"

buildJob(OPTAPLANNER_DEPLOY, buildParams, false)
/* buildJob(OPTAPLANNER_DEPLOY, buildParams, false) */
}
}
post {
@@ -100,9 +102,10 @@ pipeline {
def buildParams = getDefaultBuildParams()
addStringParam(buildParams, 'MAVEN_DEPENDENCIES_REPOSITORY', getArtifactsRepositoryParam())
addStringParam(buildParams, 'MAVEN_DEPLOY_REPOSITORY', getArtifactsRepositoryParam())
echo "examples build params: ${buildParams}"
// images and operator deploy testing will use older working artifacts if that one fails
buildJob(EXAMPLES_DEPLOY, buildParams, false)
/* buildJob(EXAMPLES_DEPLOY, buildParams, false) */
}
}
post {
@@ -121,8 +124,9 @@ pipeline {
addImageBuildParams(buildParams, '', env.TEMP_TAG, true, false)
addExamplesParams(buildParams)
addStringParam(buildParams, 'MAVEN_ARTIFACT_REPOSITORY', getArtifactsRepositoryParam()) // Get artifacts from specific repository if not empty
echo "images build params: ${buildParams}"

buildJob(IMAGES_DEPLOY, buildParams, false)
/* buildJob(IMAGES_DEPLOY, buildParams, false) */
}
}
post {
@@ -150,8 +154,9 @@ pipeline {
addStringParam(buildParams, 'KOGITO_IMAGES_TAG', env.TEMP_TAG)
addExamplesParams(buildParams)
addStringParam(buildParams, 'MAVEN_ARTIFACT_REPOSITORY', getArtifactsRepositoryParam()) // Get artifacts from specific repository if not empty
echo "operator build params: ${buildParams}"

buildJob(OPERATOR_DEPLOY, buildParams, false)
/* buildJob(OPERATOR_DEPLOY, buildParams, false) */
}
}
post {

Loading…
Cancel
Save