Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "l-jenkins", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "async jenkins api client", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -24,3 +24,3 @@ # l-jenkins | ||
``` | ||
jenkins.createJob(your_job_name, 'xmlConfigString'); | ||
const result = await jenkins.createJob(your_job_name, 'xmlConfigString'); | ||
``` | ||
@@ -31,3 +31,3 @@ | ||
``` | ||
jenkins.removeJob(your_job_name); | ||
const result = await jenkins.removeJob(your_job_name); | ||
``` | ||
@@ -40,3 +40,3 @@ | ||
``` | ||
jenkins.build(your_job_name); | ||
const result = await jenkins.build(your_job_name); | ||
``` | ||
@@ -48,3 +48,3 @@ | ||
const options = { param1: 'value1', parameter2: 'value2'}; | ||
jenkins.buildWithParams(your_job_name, options); | ||
const result = await jenkins.buildWithParams(your_job_name, options); | ||
``` | ||
@@ -56,3 +56,3 @@ | ||
const options = { param1: 'value1', parameter2: 'value2'}; | ||
jenkins.buildByBlueOcean(your_job_name, options); | ||
const result = await jenkins.buildByBlueOcean(your_job_name, options); | ||
``` | ||
@@ -66,3 +66,3 @@ | ||
``` | ||
jenkins.getQueueInfo(queueId); | ||
const result = await jenkins.getQueueInfo(queueId); | ||
``` | ||
@@ -72,3 +72,3 @@ #### build info | ||
``` | ||
jenkins.getBuildInfo(your_job_name, build_number); | ||
const result = await jenkins.getBuildInfo(your_job_name, build_number); | ||
``` | ||
@@ -79,3 +79,3 @@ | ||
``` | ||
jenkins.getBuildLog(your_job_name, build_number); | ||
const result = await jenkins.getBuildLog(your_job_name, build_number); | ||
``` | ||
@@ -86,3 +86,3 @@ | ||
``` | ||
jenkins.getBuildHistory(your_job_name); | ||
const result = await jenkins.getBuildHistory(your_job_name); | ||
``` | ||
@@ -93,4 +93,4 @@ | ||
``` | ||
jenkins.stopBuild(your_job_name, build_number); | ||
const result = await jenkins.stopBuild(your_job_name, build_number); | ||
``` | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
14740
0