diff --git a/Jenkinsfile_CNP b/Jenkinsfile_CNP index 047bb8b20..de20f6be7 100644 --- a/Jenkinsfile_CNP +++ b/Jenkinsfile_CNP @@ -188,4 +188,8 @@ withPipeline(type, product, component) { reportName : "IDAM Web Public E2E functional tests result" ] } + + before('buildinfra:idam-prod') { + error('Stopping pipeline before Prod stages') + } } \ No newline at end of file diff --git a/security.sh b/security.sh index 34e00e6eb..88bf3783b 100644 --- a/security.sh +++ b/security.sh @@ -56,4 +56,4 @@ chown -R $(id -u):$(id -u) activescan.html cp *.html functional-output/ zap-cli -p $ZAP_PORT alerts -l Informational zap-cli --zap-url http://$ZAP_HOST -p $ZAP_PORT alerts -l High --exit-code False -curl --fail http://${ZAP_HOST}:${ZAP_PORT}/OTHER/core/other/jsonreport/?formMethod=GET --output report.json +curl --fail http://${ZAP_HOST}:${ZAP_PORT}/OTHER/core/other/jsonreport/?formMethod=GET --output report.json \ No newline at end of file