fix curl call
This commit is contained in:
parent
c821b63a5a
commit
2a0ad17388
|
@ -45,12 +45,12 @@ pipeline {
|
||||||
always {
|
always {
|
||||||
script {
|
script {
|
||||||
withCredentials([string(credentialsId: 'is-registry-devnext-hook', variable: 'REGISTRY_DEVNEXT')]) {
|
withCredentials([string(credentialsId: 'is-registry-devnext-hook', variable: 'REGISTRY_DEVNEXT')]) {
|
||||||
sh "curl -v $REGISTRY_DEVNEXT"
|
sh "curl -v -X POST $REGISTRY_DEVNEXT"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
script {
|
script {
|
||||||
withCredentials([string(credentialsId: 'is-registry-devsec-hook', variable: 'REGISTRY_DEVSEC')]) {
|
withCredentials([string(credentialsId: 'is-registry-devsec-hook', variable: 'REGISTRY_DEVSEC')]) {
|
||||||
sh "curl -v $REGISTRY_DEVSEC"
|
sh "curl -v -X POST $REGISTRY_DEVSEC"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue