Loading templates/gitlab-ci-mobsf.yml +5 −3 Original line number Diff line number Diff line Loading @@ -442,8 +442,9 @@ mobsf-pkg-local: alias: mobsf variables: MOBSF_API_KEY: "apiKey" MOBSF_SERVER_URL: "http://mobsf:8000" script: - export MOBSF_API_KEY="apiKey" - export MOBSF_SERVER_URL="http://mobsf:8000" - assert_defined "${MOBSF_APP_FILE}" 'Missing required MobSF application file' - wait_for_service mobsf 8000 - mobsf_scan ${MOBSF_APP_FILE} Loading @@ -456,6 +457,7 @@ mobsf-pkg-local: when: never - !reference [.test-policy, rules] # scan source code folder with mobsfscan mobsf-code: extends: .mobsf-base stage: package-test Loading Loading
templates/gitlab-ci-mobsf.yml +5 −3 Original line number Diff line number Diff line Loading @@ -442,8 +442,9 @@ mobsf-pkg-local: alias: mobsf variables: MOBSF_API_KEY: "apiKey" MOBSF_SERVER_URL: "http://mobsf:8000" script: - export MOBSF_API_KEY="apiKey" - export MOBSF_SERVER_URL="http://mobsf:8000" - assert_defined "${MOBSF_APP_FILE}" 'Missing required MobSF application file' - wait_for_service mobsf 8000 - mobsf_scan ${MOBSF_APP_FILE} Loading @@ -456,6 +457,7 @@ mobsf-pkg-local: when: never - !reference [.test-policy, rules] # scan source code folder with mobsfscan mobsf-code: extends: .mobsf-base stage: package-test Loading