[VAL-31] Extend JJB to support UI building Created: 10/Jun/19  Updated: 01/Jul/19

Status: To Do
Project: Validation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Medium
Reporter: Ioakeim Samaras Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

A Jenkins Job builder (JJB) should be created for UI and postgreSQL building and deployment



 Comments   
Comment by Ioakeim Samaras [ 01/Jul/19 ]

We also need to upload maven artifacts produced by the build process to our nexus repo. I will try to handle this.

Comment by Ioakeim Samaras [ 19/Jun/19 ]

Thanks a lot Cristina for your help!

Comment by Cristina Pauna [ 19/Jun/19 ]

Thanks Ioakeim.This is where the build of all images is called within the JJBs:

https://gerrit.akraino.org/r/gitweb?p=ci-management.git;a=blob;f=jjb/validation/validation-docker.yaml;#l127

You can add the command to build the UI code and call that from the JJB before this line.

Comment by Ioakeim Samaras [ 19/Jun/19 ]

Hi Cristina,

I meant exactly the items that you are mentioning.

More specifically, the UI container building process fails because a pre-build step is needed, namely the compilation of the UI source code. The output of this procedure is the war file that is missing. Therefore, an enhancement of the current JJB is needed.

So I guess I will modify the title of this item in order to contain only the UI build process.

Comment by Cristina Pauna [ 19/Jun/19 ]

If you mean building the UI and postgreSQL containers, they are already built in our daily job [1]

By looking at the logs of the latest job [2], the ui container is failing with the error below:

Step 2/2 : COPY ./AECBlueprintValidationUI.war /usr/local/tomcat/webapps
COPY failed: stat /var/lib/docker/tmp/docker-builder907618232/AECBlueprintValidationUI.war: no such file or directory

[1]https://jenkins.akraino.org/view/validation/job/validation-master-docker/

[2] https://jenkins.akraino.org/job/validation-docker-build-amd64-master/38/console

 

Generated at Sat Feb 10 06:06:46 UTC 2024 using Jira 9.4.5#940005-sha1:e3094934eac4fd8653cf39da58f39364fb9cc7c1.