Updating CICD Dashboard Code Location for AIQ 5.x.x
Updating CICD Dashboard Code Location for AIQ 5.x.x
If your CICD dashboard was created with a CICD client downloaded from an Appvance S3 service., you must follow the update process to point your CICD build.xml file to your AIQ controller CICD client.
The Appvance S3 service that contains this code will be removed in the near future. If you have not performed the update for your 5.0.0 release your CICD dashboard will not work.
Update build.xml Process
-
Follow the appropriate steps for your operating system:
-
Linux / Mac OS
Open a terminal and type the following commands. They will download a file
updateGetURL.jarto the folder where you have yourbuild.xmlfile. Do replace values between<>with your correct values.cd <folder-with-build.xml-file>wget http://<aiq controller domain>:8080/UI/container/updateGetURL.jarjava -jar updateGetURL.jar <controller-domain-or-ip> build.xmlValue for
<controller-domain-or-ip>can be similar to any of the following:-
java -jar updateGetURL.jar ec2-52-52-192-202.us-west-1.compute.amazonaws.com build.xml -
java -jar updateGetURL.jar localhost build.xml -
java -jar updateGetURL.jar 52.52.192.202 build.xml -
java -jar updateGetURL.jar aiq-server.mydomain.com build.xml
-
-
Windows
-
Open a browser and download a file by copying the following URL into the browser:
http://<controller-domain-or-ip>:8080/UI/container/updateGetURL.jar -
Copy the downloaded
updateGetURL.jarfile to the same folder where yourbuild.xmlfile is located. -
Execute the following command in a cmd prompt:
java -jar updateGetURL.jar <controller-domain-or-ip> build.xmlValue for
<controller-domain-or-ip>can be similar to any of the following:-
java -jar updateGetURL.jar ec2-52-52-192-202.us-west-1.compute.amazonaws.com build.xml -
java -jar updateGetURL.jar localhost build.xml -
java -jar updateGetURL.jar 52.52.192.202 build.xml -
java -jar updateGetURL.jar aiq-server.mydomain.com build.xml
-
-
-
-
After executing the above commands, open your
build.xmlfile in a text editor and verify that a line similar to the following exists:<get dest="${lib}/RestClient.jar" src="http://<controller-domain>:8080/UI/container/AppvanceCIClientWithDeps.jar"/>The text
<controller-domain>should be replaced by your controller domain/ip as shown in thecontroller.jsonfile. -
Push the changes to the
build.xmlfile in your repository.
Troubleshooting
In case of any issues running the java updateGetURL.jar, you can manually edit the build.xml file to have the get line to have the src property use your controller to download the client such as :
<get dest="${lib}/RestClient.jar" src="http://<controller-domain>:8080/UI/container/AppvanceCIClientWithDeps.jar"/>
Last updated: March 17, 2024
If you have any feedback on this topic, please contact us at documentation@appvance.ai