UpdatecliDiff.groovy (418B)
1 // A class to describe the updatecli diff stage 2 // - https://www.updatecli.io/docs/automate/jenkins 3 // - https://www.updatecli.io/docs/guides/npm 4 class UpdatecliDiff { 5 private final Script script 6 7 UpdatecliDiff(Script script) { 8 this.script = script 9 } 10 11 void execute() { 12 script.stage(stageName) { 13 docker.image('ghcr.io/updatecli/updatecli:latest') { 14 sh 'updatecli diff' 15 } 16 } 17 } 18 }