fix curl call

This commit is contained in:
Roberto Cirillo 2023-10-19 16:14:13 +02:00
parent c821b63a5a
commit 2a0ad17388
1 changed files with 2 additions and 2 deletions

View File

@ -45,12 +45,12 @@ pipeline {
always {
script {
withCredentials([string(credentialsId: 'is-registry-devnext-hook', variable: 'REGISTRY_DEVNEXT')]) {
sh "curl -v $REGISTRY_DEVNEXT"
sh "curl -v -X POST $REGISTRY_DEVNEXT"
}
}
script {
withCredentials([string(credentialsId: 'is-registry-devsec-hook', variable: 'REGISTRY_DEVSEC')]) {
sh "curl -v $REGISTRY_DEVSEC"
sh "curl -v -X POST $REGISTRY_DEVSEC"
}
}
}