sumi-hiro / monacaICE

monaca + angular のサンプル
MIT License
0 stars 1 forks source link

monaca-cli でリモートビルドが出来るかを試す #19

Closed sumi-hiro closed 6 years ago

sumi-hiro commented 6 years ago

Monaca CI を使用せずにビルドが行えるかの確認 チケットの数が多くないため

sumi-hiro commented 6 years ago

monaca-cliのインストールからプロジェクトの作成まで

monaca-cliのインストール npm install -g monaca

monacaへログイン monaca login

プロジェクトのクローン monaca clone Monaca Cloud上にあるプロジェクトの一覧が出てくるので、選択する 今回はmonacaICEを選択

sumi-hiro commented 6 years ago

Androidのビルド

$ monaca remote build android
This operation will overwrite all the remote changes that have been made.
? Do you want to continue? Yes
Uploading project to Monaca Cloud...

No files uploaded since project is already in sync.
Internal server error, contact Monaca Support. 

エラー発生。

ブラウザ上で状態を確認 $ monaca remote build --browser

28 上限回数に達しているため、ビルドができない状態。

sumi-hiro commented 6 years ago

monaca-cliからのビルドも、Monaca Cloudでのビルドを呼び出しているだけのよう。

sumi-hiro commented 6 years ago

リモートビルド成功(Android)

$ monaca remote build android
This operation will overwrite all the remote changes that have been made.
? Do you want to continue? Yes
Uploading project to Monaca Cloud...

No files uploaded since project is already in sync.

Building project on Monaca Cloud...
.....................................................................................................................................................................................................................................................................................................................

Your package is stored at /Users/~~~~~~~~/20180228094326-android-debug.apk
sumi-hiro commented 6 years ago

リモートビルド成功(iOS)

$ monaca remote build ios
This operation will overwrite all the remote changes that have been made.
? Do you want to continue? Yes
Uploading project to Monaca Cloud...

No files uploaded since project is already in sync.

Building project on Monaca Cloud...
...............................................................................................................................................................................................................................................

Your package is stored at /Users/~~~~~~~~~/20180228113340-monacaICE.ipa