Skip to content

Commit 903a7e9

Browse files
committed
primitive jenkinsfile
1 parent 633fa62 commit 903a7e9

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

testHeadlessComponents.jenkinsfile

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
properties([
2+
parameters([
3+
string(name: 'executionId', defaultValue: UUID.randomUUID().toString(), description: 'Unique execution ID'),
4+
string(name: 'ebcShortlist', defaultValue: 'rh-openjdk-qe-jenkins.yml',
5+
description: 'This controls the EBC shortlist to use when provisioning a Jenkins node.'),
6+
string(name: 'ecosystemTracking', defaultValue: "",
7+
description: 'Tracking Map as string often containing information about CI Orchestrator pipeline'),
8+
string(name: 'JENKINS_JOBS_BRANCH', defaultValue: 'dev', description: 'Branch of Jenkins jobs to use for scripts execution'),
9+
string(name: 'JENKINS_JOBS_ORG', defaultValue: 'cognitive-software-delivery', description: 'GitHub Org of Jenkins jobs to use for scripts execution'),
10+
string(name: 'TEST_SUITE_BRANCH', defaultValue: 'main', description: 'Branch to test'),
11+
string(name: 'TEST_SUITE_URL',
12+
defaultValue: '[email protected]:rh-openjdk/TestHeadlessComponents.git',
13+
description: 'URL to download for prepared suites'),
14+
string(name: 'TEST_COMMAND',
15+
defaultValue: 'export TMPRESULTS=$(Q)$(REPORTDIR)$(D)report$(Q); \
16+
bash $(TEST_ROOT)$(D)functional$(D)testHeadlessComponents$(D)TestHeadlessComponents$(D)testHeadlessComponents.sh;',
17+
description: 'Test command to execute on the target machine'),
18+
string(name: 'FILE_SERVER', defaultValue: '',
19+
description: 'File server where the final results and artifacts will be stored for Cognitive UI'),
20+
string(name: 'JVM_UNDER_TEST_PATH', defaultValue: '',
21+
description: 'The location on the fileserver to find the java we want to test against'),
22+
string(name: 'REPORTING_JVM', defaultValue: 'REDHAT_JDK_21',
23+
description: 'The JVM value to report to cognitive')
24+
])
25+
])
26+
27+
timestamps {
28+
library 'jenkins-ci-websphere'
29+
30+
if (shouldSkipDueToSeedJob()) {
31+
return;
32+
}
33+
println "Now you see me!"
34+
}

0 commit comments

Comments
 (0)