Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Fabric Betaのオプションまとめ

Ryosuke Horie
November 29, 2016

Fabric Betaのオプションまとめ

Ryosuke Horie

November 29, 2016
Tweet

More Decks by Ryosuke Horie

Other Decks in Programming

Transcript

  1. Φϓγϣϯͷઃఆํ๏ • ഑෍͍ͨ͠BuildType΍Flavorʹ௥Ճ android { buildTypes { debug { ext.betaDistributionReleaseNotes="Release

    Notes for debug build." } release { ext.betaDistributionReleaseNotes="Release Notes for release build." } } } ©"VASILY,"Inc.,"2016 7
  2. CIαʔϏεͱͷ૊߹ͤ • Werckerͷ৔߹Wercker'APIͷTrigger'a'new'runΛར༻ • envVarsͰ࣮ߦ࣌ͷ؀ڥม਺Λఆٛ curl -X POST -H "Content-Type:

    application/json; charset=utf-8" -H "Authorization: Bearer TOKEN" -d '{ "pipelineId": "PIPELINE_ID", "envVars":[{"key":"RELEASE_NOTES", "value":"Release notes"}] }' https://app.wercker.com/api/v3/runs ©"VASILY,"Inc.,"2016 20
  3. Hubotͱ૊߹͍ͤͨ • horie1024/wercker/clientΛ࡞ͬͯΈͨ var Wercker = require("wercker-client").default; var wercker =

    new Wercker({token: "YOUR_TOKEN"}); wercker.Runs.triggerNewRun({ pipelineId: "PIPELINE_ID", envVars: [{key: "RELEASE_NOTES", value: releaseNotes}] }).then((res) => { console.log(res); }); ©"VASILY,"Inc.,"2016 22
  4. ࢀߟ • h#p:/ /qiita.com/Horie1024/items/983d5c11d8ce92edc8a5 • h#ps:/ /docs.fabric.io/android/beta/overview.html • h#p:/ /devcenter.wercker.com/docs/api/endpoints/runs#triggerF

    aFrun • h#p:/ /gradle.monochromeroad.com/docs/userguide/ tutorialthisand_that.html • h#ps:/ /github.com/horie1024/werckerFclient ©"VASILY,"Inc.,"2016 24