Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
markspolakovs committed Jan 12, 2024
1 parent f45f7f0 commit 126e5d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ pipeline {
booleanParam(name: 'PARAMETERISED', value: true)
]
script {
pullRequest.comment("Deployed a preview of this PR to https://pr-${env.CHANGE_ID}-internal.dev.ystv.co.uk")
def comment = pullRequest.comment("Deployed a preview of this PR to https://pr-${env.CHANGE_ID}-internal.dev.ystv.co.uk")
for (prevComment in pullRequest.comments) {
if (prevComment.user == 'jenkins-ystv[bot]' && prevComment.id != comment.id) {
pullRequest.deleteComment(prevComment.id)
Expand Down

0 comments on commit 126e5d4

Please sign in to comment.