RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Jenkins is used by Automatics for following activities.
Steps to be taken care during Jenkins configuration
Automatics Orchestration Setup#JDK17
Follow below steps to install and configure Jenkins in Linux
curl
command."curl --silent --location http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo | sudo tee /etc/yum.repos.d/jenkins.repo"
Sample Output:
And add the repository to your system with:
"sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key"
"
sudo yum install jenkins
"
After the installation process is completed, start the Jenkins service with:
"
systemctl start jenkins
"
To check whether it started successfully run:
"
systemctl status jenkins
"
Sample Output:
Finally enable the Jenkins service to start on system boot.
"sudo systemctl enable jenkins
"
To set up your new Jenkins installation, open your browser and type your domain or IP address followed by port 8080:
"http://your_ip_or_domain:8080"
sudo cat /var/lib/jenkins/secrets/initialAdminPassword
You should see a 32-character long alphanumeric password.
Continue
.Install suggested plugins
box, and the installation process will start immediately. Save and Continue
.Save and Finish
button.Follow below steps to Disable CSRF protection by setting system property 'hudson.security.csrf.GlobalCrumbIssuerConfiguration.DISABLE_CSRF_PROTECTION' set to true. More details available at https://www.jenkins.io/doc/book/security/csrf-protection/ .
Refer following webpage to setup Maven 3 on Linux.
Automatics Orchestration Setup#Maven3
Automatics performs test execution in Jenkins. Following page will provide details on creating Jenkins job for test execution.
Jenkins Job for Test Execution
As part of Automatics setup, partner has to deploy automatics core in their own self hosted maven artifact repository. Automatics-core artifact to be deployed will be generated in format format 'automatics-core-{version}.jar'.
Following page will provide details on creating Jenkins job for Automatics Core deployment.
Automatics Core : Jenkins Deployment Job configuration
2 Comments
Z-Gilles Printemps
Regarding the "Jenkins" setup, why not deploying it within Tomcat with a jenkins.war file?
Z-Gilles Printemps
This is a mistake in the screenshot regarding the script:
import jenkins.model.Jnekins >> import jenkins.model.Jenkins