1/13/2022
condemned
https:///github/com/hshar/website.git
Jenkins day 2
-----------------
CI/CD pipeline
1. Commit change
2. Trigger build
3. build
4. Notify of build outcome
5. Run tests
6. Notify of test outcome
7. Delivery build to environment
8. Deploy where necessary
----------------------------
1. Login to your jenkins
http://192.168.10.20:8080/
Get the passowrd
# cat /usr/lib/jenkins/secrets/jkAdminPassword
Use this password to login
Customize jenkins
- suggested plugins
These plugins will help you to work on it later.
Getting started
Create first Admin user
Note: Make sure to add 8080 port on your inbound rules.
click on start using jenkins
===================================
Intregation with jenkins
http://github.com/anujdevopslearn
go to repo and click on fork button
you can get source into your system
open java based source code
search: maven
MavenBuild
cLICK on new item -> :
Freestyle project/Multi-configuration project are lagecy one..
after 2.0 launch - folks stop using these. thats why these are not recommended.
Thats why jenkins came with idea of pipeline. Its a feature that developers are using it which can be use for pipeline. Even if you loose the jenkins, no backup or nothing available, you don't have to worry about the config lost.
You can recover your jenkins job.
sample groovy code
glst.github.com/saltnlinght5/3756240
basic scalaton of jenkins code
node{
stage('Checkout Code') {
}
Stage('Build Process') {
}
stage('Development'){
}
}
Put this code into jenkins job
Enter an item name: BuildAutomation
select the pipeline
node(slave){
stage('Checkout Code') {
}
Stage('Build Process') {
}
stage('Development'){
}
}
Click on pipeline syntax
- automate job generator
you can select the options and generate code
- select
========================
NuGet.org/packages
you can search for different packages.
nuget package config
for dot net technology
condemned
https:///github/com/hshar/website.git
Jenkins day 2
-----------------
CI/CD pipeline
1. Commit change
2. Trigger build
3. build
4. Notify of build outcome
5. Run tests
6. Notify of test outcome
7. Delivery build to environment
8. Deploy where necessary
----------------------------
1. Login to your jenkins
http://192.168.10.20:8080/
Get the passowrd
# cat /usr/lib/jenkins/secrets/jkAdminPassword
Use this password to login
Customize jenkins
- suggested plugins
These plugins will help you to work on it later.
Getting started
Create first Admin user
Note: Make sure to add 8080 port on your inbound rules.
click on start using jenkins
===================================
Intregation with jenkins
http://github.com/anujdevopslearn
go to repo and click on fork button
you can get source into your system
open java based source code
search: maven
MavenBuild
cLICK on new item -> :
Freestyle project/Multi-configuration project are lagecy one..
after 2.0 launch - folks stop using these. thats why these are not recommended.
Thats why jenkins came with idea of pipeline. Its a feature that developers are using it which can be use for pipeline. Even if you loose the jenkins, no backup or nothing available, you don't have to worry about the config lost.
You can recover your jenkins job.
sample groovy code
glst.github.com/saltnlinght5/3756240
basic scalaton of jenkins code
node{
stage('Checkout Code') {
}
Stage('Build Process') {
}
stage('Development'){
}
}
Put this code into jenkins job
Enter an item name: BuildAutomation
select the pipeline
node(slave){
stage('Checkout Code') {
}
Stage('Build Process') {
}
stage('Development'){
}
}
Click on pipeline syntax
- automate job generator
you can select the options and generate code
- select
========================
NuGet.org/packages
you can search for different packages.
nuget package config
for dot net technology
No comments:
Post a Comment