Skip to content

Commit bd30990

Browse files
committed
chore(appscan): Moved all appscan files into a separate directory
1 parent bf868ee commit bd30990

6 files changed

Lines changed: 9 additions & 4 deletions

File tree

‎.travis.yml‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,17 @@ install:
3636
- pip install --user bumpversion
3737
- npm install semantic-release@13.1.1
3838
- npm install @semantic-release/exec
39-
- 'if [ "${TRAVIS_TAG}" = "${TRAVIS_BRANCH}" ]; then make asoc-tool; fi'
39+
# - 'if [ "${TRAVIS_TAG}" = "${TRAVIS_BRANCH}" ]; then cd appscan; make asoc-tool; cd ../; fi'
40+
- cd appscan; make asoc-tool; cd ../; fi
4041

4142
before_script:
42-
- 'if [ "${TRAVIS_TAG}" = "${TRAVIS_BRANCH}" ]; then chmod a+x ./ASOC.sh; fi'
43+
# - 'if [ "${TRAVIS_TAG}" = "${TRAVIS_BRANCH}" ]; then chmod a+x ./appscan/ASOC.sh; fi'
44+
- chmod a+x ./appscan/ASOC.sh; fi
4345

4446
script:
4547
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && openssl aes-256-cbc -K $encrypted_b248e84a4806_key -iv $encrypted_b248e84a4806_iv -in config.properties.enc -out core/src/test/resources/config.properties -d || true'
46-
- 'if [ "${TRAVIS_TAG}" = "${TRAVIS_BRANCH}" ]; then ./ASOC.sh; fi'
48+
# - 'if [ "${TRAVIS_TAG}" = "${TRAVIS_BRANCH}" ]; then ./appscan/ASOC.sh; fi'
49+
- ./appscan/ASOC.sh; fi
4750
- ./gradlew install -x check
4851
- ./gradlew checkstyleMain
4952
- ./gradlew checkstyleTest
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
cd appscan
34
make generate-irx
45
make upload-file
56
make run-scan
7+
cd ../
File renamed without changes.

Makefile renamed to appscan/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ run-scan:
5252
$(eval FILE_ID := "$(shell python getJson.py $(HOME)/file.json "FileId")")
5353
$(eval APP_ID := "$(shell python getJson.py app.json "Id")")
5454

55-
curl -X POST $(CONTENT_HEADER_JSON) $(ACCEPT_HEADER_JSON) $(AUTH) -d '{"ARSAFileId": $(FILE_ID), "ApplicationFileId": $(FILE_ID), "ScanName": "$(TRAVIS_TAG):$(TRAVIS_COMMIT)", "EnableMailNotification": false, "Locale": "en-US", "AppId": $(APP_ID), "Execute": true, "Personal": false}' $(STATIC_SCAN_URL)
55+
curl -X POST $(CONTENT_HEADER_JSON) $(ACCEPT_HEADER_JSON) $(AUTH) -d '{"ARSAFileId": $(FILE_ID), "ApplicationFileId": $(FILE_ID), "ScanName": "$(TRAVIS_TAG):$(TRAVIS_JOB_NUMBER):$(TRAVIS_COMMIT)", "EnableMailNotification": false, "Locale": "en-US", "AppId": $(APP_ID), "Execute": true, "Personal": false}' $(STATIC_SCAN_URL)
5656

5757
get-asset-group:
5858
$(eval TOKE := $(shell python getJson.py $(HOME)/token.json "Token"))
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)