On-Premises Agent Installation Guide
System Requirements
Operating System: Ubuntu (Debian-based)
Ubuntu Version: 18+ LTS
Recommended RAM: 2GB
Prerequisites
Before beginning the installation, ensure you have:
Access to a terminal with sudo privileges
Bitbucket, GitHub, Jenkins, and SonarQube credentials (if applicable)
Installation Steps
1. Create Workspace Directory
2. Download Installation Files
Clone the stormtrooper
in the devdynamics-agent
directory.
Contact the DevDynamics team to get the Personal Access token necessary to autheticate the clone request.
3. Update System and Install Tools
4. Extract Installation Files
5. Configure Agent Configuration File
Edit the dd-agent.conf
file with the following sections:
Common Configuration
CRON_EXPRESSION
: Controls the execution frequency. By default, it runs every hour.ORG_CODE
: Contact the DevDynamics team if you do not have this code.REQUEST_SIZE_THRESHOLD_IN_BYTES
: Do not modify this value.DD_API_KEY
: Do not modify this value.
GitHub Configuration
GITHUB_ENABLED
: This must remaintrue
.GITHUB_URL
: The base URL for your GitHub application (exclude the port number).GITHUB_PORT
: Specify the port (default is443
).GITHUB_API_TOKENS
: Add the API token for your GitHub account. We recommend providing at least 3 API tokens to avoid the rate-limiting condition.GITHUB_ORG_NAME
: Add your GitHub Organization's name.
Bitbucket Configuration
BITBUCKET_ENABLED
: This must remaintrue
.BITBUCKET_URL
: The base URL for your Bitbucket application (exclude the port number).BITBUCKET_PORT
: Specify the port (default is80
).BITBUCKET_API_KEY
: Add the API token for your Bitbucket account.BITBUCKET_USER
: Add your Bitbucket username.
Jenkins Configuration
JENKINS_ENABLED
: This must remaintrue
.JENKINS_URL
: The base URL for your Jenkins application (exclude the port number).JENKINS_PORT
: Specify the port (default is8765
).JENKINS_API_TOKEN
: Add the API token for your Jenkins account.JENKINS_USERNAME
: Add your Jenkins username.
SonarQube Configuration
SONAR_ENABLED
: This must remaintrue
.SONAR_URL
: The base URL for your SonarQube application (exclude the port number).SONAR_PORT
: Specify the port (default is8765
).SONAR_API_KEY
: Add the API token for your SonarQube account.
6. Run Installation Script
Configuration Notes
Modify configuration values carefully
Do not change
REQUEST_SIZE_THRESHOLD_IN_BYTES
orDD_API_KEY
Ensure all URLs and credentials are correct
Support
For installation issues or questions, contact:
Email: support@devdynamics.ai
Additional Support: Use Intercom chat on the DevDynamics website