@docupace/pipeline 1.0.6-alpha.8 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docupace/pipeline",
3
- "version": "1.0.6-alpha.8",
3
+ "version": "1.0.6",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -36,6 +36,6 @@
36
36
  "scripts": {
37
37
  "test-deploy-core": "dp-next-cli deploy-core-pipeline dev template",
38
38
  "test-deploy-from-site": "dp-next-cli deploy-from-site --from-env dev --to-env dev --from-site financialdev --to-site template --deploy-core true",
39
- "test-run-pipline": "dp-next-cli run-pipeline -r docupace-next-e2e -b master -p run-tests-qa -w"
39
+ "test-run-pipline": "dp-next-cli run-pipeline -r docupace-next-e2e -b master -p run-tests-qa"
40
40
  }
41
41
  }
@@ -87,12 +87,7 @@ export async function runPipeline(
87
87
  variables,
88
88
  );
89
89
 
90
- if (!wait) {
91
- return;
92
- }
93
-
94
90
  const pipelineUUID = pipeline.uuid;
95
-
96
91
  const buildNumber = pipeline.build_number;
97
92
 
98
93
  console.log(`Pipeline triggered with UUID: ${pipelineUUID}`);
@@ -100,6 +95,11 @@ export async function runPipeline(
100
95
  `See results here: ${BITBUCKET_WS_URL}/${repository}/piplines/results/${buildNumber}`,
101
96
  );
102
97
 
98
+ if (!wait) {
99
+ return;
100
+ }
101
+
102
+
103
103
  let status = '';
104
104
  do {
105
105
  console.log('Checking pipeline status...');