Remove before_script from DAST vendored template
This commit is contained in:
parent
a6653b3cda
commit
53842505ca
|
@ -21,7 +21,7 @@ dast:
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
services:
|
services:
|
||||||
- docker:stable-dind
|
- docker:stable-dind
|
||||||
before_script:
|
script:
|
||||||
- export DAST_VERSION=${SP_VERSION:-$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')}
|
- export DAST_VERSION=${SP_VERSION:-$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')}
|
||||||
- |
|
- |
|
||||||
function dast_run() {
|
function dast_run() {
|
||||||
|
@ -34,7 +34,6 @@ dast:
|
||||||
/analyze -t $DAST_WEBSITE \
|
/analyze -t $DAST_WEBSITE \
|
||||||
"$@"
|
"$@"
|
||||||
}
|
}
|
||||||
script:
|
|
||||||
- |
|
- |
|
||||||
if [ -n "$DAST_AUTH_URL" ]
|
if [ -n "$DAST_AUTH_URL" ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue