Skip to content

Commit 055dcdc

Browse files
committed
2 parents 6e25663 + 1e66160 commit 055dcdc

21 files changed

+214
-178
lines changed

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
<!--
5+
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
Changes should be placed under the following headings:
8+
### Added
9+
- for new features
10+
### Changed
11+
- for changes in existing functionality
12+
### Deprecated
13+
- for soon-to-be removed features
14+
### Removed
15+
- for now removed features
16+
### Fixed
17+
- for any bug fixes
18+
### Security
19+
- in case of vulnerabilities
20+
-->
21+
22+
## [Unreleased]
23+
24+
### Added
25+
26+
- Zowe CLI cics-deploy plugin including the commands:
27+
28+
- `zowe cics-deploy generate bundle`
29+
- `zowe cics-deploy push bundle`
30+
- `zowe cics-deploy deploy bundle`
31+
- `zowe cics-deploy undeploy bundle`
32+
33+
- Zowe CLI cics-deploy profile
34+
- Documentation in GitHub pages

__tests__/api/BundlePush/BundlePusher.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ describe("BundlePusher01", () => {
415415

416416
await runPushTestWithError("__tests__/__resources__/ExampleBundle01", true,
417417
"A problem occurred attempting to run 'if [ \"$(ls)\" ]; then rm -r *; fi' in remote directory '/u/ThisDoesNotExist/12345678'. " +
418-
"Problem is: The output from the remote command implied that an error occurred.");
418+
"Problem is: The output from the remote command implied that an error occurred, return code 1.");
419419

420420
expect(consoleText).toContain("Ssh command exit with non zero status");
421421
expect(zosMFSpy).toHaveBeenCalledTimes(1);
@@ -434,7 +434,7 @@ describe("BundlePusher01", () => {
434434

435435
await runPushTestWithError("__tests__/__resources__/ExampleBundle01", true,
436436
"A problem occurred attempting to run 'if [ \"$(ls)\" ]; then rm -r *; fi' in remote directory '/u/ThisDoesNotExist/12345678'. " +
437-
"Problem is: The output from the remote command implied that an error occurred.");
437+
"Problem is: The output from the remote command implied that an error occurred, return code 127");
438438

439439
expect(consoleText).toContain("Injected FSUM9195 error message");
440440
expect(zosMFSpy).toHaveBeenCalledTimes(1);
@@ -453,7 +453,7 @@ describe("BundlePusher01", () => {
453453

454454
await runPushTestWithError("__tests__/__resources__/ExampleBundle01", true,
455455
"A problem occurred attempting to run 'if [ \"$(ls)\" ]; then rm -r *; fi' in remote directory '/u/ThisDoesNotExist/12345678'. " +
456-
"Problem is: The output from the remote command implied that an error occurred.");
456+
"Problem is: The output from the remote command implied that an error occurred, return code 1.");
457457

458458
expect(consoleText).toContain("Injected FSUM9195 and FSUM9196 error message");
459459
expect(zosMFSpy).toHaveBeenCalledTimes(1);
@@ -647,7 +647,7 @@ describe("BundlePusher01", () => {
647647
await runPushTestWithError("__tests__/__resources__/ExampleBundle01", false,
648648
"A problem occurred attempting to run 'export PATH=\"$PATH:/usr/lpp/IBM/cnj/IBM/node-latest-os390-s390x/bin\" " +
649649
"&& npm install' in remote directory '/u/ThisDoesNotExist/12345678'. " +
650-
"Problem is: The output from the remote command implied that an error occurred.");
650+
"Problem is: The output from the remote command implied that an error occurred, return code 1.");
651651

652652
expect(consoleText).toContain("Injected stdout error message");
653653
expect(zosMFSpy).toHaveBeenCalledTimes(1);
@@ -680,7 +680,7 @@ describe("BundlePusher01", () => {
680680
await runPushTestWithError("__tests__/__resources__/ExampleBundle01", false,
681681
"A problem occurred attempting to run 'export PATH=\"$PATH:/usr/lpp/IBM/cnj/IBM/node-latest-os390-s390x/bin\" " +
682682
"&& npm install' in remote directory '/u/ThisDoesNotExist/12345678'. " +
683-
"Problem is: The output from the remote command implied that an error occurred.");
683+
"Problem is: The output from the remote command implied that an error occurred, return code 1.");
684684

685685
expect(consoleText).toContain("Injected FSUM7351 not found message");
686686
expect(zosMFSpy).toHaveBeenCalledTimes(1);
@@ -713,7 +713,7 @@ describe("BundlePusher01", () => {
713713
await runPushTestWithError("__tests__/__resources__/ExampleBundle01", false,
714714
"A problem occurred attempting to run 'export PATH=\"$PATH:/usr/lpp/IBM/cnj/IBM/node-latest-os390-s390x/bin\" " +
715715
"&& npm install' in remote directory '/u/ThisDoesNotExist/12345678'. " +
716-
"Problem is: The output from the remote command implied that an error occurred.");
716+
"Problem is: The output from the remote command implied that an error occurred, return code 1.");
717717

718718
expect(consoleText).toContain("Injected npm ERR! Exit status 1 message");
719719
expect(zosMFSpy).toHaveBeenCalledTimes(1);

0 commit comments

Comments
 (0)