add calls to portainer webhook

This commit is contained in:
Roberto Cirillo 2023-10-19 16:01:12 +02:00
parent e1ec8a24be
commit c821b63a5a
1 changed files with 15 additions and 1 deletions

View File

@ -41,4 +41,18 @@ pipeline {
}
}
}
}
post {
always {
script {
withCredentials([string(credentialsId: 'is-registry-devnext-hook', variable: 'REGISTRY_DEVNEXT')]) {
sh "curl -v $REGISTRY_DEVNEXT"
}
}
script {
withCredentials([string(credentialsId: 'is-registry-devsec-hook', variable: 'REGISTRY_DEVSEC')]) {
sh "curl -v $REGISTRY_DEVSEC"
}
}
}
}
}