Skip to content

Commit

Permalink
fix missing jenkinsEndpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Esther Kim committed Feb 10, 2021
1 parent 176b921 commit 70ee28b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ async function requestJenkinsJob(jobName, params) {
}

async function getJobStatus(jobName) {
const jenkinsEndpoint = core.getInput('url');
const req = {
method: 'get',
url: `${jenkinsEndpoint}/job/${jobName}/lastBuild/api/json`,
Expand Down

0 comments on commit 70ee28b

Please sign in to comment.