DevBObs
DevBObs
  • 26
  • 105 825
How-To for Azure DevOps Pipelines with templates
How to use templates to refactor pipeline codes in Azure DevOps.
Check this video and identify you can refactor your:
💡Anything that is repeated
💡What can be reused?
💡Extract into local templates.
💡Move it out current repository
💡Boilá, use it across other repositories.
And have a great final pipeline that is easier to:
🚀 Support.
🚀 Collaborate with.
🚀 Reuse across multiple repositories and teams.
zhlédnutí: 388

Video

Jenkins running as a Service
zhlédnutí 507Před 4 lety
I am explaining and providing the Unix service file to configure and run Jenkins as a service instead of doing the single execution in the command line.
How to use service account with gcloud sdk cli
zhlédnutí 3,1KPřed 4 lety
In this video, I show how to login to gcloud using the gcloud sdk cli with service account json files instead of using browser token. I provide the steps of how to create the service account using the google cloud web console, then I explain the gcloud auth activate-service-account command. I finish this short video with a list of benefits when you go with this approach.
Example of variables configuration with Azure DevOps pipelines using YAML syntax
zhlédnutí 13KPřed 4 lety
In this video, I show five examples of how to configure and use variables with your Azure DevOps Pipeline using YAML syntax. I explain how to configure global vs local variables, how to get the variable values using the variable syntax or as an environment variable. I show how to define secrets and how to access to those secrets using variable syntax and what is required in order to get those s...
Bitbucket CI/CD pipelines configuration
zhlédnutí 32KPřed 4 lety
In this video, I show a simple demo of Bitbucket CI/CD pipelines using YAML configuration where I build a new docker image, using custom variables like username and password in order to login into my docker hub repository, and pipeline variables like BITBUCKET_COMMIT. Please leave a comment if you want to see more examples or something else related to these new features. Bitbucket pipelines doc...
How to configure Self-Hosted Linux Agent in Azure DevOps
zhlédnutí 10KPřed 4 lety
In this video, I show easy is to configure a self-hosted Linux agent for your Azure DevOps project. In the first part, I start with an interactive mode configuration, where you have to provide all the required parameters one by one. In the second part, I demo how to do a single-command line configuration, which is a more powerful way if you are thinking about automating your agent's creation wi...
How to trigger downstream jobs with Jenkins pipeline
zhlédnutí 14KPřed 4 lety
In this video, I show demos about how to trigger a Jenkins downstream job using declarative scripted syntax, also I provide examples of how to configure multiple parameters as an input, and how to get the status of the triggered job. All related to Jenkins build job jenkins.io/doc/pipeline/steps/pipeline-build-step/
How to configure Jenkins options
zhlédnutí 787Před 4 lety
In this video, I explain how to configure options for Jenkinsfile with a declarative syntax. I show four demos of how to rotate build numbers, discard a number of builds, define numbers of retries, and how to specify a timeout. If you want to learn more, below are the links I used with all the details from the official documentation. Links: Jenkins options jenkins.io/doc/book/pipeline/syntax/#o...
How to Install Jenkins from zero using war file
zhlédnutí 1,7KPřed 4 lety
In this video, I show how to install a Jenkins server using a war file. I explain steps by steps on how to download the war file, install the java version, and start the simplest configuration with the default plugins. I use an AWS account but it is not a requirement, any server can be used in this case if you follow the steps for the installation. These are the links I followed for this video:...
Cómo instalar Jenkins desde cero usando war file
zhlédnutí 757Před 4 lety
Hola, este video muestro los pasos para instalar Jenkins desde cero. Para esto me basé en la documentación de Jenkins y cómo recursos utilicé mi cuenta de AWS para la creación de una instance EC2, y seleccioné la imagen de Ubuntu 18.04 LTS. No es necesaría la cuenta de AWS no es obligatorio. También les dejo del link con la documentación utilizada para este video: Jenkins documentación jenkins....
Cómo ejecutar estados de Jenkins en sequencia vs paralelos.
zhlédnutí 539Před 4 lety
En este video, enseño como configurar la ejecución de estados de Jenkins en paralelo y en sequencia usando una sintaxis declarativa. Además muestro como ejecutar también pasos dentro de un estado de forma paralela. Ofrezco algunas ideas concluyentes sobre cuando y como utilizar estos enfoques para diferentes casos.
How to configure Jenkins Stages Parallel vs Sequential
zhlédnutí 6KPřed 4 lety
In this video, I explain how to configure the Jenkins stages for Parallel vs Sequential execution using declarative syntax. I also show an extra example of how to configure steps execution in parallel. I provide examples of when and how to use these approaches and what should be good practices in cases like theses.
Cómo configurar agentes docker para Jenkins usando sintaxis declarativa
zhlédnutí 393Před 4 lety
En este video muestro cómo configurar agentes de Jenkins con Docker, usando una sintaxis declarativa. Explico un poco el enfoque y beneficios que provee tanto para equipos de desarrollo como para administradores de Jenkins.
How to configure Jenkins Agent with Docker
zhlédnutí 9KPřed 4 lety
In this video, I show how to configure a Jenkins agent using docker with configuration as code using declarative syntax. I also share the benefits of using this approach, and how it can help you as a Jenkins administrator.
Cómo configurar agentes de Jenkins por estado vs global
zhlédnutí 493Před 4 lety
Cómo configurar agentes de Jenkins por estado vs global
How to configure Jenkins agents
zhlédnutí 776Před 4 lety
How to configure Jenkins agents
How to configure Jenkins to use agent any
zhlédnutí 1,4KPřed 4 lety
How to configure Jenkins to use agent any
Azure DevOps - How to manage Security and Compliance for Git Repositories
zhlédnutí 3,3KPřed 4 lety
Azure DevOps - How to manage Security and Compliance for Git Repositories
Azure DevOps - Different ways to add git repositories
zhlédnutí 4,4KPřed 4 lety
Azure DevOps - Different ways to add git repositories
Azure DevOps - How to configure Project Overview
zhlédnutí 656Před 4 lety
Azure DevOps - How to configure Project Overview
Azure DevOps - Overview of Project, Board, Repos, Pipelines, Test Plan and Artifacts
zhlédnutí 2,1KPřed 4 lety
Azure DevOps - Overview of Project, Board, Repos, Pipelines, Test Plan and Artifacts
Azure DevOps - Overview
zhlédnutí 186Před 4 lety
Azure DevOps - Overview
Powershell utility to record any command executed on Console
zhlédnutí 103Před 6 lety
Powershell utility to record any command executed on Console
Install Jenkins Server using Docker image
zhlédnutí 489Před 6 lety
Install Jenkins Server using Docker image
Jenkins simple pipeline configuration
zhlédnutí 134Před 6 lety
Jenkins simple pipeline configuration
Recording Console Commands Using Script/Scriptreplay
zhlédnutí 263Před 6 lety
Recording Console Commands Using Script/Scriptreplay

