KUIB 3.0.5 - automating build?

Posted by wes.rector on 05-Mar-2019 04:00

Hello,

Is it possible to automate or script building a KUIB application? We are using Atlassian Bamboo to build and deploy various applications, and we would like to use it for KUIB app builds, but we don't know how to get the server to do whatever happens when we push the "Build" button in KUIB.

Thanks, Wes

Posted by egarcia on 05-Mar-2019 12:25

Hello Wes,

You can run the KUIB builds from the command line via npm.

From the app folder, you can run either of the following commands:

- npm run build:dev

- npm run build:prod

These are scripts listed in the scripts section of package.json.

You may need to run "npm install" from the app folder to ensure that the packages have been installed.

I hope this helps,

Edsel

All Replies

Posted by GregHiggins on 05-Mar-2019 04:52

My opinion is yes. But I can't tell you how to do it. I was working toward researching that roughly a year ago, when I was tasked with something else. In the end, it's just a JSON document, or rather an organized collection of JSON documents.

Posted by Sanjeva Manchala on 05-Mar-2019 06:46

Hi Wes,
 
We provided an ANT task to build KUIB app on demand and you can invoke the ANT task from CI server. Here is the documentation related to ANT task:
 
Hope this helps,
Sanjeev
 

Posted by egarcia on 05-Mar-2019 12:25

Hello Wes,

You can run the KUIB builds from the command line via npm.

From the app folder, you can run either of the following commands:

- npm run build:dev

- npm run build:prod

These are scripts listed in the scripts section of package.json.

You may need to run "npm install" from the app folder to ensure that the packages have been installed.

I hope this helps,

Edsel

Posted by wes.rector on 06-Mar-2019 02:22

Edsel, very helpful. Thanks!

This thread is closed