ask-clipackage https://www.npmjs.com/package/ask-clinpm i -g ask-cli
ngrokandgolangif using the local Alexa Server instead of a Lambda in AWS
You're covered, the repo includes an Alexa Skill Server built in Go which you can use instead of AWS Lambda.
Steps:
ngrok http 3000# Paste the HTTPs URL ontoapis.custom.endpoint.uriinalexa-teamcity/skill.json, leave the pathecho/teamcityintactcd go-ci-commander/alexa-teamcityask init# Make sure you choose a profile which has sufficient permissions, more here.ask deploy# After completed copy theskill_idin./ask/config, you'll use it belowgo build *.goALEXA_APP_ID="{skill_id}" TEAMCITY_URL="http://{teamcity_host}:{port}" TEAMCITY_USER="{user}" TEAMCITY_PASS="{pwd}" ./main
- Add your Build configuration IDs to
types[].values[]inmodels/en-GB.json. You can also use synonyms for your build IDs so they are easier to pronounce etc. - Redeploy the skill model,
ask deploy ask simulate --text "ask teamcity to trigger {myBuildType}" --locale "en-GB"# or simply use the Alexa Test simulator, Echoism etc.
In progress, working on a Lambda alternative to the local Alexa Skill Server