Skip to content

Commit 21471d6

Browse files
committed
build(appscan): Revised appscan scripts for ruby
1 parent 44cea5e commit 21471d6

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

.travis.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
language: ruby
22
cache: bundler
3+
dist: trusty
34
sudo: required
45

56
rvm:
@@ -18,9 +19,15 @@ install:
1819
- npm install -g semantic-release
1920
- npm install -g @semantic-release/exec
2021
- bundle install
21-
22+
# - 'if [ "${TRAVIS_TAG}" = "${TRAVIS_BRANCH}" ]; then cd appscan; make asoc-tool; cd ../; fi'
23+
- cd appscan; make asoc-tool; cd ../;
24+
before_script:
25+
# - 'if [ "${TRAVIS_TAG}" = "${TRAVIS_BRANCH}" ]; then chmod a+x ./appscan/ASOC.sh; fi'
26+
- chmod a+x ./appscan/ASOC.sh;
2227
script:
2328
- bundle exec rake
29+
# - 'if [ "${TRAVIS_TAG}" = "${TRAVIS_BRANCH}" ]; then ./appscan/ASOC.sh; fi'
30+
- ./appscan/ASOC.sh;
2431

2532
before_deploy:
2633
- bundle exec rake test:appveyor_status

appscan/Configfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ APPSCAN_CLIENT_URL ?= https://appscan.ibmcloud.com/api/SCX/StaticAnalyzer/SAClie
1010
OS ?= linux
1111
APPSCAN_TOOL := $(APPSCAN_CLIENT_URL)$(OS)
1212

13-
GIT_REPO ?= [email protected]:watson-developer-cloud/node-sdk.git
13+
GIT_REPO ?= [email protected]:watson-developer-cloud/ruby-sdk.git
1414

15-
PROJECT_NAME ?= node-sdk
15+
PROJECT_NAME ?= ruby-sdk
1616

1717
# Headers added to curl command
1818
CONTENT_HEADER_JSON := --header 'Content-Type: application/json'

appscan/app.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"Id": "1cbcdce1-a87a-4f28-a9d1-98e4b482b848",
2+
"Id": "121195cc-ce37-41e9-83ff-9b730d7ae969",
33
"AssetGroupName": "IBM Watson and Cloud Platform",
44
"DateCreated": null,
55
"LastUpdated": null,
@@ -20,7 +20,7 @@
2020
"ComplianceStatuses": [],
2121
"CanBeDeleted": true,
2222
"LockedToSubscription": false,
23-
"Name": "Watson Node SDK",
23+
"Name": "Watson Ruby SDK",
2424
"AssetGroupId": null,
2525
"BusinessImpact": "Unspecified",
2626
"Url": null,

0 commit comments

Comments
 (0)