From 70ee28b6020e5894782308052ae4bba253256823 Mon Sep 17 00:00:00 2001 From: Esther Kim Date: Wed, 10 Feb 2021 13:33:00 +0900 Subject: [PATCH] fix missing jenkinsEndpoint --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 9cdda81..03f0f9a 100644 --- a/index.js +++ b/index.js @@ -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`,