Skip to content

Commit

Permalink
Merge pull request #668 from CaroMac/cleanbuild
Browse files Browse the repository at this point in the history
update upgrade command and runs get cmd
  • Loading branch information
CaroMac authored Jul 10, 2023
2 parents 86a71b8 + 4e016df commit fc864e9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
36 changes: 18 additions & 18 deletions src/markdown-pages/docs/cli-command-reference/runs-get.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ $galasactl runs get --bootstrap http://example.com:30960/boostrap \
--requestor bobsmith --age 2w:1w --format summary
submitted-time name status result test-name
2023-05-04 10:55:29 U456 Finished Passed MyTestName1
2023-05-05 10:45:29 U856 Finished Passed MyTestName2
2023-05-06 11:55:29 U859 Finished Passed MyTestName3
2023-05-07 10:55:23 U956 Finished Passed MyTestName4
2023-05-07 10:56:29 U976 Finished Passed MyTestName5
2023-05-07 10:57:20 U996 Finished Passed MyTestName6
2023-05-04 10:55:29 U456 finished Passed MyTestName1
2023-05-05 10:45:29 U856 finished Passed MyTestName2
2023-05-06 11:55:29 U859 finished Passed MyTestName3
2023-05-07 10:55:23 U956 finished Passed MyTestName4
2023-05-07 10:56:29 U976 finished Passed MyTestName5
2023-05-07 10:57:20 U996 finished Passed MyTestName6
Total:6 Passed:6
```
Expand Down Expand Up @@ -122,9 +122,9 @@ where:
Results are returned on the terminal in the following example format:

```
$galasactl runs get --name U456 --format details
$galasactl runs get --name U456 --format details --bootstrap http://example.com:30960/boostrap
name : U456
status : Finished
status : finished
result : Passed
submitted-time : 2023-05-04 10:55:29
start-time : 2023-05-05 06:00:14
Expand All @@ -136,7 +136,7 @@ bundle : dev.galasa
run-log : https://127.0.0.1/ras/run/cbd-123/runlog
method type status result start-time end-time duration(ms)
testCoreIvtTest test Finished Passed 2023-05-05 06:03:38 2023-05-05 06:03:39 1000
testCoreIvtTest test finished Passed 2023-05-05 06:03:38 2023-05-05 06:03:39 1000
Total:1 Passed:1
```
Expand Down Expand Up @@ -168,13 +168,13 @@ where:
Results are returned on the terminal in the following example format:

```
$galasactl runs get --name U456 --format raw
U456|Finished|Passed|2023-05-04T10:55:29.545323Z|2023-05-05T06:00:14.496953Z|2023-05-05T06:00:15.654565Z|1157|dev.galasa.Zos3270LocalJava11Ubuntu|galasa|dev.galasa|https://127.0.0.1/ras/run/cbd-123/runlog
$galasactl runs get --name U456 --format raw
U456|finished|Passed|2023-05-04T10:55:29.545323Z|2023-05-05T06:00:14.496953Z|2023-05-05T06:00:15.654565Z|1157|dev.galasa.Zos3270LocalJava11Ubuntu|galasa|dev.galasa|https://127.0.0.1/ras/run/cbd-123/runlog
```

### Return tests with specified results in summary format

Use the following command to return test information for test runs that ran the previous day and have a result of _Failed_ or _EnvFail_.
Use the following example command to return test information for test runs that ran the previous day and have a result of either _Failed_ or _EnvFail_.

On Mac or Unix:

Expand All @@ -192,13 +192,13 @@ galasactl runs get --age 1d --result failed,envfail `
Results are returned on the terminal in the following example format:

```
galasactl runs get --age 1d --result failed,envfail
galasactl runs get --age 1d --result failed,envfail --bootstrap http://example.com:30960/boostrap
submitted-time name status result test-name
2023-05-05 10:55:29 U456 Finished Failed MyTestName1
2023-05-05 10:55:39 U856 Finished Failed MyTestName2
2023-05-05 10:55:49 U859 Finished EnvFail MyTestName3
2023-05-05 10:55:53 U956 Finished Failed MyTestName4
submitted-time name status result test-name
2023-05-05 10:55:29 U456 ending Failed MyTestName1
2023-05-05 10:55:39 U856 ending Failed MyTestName2
2023-05-05 10:55:49 U859 ending EnvFail MyTestName3
2023-05-05 10:55:53 U956 ending Failed MyTestName4
Total:4 Failed:3 EnvFail:1
```
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ mvn clean install

To build the project with Gradle, use the following command:
```
gradle build publishToMavenLocal
gradle clean build publishToMavenLocal
```

The built artifacts are typically placed in the `~/.m2/repository` in your home directory.
Expand Down

0 comments on commit fc864e9

Please sign in to comment.