Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hofry authored Nov 27, 2020
1 parent 68b0f14 commit f318381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ try {
const username = core.getInput('username');
const jobName = core.getInput('job');

request.post({baseUrl: jenkinsUrl, uri: 'job/' + env + '/' + jobName + '/buildWithParameters?token=' + jobName + '&DOCKER_IMAGE_TAG=' + tag}).auth(username,token)
request.post({baseUrl: jenkinsUrl, uri: 'job/' + env + '/job/' + jobName + '/buildWithParameters?token=' + jobName + '&DOCKER_IMAGE_TAG=' + tag}).auth(username,token)

const time = (new Date()).toTimeString();
core.setOutput("time", time);
Expand Down

0 comments on commit f318381

Please sign in to comment.