Professional Documents
Culture Documents
Jenkins
Jenkins
• Early and improved error detection and metrics that let you address
errors early— sometimes within minutes of check-in
• Go: What makes Go stand out from the crowd is the concept of
pipelines, which makes the modeling of complex build workflows easy.
• Travis CI: One of the oldest and most-trusted hosted solutions, it is also
available in an on-premises version for the enterprise.
• GitLab CI: An integral part of the open source Rails project, GitLab CI is
a free hosted service that provides detailed git repository management
with features like access control, issue tracking, code reviews and more.
your project.
• Discard Old Builds: Configure to keep only a
Subversion).
• Repository URL: Provide the URL of your
repository.
• Credentials: If needed, add credentials to access
your repository.
• Branches to build: Specify which branches should
trigger builds.
3. Build Triggers:
• Poll SCM: If you want Jenkins to periodically
For ubuntu
pipeline {
agent any
stages {
stage('Checkout') {
steps {
// Checkout the repository from GitHub
git 'https://github.com/yoga95lohumi/jenkins2/'
}
}
Task 3
Cron jobs
Build periodically
*****
cd /Users/yogeshlohumi/Desktop
cp -R Sorce\ Destination
https://crontab.guru/