diff --git a/JenkinsFile b/JenkinsFile index 868a400..ecbe24a 100644 --- a/JenkinsFile +++ b/JenkinsFile @@ -41,4 +41,18 @@ pipeline { } } } -} \ No newline at end of file + post { + always { + script { + withCredentials([string(credentialsId: 'is-registry-devnext-hook', variable: 'REGISTRY_DEVNEXT')]) { + sh "curl -v -X POST $REGISTRY_DEVNEXT" + } + } + script { + withCredentials([string(credentialsId: 'is-registry-devsec-hook', variable: 'REGISTRY_DEVSEC')]) { + sh "curl -v -X POST $REGISTRY_DEVSEC" + } + } + } + } +}