Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions JenkinsJobs/AutomatedTests/FOLDER.groovy

This file was deleted.

2 changes: 1 addition & 1 deletion JenkinsJobs/AutomatedTests/I_unit_tests.groovy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
def config = new groovy.json.JsonSlurper().parseText(readFileFromWorkspace('JenkinsJobs/JobDSL.json'))
def config = new groovy.json.JsonSlurper().parseText(readFileFromWorkspace('JobDSL.json'))

def TEST_CONFIGURATIONS = [
[os: 'linux' , ws:'gtk' , arch: 'x86_64' , javaVersion: 21, agentLabel: 'ubuntu-2404' , javaHome: "tool(type:'jdk', name:'temurin-jdk21-latest')" ],
Expand Down
6 changes: 6 additions & 0 deletions JenkinsJobs/Builds/DockerImagesBuild.jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Constants read by
private static final _JOB_DESCRIPTION = 'Build and publish custom Docker images'

pipeline {
options {
skipDefaultCheckout()
Expand All @@ -6,6 +9,9 @@ pipeline {
buildDiscarder(logRotator(numToKeepStr:'5'))
disableConcurrentBuilds(abortPrevious: true)
}
triggers {
cron '@weekly'
}
agent {
label 'docker-build'
}
Expand Down
81 changes: 0 additions & 81 deletions JenkinsJobs/Builds/FOLDER.groovy

This file was deleted.

2 changes: 1 addition & 1 deletion JenkinsJobs/Builds/build.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ spec:
]
}
}
build job: 'SmokeTests/Start-smoke-tests', wait: false, parameters: [string(name: 'buildId', value: "${BUILD_IID}")]
build job: 'SmokeTests/StartSmokeTests', wait: false, parameters: [string(name: 'buildId', value: "${BUILD_IID}")]
}
}
stage('Trigger publication to Maven snapshots repo') {
Expand Down
14 changes: 10 additions & 4 deletions JenkinsJobs/Builds/markBuild.jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
// Constants read by
private static final _JOB_DESCRIPTION = 'Mark a build as stable/unstable or to (not to) be kept indefinitely.'

pipeline {
options {
skipDefaultCheckout()
timestamps()
timeout(time: 5, unit: 'MINUTES')
buildDiscarder(logRotator(numToKeepStr:'5'))
}
parameters {
string(name: 'buildId', trim: true, description: 'ID of the build to be marked.')
choice(name: 'markAs', choices: [ 'STABLE', 'UNSTABLE', 'RETAINED_INDEFINITELY', 'NOT_RETAINED' ],
description: 'The kind of marker to apply to (respectively remove from) the specified build.')
string(name: 'issueURL', trim: true,
description: 'URL of the causing Github issue or PR (<em>only relevant if the build is marked as unstable<em>).')
}
agent {
label 'basic'
}
Expand All @@ -18,10 +28,6 @@ pipeline {
steps {
sshagent(['projects-storage.eclipse.org-bot-ssh']) {
sh '''#!/bin/bash -xe
# Strip spaces from the buildId and eclipseStream
buildId=$(echo $buildId|tr -d ' ')
issueURL=$(echo $issueURL|tr -d ' ')

if [ -z "$buildId" ]; then
echo "BuildId is empty! Exiting."
exit 1
Expand Down
43 changes: 0 additions & 43 deletions JenkinsJobs/Cleanup/FOLDER.groovy

This file was deleted.

9 changes: 9 additions & 0 deletions JenkinsJobs/Cleanup/cleanupBuilds.jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Constants read by job creation
private static final _JOB_DISPLAY_NAME = 'Daily Cleanup of old Builds'
private static final _JOB_DESCRIPTION = 'Remove old builds from the downloads servers.'

def int EQUINOX_RETENTION_COUNT = 3 // Keep the three most recent builds
def int ECLIPSE_I_BUILD_RETENTION_DAYS = 5 // Minimal number of days for which a drop should be retained
Expand All @@ -11,6 +14,12 @@ pipeline {
timeout(time: 15, unit: 'MINUTES')
buildDiscarder(logRotator(numToKeepStr:'5'))
}
triggers {
cron '''TZ=America/Toronto
0 4 * * *
0 16 * * *
'''
}
agent {
label 'basic'
}
Expand Down
3 changes: 3 additions & 0 deletions JenkinsJobs/Cleanup/cleanupReleaseArtifacts.jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Constants read by job creation
private static final _JOB_DESCRIPTION = 'Cleanup major artifacts from previous releases at the beginning of a new release.'

def int RELEASE_RETENTION_COUNT = 3

pipeline {
Expand Down
Loading
Loading