Komentáře

  • @user-np8zu8ro1r
    @user-np8zu8ro1r Před 4 měsíci

    Hi bob, my name is shiv I stay in Tampa are you coming to 16th April event in amateur works in Tampa let’s meet for collaborations and have more conversations.please let me know.

    • @DevBObs
      @DevBObs Před 4 měsíci

      Hello. I don't know about the event. But sure, let me know and I will try to be there.

  • @munniras3377
    @munniras3377 Před 9 měsíci

    could you post starter and release jobs groovy files please.

    • @DevBObs
      @DevBObs Před 4 měsíci

      Sorry for delayed answer. Could you elaborate more so I can try to help?

  • @user-lg1ru2hg6n
    @user-lg1ru2hg6n Před 9 měsíci

    I have a project repository on Bitbucket with approximately 600 branches, including features and hotfix branches. I've recently created a new pipeline in Bitbucket to scan the code using SonarCloud. I've also created a bitbucket-pipelines.yml file in the master branch. My goal is to apply this pipeline configuration to all existing branches. Currently, the bitbucket-pipelines.yml file is only in the master branch. When I make changes in the master branch, the pipeline is triggered, but it doesn't trigger when I make changes in any other branch. Can you please provide a solution for this issue?

  • @user-gl7jj3po4u
    @user-gl7jj3po4u Před rokem

    Dude, is there any tutorial for bitbucket cicd for aws ec2(ubuntu)

  • @kavvashivareddy161
    @kavvashivareddy161 Před rokem

    I want detailed explanation bro.. Using this bit bucket for project

  • @sunnyfullstack2737
    @sunnyfullstack2737 Před rokem

    Thanks , Good explanation. I want to pass group of variables to python script file from azure pipeline.yml Can you please help me .

    • @DevBObs
      @DevBObs Před 4 měsíci

      Did you solve the challenge? I was out for a while.

  • @user-fs4hw4bv6h
    @user-fs4hw4bv6h Před rokem

    Great videos! I do not see more recent content :(

  • @MrPreet23
    @MrPreet23 Před rokem

    If you have 10 repos and you need a particular user to only see a specific repo without having access to view all repos , how it can be done ?

  • @azuredevopsbyrajeshkumarm

    for more content on Azure DevOps, watch here: czcams.com/channels/IHRqMTGXSdVw0CCYyFH1Hg.html

  • @asatya786
    @asatya786 Před rokem

    Hey, Thank you for the video. It's really nice I want downstream job to be triggered only when my upstream in successful, can we do that ?

    • @DevBObs
      @DevBObs Před rokem

      Yes you can.

    • @DevBObs
      @DevBObs Před rokem

      You have to use the variables result and ask for == SUCCESS and not Null. Sometimes the job doesn't fail and the result variable is null.

  • @Nodorgrom
    @Nodorgrom Před rokem

    Most true helpful an information with awesome examples!

  • @amitsethi0843
    @amitsethi0843 Před rokem

    I have been trying to run the following but it keeps throwing an error saying No item named /var/lib/jenkins/workspace/jenkins-script/jenkinsMain found build job: "/var/lib/jenkins/workspace/jenkins-script/jenkinsMain", parameters: [ [ $class:'StringParameterValue',name: 'buildSteps',value: 'build/deploy'] ]

    • @himanshuupadhyay2520
      @himanshuupadhyay2520 Před rokem

      Hi, i am also facing same issue. Did you figured out how to resolve it?

    • @DevBObs
      @DevBObs Před 4 měsíci

      I hope you both solve the issue. I was out for a while.

  • @suprajakarumanchi9683

    Thanks for the Nice video. May I know how to set environment/global variables so that they can be used across stages. I have used environment {} for static. To create dynamic enviroment variables I want to clarify what is the best way to do it.

  • @matarah68
    @matarah68 Před rokem

    Excellet work! Thank you so much.

  • @illyricus1
    @illyricus1 Před rokem

    Really helpful, thanks man.

  • @karthicksettu9735
    @karthicksettu9735 Před rokem

    The first machine where you install your agent ..should be always running ..right ?

    • @DevBObs
      @DevBObs Před 4 měsíci

      It depends on the goal. It should be an always runner agent.

  • @sabrinakung4936
    @sabrinakung4936 Před 2 lety

    Hi, I'm wondering if it is possible to tigger another pipeline job on different Jenkins pod?

  • @rninness
    @rninness Před 2 lety

    Thanks for the video. I was banging my head because I was using the PAT that I had created for git which I only restricted to source control access only! Make sure the PAT you use has correct access!

  • @PunkSage
    @PunkSage Před 2 lety

    How do you load environment variables from file in Azure yaml?

    • @DevBObs
      @DevBObs Před 4 měsíci

      You will have to do it dynamically, loading the file and using macros for it

  • @sindujasinduja6157
    @sindujasinduja6157 Před 2 lety

    Hi..thanks for the video. Is it possible to send a user input as a parameter from one pipeline to other instead of predefined jenkins variable build number

    • @DevBObs
      @DevBObs Před 2 lety

      Yes it is. Use the input feature, create an environment variable and send it in the parameter section to the other side.

    • @DevBObs
      @DevBObs Před 2 lety

      Go to the input section here www.jenkins.io/doc/book/pipeline/syntax/ take a look how you can catch the value and that value here, can be send to the other jenkins job as a parameter too. 😊

  • @rafaelvieiradeandrade3051

    Hi, it's possible to set a propert to block download zip file with object from branch?

  • @user-kt7bn7gq8h
    @user-kt7bn7gq8h Před 2 lety

    Great video man! I was looking for a downstream pipeline trigger and parametar sharing option for a whole day! Your work is appreciated!

  • @walkercheahet
    @walkercheahet Před 2 lety

    how to add multi-agent in same pool?

  • @walkercheahet
    @walkercheahet Před 2 lety

    Does it need the same setup for the azure container instances as an agent?

  • @mohammedrazani2227
    @mohammedrazani2227 Před 2 lety

    Concise, detailed and well explained examples.

  • @UnDarkVader
    @UnDarkVader Před 2 lety

    Great video! Thanks a lot!

  • @anupomghosh7670
    @anupomghosh7670 Před 2 lety

    Very well explained. How to keep the agent always in online state even if we close the terminal?

    • @ahmadnalzam2421
      @ahmadnalzam2421 Před 10 měsíci

      ya i aso still looking at this. is that the terminal can not closed?

    • @DevBObs
      @DevBObs Před 4 měsíci

      Sorry for delayed answer. I was out for long time. Did you solve the challenge?

  • @gueguet_code4818
    @gueguet_code4818 Před 2 lety

    Hello and thanks for the video ! What would be the proper way to keep the Linux agent online ? Adding ./run.sh as a startup service or something... ?

  • @pradeepkumarvenkata1793

    My requirement is : How can i use the Build_Number of Job1 in Job2? Job2 has to send a mail which has subject and it will display Job1 Build_Number Please Suggest?

    • @DevBObs
      @DevBObs Před 2 lety

      You can use BUILD_NUMBER environment variable and send it to next downstream job.

    • @pradeepkumarvenkata1793
      @pradeepkumarvenkata1793 Před 2 lety

      @@DevBObs Thanks for your reply. In this case,Do these two jobs need parameter plugin or these can be independent, If so,can you provide some pipeline script also?

  • @GR-yp6ru
    @GR-yp6ru Před 2 lety

    Great explanation and verry usefull. Thanks!

  • @JTJDWB
    @JTJDWB Před 2 lety

    Hello! I would like to know if i want to create a subproject on the page using pipeline script how do i do it? Because for freestyle projects the downstream projects will be shown on the page but not for pipeline and i am currently using pipeline and i want to display the downstream project! Looking forward to your reply :)

    • @DevBObs
      @DevBObs Před 2 lety

      You wont see it. It is a Jenkins ui design. The downstream jobs are going to be shown in the logs. 😉

    • @JTJDWB
      @JTJDWB Před 2 lety

      @@DevBObs oh thank you for replying!! Is it because it has to be triggered by an upstream project for the Subproject section to appear? This was what i read online about the plugin!

  • @anamau3942
    @anamau3942 Před 2 lety

    Estoy iniciando en integracion continua, no entendi como lo haria de manera local, sin cuenta AWS

    • @DevBObs
      @DevBObs Před 2 lety

      Necesitas instalar Java y luego puedes descargar el .jar y listo. Son los mismos pasos para unix o window

  • @stef9019
    @stef9019 Před 2 lety

    I didn't know Azure pipline variables also functioned as System Environment Variables for that application, thanks! That saved me a lot of time.

  • @ravipremani6201
    @ravipremani6201 Před 2 lety

    Hi, Can you please help me on how can I attach my downstream job to my upstream pipeline Basically I want my pipeline (upstream job) should be integrated with the downstream job

    • @DevBObs
      @DevBObs Před 2 lety

      Hi. Sorry i didn't get the question. This is actually what i am doing in the job. The job excution can be anything. Is your downstream job a pipeline too or simply a job?

    • @ravipremani6201
      @ravipremani6201 Před 2 lety

      @@DevBObs Basically my upstream job is triggering the downstream job and it ends there, from there my downstream job starts I want like my upstream should wait till the time my downstream job is completed

    • @DevBObs
      @DevBObs Před 2 lety

      @@ravipremani6201 ok got it. You can add an extra property to the job definition. After propagate you can add wait: true. That will wait until downstream job finished.

    • @DevBObs
      @DevBObs Před 2 lety

      @@ravipremani6201 please let me know whether that worked or not.

    • @ravipremani6201
      @ravipremani6201 Před 2 lety

      @@DevBObs so when I kept the wait : true property it is waiting in the upstream job itself it is not going in the downstream job My upstream job takes max 2 seconds to complete

  • @ernestoluismosquera
    @ernestoluismosquera Před 2 lety

    Thanks for the video very useful.

  • @teguaycogutierrezgonzalez8802

    Excellent explanation! Thanks a lot mate

    • @DevBObs
      @DevBObs Před 2 lety

      Glad it helped! If you are interested in this topic let me know and I will try to do something else later.

    • @teguaycogutierrezgonzalez8802
      @teguaycogutierrezgonzalez8802 Před 2 lety

      @@DevBObs Yeah sure! Always interested in good quality content like this one. Keep it up!

  • @ratheeshkaran
    @ratheeshkaran Před 2 lety

    I followed the same steps and When I run the pipeline, I am getting an error message “##[error]unable to read data from the transport connection: connection reset by peer”. Could you please help on resolving this?

  • @tinatran9159
    @tinatran9159 Před 2 lety

    what the application did you run the command. After I run some error happen

    • @tinatran9159
      @tinatran9159 Před 2 lety

      and the config command not working

    • @DevBObs
      @DevBObs Před 4 měsíci

      Did you solve the problem?

  • @learnmsazure9569
    @learnmsazure9569 Před 3 lety

    How to use Secret variables within child templates?

  • @ankitaagarwal9568
    @ankitaagarwal9568 Před 3 lety

    I want to ssh multiple remote servers in parallel and perform some executions. How can I perform that in Jenkins?

    • @DevBObs
      @DevBObs Před 3 lety

      I will recommend taking a look at Ansible. You can execute Ansible with Jenkins but if that is the main goal. The right tool will be Ansible and there are multiple reasons why you should do it that way rather than over-complicating your solution with just Jenkins.

  • @raghureddy5220
    @raghureddy5220 Před 3 lety

    how to run a specific stage on all nodes matching a label?

    • @DevBObs
      @DevBObs Před 3 lety

      Great question. Same way you define an agent at root level, it is possible to do the same at stage level. Take a look at the documentation www.jenkins.io/doc/book/pipeline/syntax/#stage-level-agents

  • @AprilToprak
    @AprilToprak Před 3 lety

    Awesome! Thanks! but I still can't understand pipelines lol

    • @DevBObs
      @DevBObs Před 3 lety

      It is easy. Actually, once you start working with a kind of pipeline you will be able to understand the other ones.

  • @sudhirgoswami2882
    @sudhirgoswami2882 Před 3 lety

    Hi Sir - Can you help me with how to sync two repositories with different regions. one repo used by some other team and one used by some other. Is there any script available to sync both same repositories? repo is bitbucket.

    • @DevBObs
      @DevBObs Před 3 lety

      Try the git repository mirror. I don't think is a good solution because I think you are looking for both team using different repositories and keep both in sync right? I know you can do mirroring but if something is changed in the destination repo then the mirror is broken. That is a homework and pending task.

    • @sudhirgoswami2882
      @sudhirgoswami2882 Před 3 lety

      @@DevBObs basically both are repos are replica but only difference between repo 1 is used by dev team where they working dev related work and second repo is for selenium test project where test automation tam is writing the test cases.. So bottom line is to sync the code.. without doing manual stuff

  • @sudhirgoswami2882
    @sudhirgoswami2882 Před 3 lety

    mindblowing explanation, hats off to you sir. I have 1 question like what is the difference between interactive and service setup?

    • @DevBObs
      @DevBObs Před 3 lety

      Hi. Interactive you have to manually run the configuration. As a service is the there is any interruption, the service will try to restore the agents.

  • @sauravrajmitra6804
    @sauravrajmitra6804 Před 3 lety

    How to decide during runtime on which stages to run in parallel...for example I pass the stage names in build with parameters and those stages only should run in parallel...please help with the solution

    • @DevBObs
      @DevBObs Před 3 lety

      You can create a share library and make decision based on parameters. Keep in mind you can run a specific pipeline based on your inputs. You define both but you decide when to run which one.

  • @srcinfo
    @srcinfo Před 3 lety

    Very helpful guide. Helped me a lot! Thank you!

  • @vladimirvarona1502
    @vladimirvarona1502 Před 3 lety

    I have tried this with ubuntu 20.04. I provide the url and the personal access token but it does not even try to connect. Any idea? the agent version I am using is V2.187.2. Thanks in advance.

  • @carloscoliver9427
    @carloscoliver9427 Před 3 lety

    Question: this PIPELINE option comes in a Premium Bitbucket version? because I don't see this option in the repositories of my Work place

  • @suryatripathi5917
    @suryatripathi5917 Před 3 lety

    Very nice ! Can we automate to repository changes of github to Azure git repository using Jenkins job. Please let me know if you have created any video on this.

  • @gkkercarnac5323
    @gkkercarnac5323 Před 3 lety

    Very nice tutorial, excellent !!