Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build] Define all smoke-test parameters in job definition again #2655

Merged
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
16 changes: 16 additions & 0 deletions JenkinsJobs/SmokeTests/FOLDER.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,22 @@ folder('SmokeTests') {

pipelineJob('SmokeTests/Start-smoke-tests'){
description('Start all smoke tests for the Eclipse SDK')
// Define parameters in job configuration to make them already available in the very first build
parameters {
stringParam {
name('buildId')
description('Build Id to test (such as I20240611-1800, N20120716-0800).')
trim(true)
}
}
parameters {
stringParam {
name('testsToRun')
defaultValue('ui')
description('This can be any ant target from https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/blob/master/production/testScripts/configuration/sdk.tests/testScripts/test.xml')
trim(true)
}
}
definition {
cpsScm {
lightweight(true)
Expand Down
4 changes: 0 additions & 4 deletions JenkinsJobs/SmokeTests/StartSmokeTests.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ spec:
'''
}
}
parameters {
string(name: 'buildId', description: 'Build Id to test (such as I20240611-1800, N20120716-0800).')
string(name: 'testsToRun', defaultValue: 'ui', description: 'This can be any ant target from https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/blob/master/production/testScripts/configuration/sdk.tests/testScripts/test.xml')
}
stages {
stage('Trigger tests'){
matrix {
Expand Down
Loading