@docupace/pipeline 1.0.7-alpha.4 → 1.0.7-alpha.5

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.7-alpha.4",
3
+ "version": "1.0.7-alpha.5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -5,7 +5,7 @@ const CORE_JOB_NAME = 'auto-deploy-site';
5
5
  const CORE_USERNAME = process.env.CORE_JENKINS_USERNAME;
6
6
  const CORE_API_TOKEN = process.env.CORE_JENKINS_API_TOKEN;
7
7
 
8
- const CONNECT_JENKINS_URL = 'https://usdoc-s-buildui.corp.docupace.com';
8
+ const CONNECT_JENKINS_URL = 'https://usdoc-s-buildui.corp.docupace.com/jenkins';
9
9
  const CONNECT_JOB_NAME = 'docupace_build_and_run_site_v2';
10
10
  const CONNECT_USERNAME = process.env.CONNECT_JENKINS_USERNAME;
11
11
  const CONNECT_API_TOKEN = process.env.CONNECT_JENKINS_API_TOKEN;
@@ -29,7 +29,7 @@ export async function deployCore(env, site, liquibase, gitBranch) {
29
29
  export async function deployConnect(env, site, liquibase, branch) {
30
30
  const parameters = {
31
31
  BUILD_ENVIRONMENT: env,
32
- BUILD_SITE: site.toUpperCase(),
32
+ BUILD_SITE: site,
33
33
  RUN_LIQUIBASE: liquibase,
34
34
  };
35
35
 
@@ -117,6 +117,6 @@ export async function callJenkinsJob({
117
117
  }
118
118
  } catch (error) {
119
119
  console.error('Error:', error.message);
120
- throw new Error(error);
120
+ throw error;
121
121
  }
122
122
  }