Skip to content

Commit

Permalink
reverted jobs.groovy
Browse files Browse the repository at this point in the history
  • Loading branch information
mareknovotny committed Feb 1, 2024
1 parent 26f9741 commit e0666e8
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .ci/jenkins/dsl/jobs.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,49 @@ boolean isMainStream() {

// Tools
setupUpdateJenkinsDependenciesJob()
if (isMainStream()) {
setupCreateIssueToolsJob()
setupCleanOldNamespacesToolsJob()
setupCleanOldNightlyImagesToolsJob()

KogitoJobUtils.createQuarkusPlatformUpdateToolsJob(this, 'kogito')
if (Utils.isMainBranch(this)) {
setupBuildOperatorNode()
}

KogitoJobUtils.createMainQuarkusUpdateToolsJob(this,
[ 'kogito-runtimes', 'kogito-examples', 'kogito-docs', 'kogito-images' ],
[ 'radtriste', 'cristianonicolai' ]
)
}

// Setup branch branch
createSetupBranchJob()
if (isMainStream()) {
createSetupBranchCloudJob()
}

// Nightly
setupNightlyJob()
setupQuarkusPlatformJob(JobType.NIGHTLY)
if (isMainStream()) {
setupNightlyCloudJob()
setupQuarkus3NightlyJob()
}

KogitoJobUtils.createEnvironmentIntegrationBranchNightlyJob(this, 'quarkus-main')
KogitoJobUtils.createEnvironmentIntegrationBranchNightlyJob(this, 'quarkus-lts')
KogitoJobUtils.createEnvironmentIntegrationBranchNightlyJob(this, 'quarkus-branch')
KogitoJobUtils.createEnvironmentIntegrationBranchNightlyJob(this, 'native-lts')
KogitoJobUtils.createEnvironmentIntegrationBranchNightlyJob(this, 'quarkus-3', []) { script ->
def jobParams = JobParamsUtils.DEFAULT_PARAMS_GETTER(script)
jobParams.env.put('INTEGRATION_BRANCH_CURRENT', '2.x')
return jobParams
}

// Release
setupReleaseArtifactsJob()
setupReleaseCloudJob()

/////////////////////////////////////////////////////////////////
// Methods
Expand Down

0 comments on commit e0666e8

Please sign in to comment.