diff --git a/.ci-orchestrator/test.yml b/.ci-orchestrator/test.yml new file mode 100644 index 0000000..dd819ec --- /dev/null +++ b/.ci-orchestrator/test.yml @@ -0,0 +1,21 @@ +type: pipeline_definition +product: Liberty +name: Test CI Orchestrator +description: "Run a Pipeline against the OpenLiberty/for-automation-testing repository." +triggers: +- type: github + description: "Runs a Pipeline using a PR comment request." + triggerName: "test-for-automation-testing" + triggerRank: 50 + groups: ["CSD"] + keyword: "!build" + aliasKeywords: + - "#build" + +steps: +- stepName: PR Changes + workType: PRChangesDetection + timeoutInMinutes: 30 + properties: + githubPRApi: ${github_pr_api} + githubPRNumber: ${github_pr_number} diff --git a/dev/helloWorld/com/ibm/hello/world/HelloWorld.java b/dev/helloWorld/com/ibm/hello/world/HelloWorld.java index a568173..14e3026 100644 --- a/dev/helloWorld/com/ibm/hello/world/HelloWorld.java +++ b/dev/helloWorld/com/ibm/hello/world/HelloWorld.java @@ -2,5 +2,10 @@ public class HelloWorld { public static void main(String[] args) { System.out.println("Hello, world."); + // Sample change. } + + public static String getThis(String echo) { + System.out.println("Now hear this!"); + return echo; } diff --git a/dev/helloWorld/sample.txt b/dev/helloWorld/sample.txt new file mode 100644 index 0000000..fe8eeaa --- /dev/null +++ b/dev/helloWorld/sample.txt @@ -0,0 +1 @@ +Here is some content. \ No newline at end of file