-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EPMRPP-87733 || Output launch UUID to file and ENV variable (#197)
* add output UUID to file and ENV variable * update changelog and readme
- Loading branch information
1 parent
0f43095
commit 29936ea
Showing
7 changed files
with
79 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
### Added | ||
- Output launch UUID to file and ENV variable | ||
|
||
## [5.1.2] - 2024-02-20 | ||
### Fixed | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
const helpers = require('../helpers'); | ||
|
||
const OUTPUT_TYPES = { | ||
// eslint-disable-next-line no-console | ||
STDOUT: console.log, | ||
STDOUT: (launchUuid) => console.log(`Report Portal Launch UUID: ${launchUuid}`), | ||
// eslint-disable-next-line no-console | ||
STDERR: console.error, | ||
STDERR: (launchUuid) => console.error(`Report Portal Launch UUID: ${launchUuid}`), | ||
// eslint-disable-next-line no-return-assign | ||
ENVIRONMENT: (launchUuid) => (process.env.RP_LAUNCH_UUID = launchUuid), | ||
FILE: helpers.saveLaunchUuidToFile, | ||
}; | ||
|
||
module.exports = { OUTPUT_TYPES }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters