Skip to content

Instantly share code, notes, and snippets.

@kmayer10
Created November 29, 2022 04:22
uDeploy

Go to Settings tab on top in UCD

  • System > Component Settings > Agent for Version Imports

image

@kmayer10
Copy link
Author

URL to download Jenkins Plugin to connect with UCD

Jenkins-Pipeline-UCD-Plugin

@kmayer10
Copy link
Author

Integrating Jenkins with uDeploy Server

  • Go to http://18.217.138.14:8080/manage/configure
  • Go to IBM UrbanCode Deploy Publisher Plugin Configuration and Click Add
    image
  • Add the UCD Server Details & Click Test Connection
    image
  • Click Test Connection and Click Save if got Success
    image

@kmayer10
Copy link
Author

@kmayer10
Copy link
Author

Configuring Jenkins Build to publish build artifacts in UCD Compoent

image

@kmayer10
Copy link
Author

Installing Tomcat for Deployment automation

wget https://dlcdn.apache.org/tomcat/tomcat-10/v10.0.27/bin/apache-tomcat-10.0.27.tar.gz
tar -xvf apache-tomcat-10.0.27.tar.gz
rm -rf apache-tomcat-10.0.27.tar.gz
mv apache-tomcat-10.0.27/ tomcat/
cd tomcat/bin/
./catalina.sh start

@kmayer10
Copy link
Author

kmayer10 commented Nov 30, 2022

add a new agent and new component as shown in the image below to the resource group.

image

@kmayer10
Copy link
Author

kmayer10 commented Nov 30, 2022

Create a Component Process for a new Java component, using the below steps
  1. Start
  2. Download Artifacts
  3. Shell
    3.1. Below is the content for the shell script step
#!/bin/bash
cp devops.war /home/ubuntu/tomcat/webapps/devops.war
  1. Finish
Add Component to the Application
Add Base Resource to the DEV Environment as per the below screenshot

image

@kmayer10
Copy link
Author

Update the Application process as per the below screenshot

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment