GitLab Feature Toggle Demo
12:46
6 ай бұрын
GitHub Actions Starter Workflow
9:20
Azure Kubernetes Service AKS
8:40
Azure DevOps Self Hosted Runner
22:05
Minikube Portainer Dashboard
14:09
Dockerfile Tutorial - The Basics!
25:27
Play With Docker & Portainer!!
21:49
Docker Registry - Nexus Sonatype OSS
26:22
Jenkins Jira Integration
20:12
4 жыл бұрын
Пікірлер
@shahfeerdeen2001
@shahfeerdeen2001 6 күн бұрын
see how to trigger the pipeline while creating a item there is pipeline how to trigger that
@hamidoahmed9985
@hamidoahmed9985 Ай бұрын
the Source Code Management section is no longer available, do you have another method ?
@crudsinfotechng8127
@crudsinfotechng8127 Ай бұрын
Can you please clarify what exactly you mean by Source Code Management section is no longer available? Unless its some kind of an automation local script based Jenkins job, for other jobs, the source code is always put up on some Git Repo and the web-hooks are the mechanism to respond to real time changes in remote Git repository.
@stennyrajkumar9336
@stennyrajkumar9336 2 ай бұрын
Awesome, thank your help, it worked for me finally after checking out so many videos, thanks a lot!!
@bhokali-banarasi
@bhokali-banarasi 2 ай бұрын
good video. I like calm and no nonsense content.
@gameboyguggu
@gameboyguggu 2 ай бұрын
Nice tutorial.. thank you sir
@akemko
@akemko 3 ай бұрын
thanks for the video boss.
@arism1awar
@arism1awar 4 ай бұрын
I'm sorry sir, I followed your step and experienced a problem which is I cannot find the "echo-tls" certificate? FYI I was using minikube addon for the ingress, does it has effect?
@crudsinfotechng8127
@crudsinfotechng8127 4 ай бұрын
Sorry to hear that Sir, I do not understand your question. In the tutorial, we have also used minikube itself and have exposed the service to the outside world using a public tunnel service called "ngrok". Can you please elaborate on what you mean by - "I can not find the echo-certificate"?
@arism1awar
@arism1awar 4 ай бұрын
@@crudsinfotechng8127 Ok Sir, refer to your video on minute 28:00 you use the command "kubectl get certificate" to check the certificate status, and it showed the "echo-tls" certificate on the list. But in my case, there is no certificate shown at all. Thanks in advance 🙏
@canye1662
@canye1662 5 ай бұрын
Nice videos... got a quick question how can you tigger a specific folder in same branch with 5 different micro service in different folders, let say you update just one folder in want only that folder changes be build, how u do that with freestyle project web hook setup.
@crudsinfotechng8127
@crudsinfotechng8127 5 ай бұрын
Hello, Not sure if I understand your requirement but this is how it works: - WebHooks payloads contain information about the specific code changes in the GitHub Repository - which branch, what code etc etc - Once Jenkins gets this hook trigger from a specific repository, Jobs in Jenkins can be connected using Post Build actions (free style project) so that they can trigger one or more jobs (in your case, if there are multiple jobs - one each for every microservice, they can all be triggered from one main job which receives the web-hook) - In Git, you have a concept of sub-modules - where-in repository within repository are allowed and you could probably explore this as well - Additionally, if your micro service is Java & maven based, maven POM also has a concept of sub-modules and you can explore this as well From a Continuous Integration concept, the recommended is to build only those repositories & branches that have code changes. Hope this helps.
@PP-km8uh
@PP-km8uh 4 ай бұрын
He is asking in repo there are multiple folders and any changes made in 1 folder so that should be trigger. But I guess he did not understand about webhook. Webhook works on repo , so if you make change in any repo the build will get triggered bro it is not working on folder it works on repo. And if you are working on micro services then for each micro service you need to create repo
@pukayurac1
@pukayurac1 5 ай бұрын
It's perfect. I'm using SonarQube 9.9, and so far, I'm getting an error when the pipeline says "Not authorized. Please check the properties sonar.login and sonar.password." It's strange because I followed all the steps to set it up with a TOKEN.
@crudsinfotechng8127
@crudsinfotechng8127 5 ай бұрын
There should not be much difference with the pipeline syntax for the older version of SonarQube and unless any of the variable config is different (visibility, hidden etc), can not think of anything that could be amiss.
@prakashn1025
@prakashn1025 7 ай бұрын
Hi There, am getting this error : C:\ProgramData\Jenkins\.jenkins\workspace\ssh-plugin-pipeline-check>mvn package 'mvn' is not recognized as an internal or external command, operable program or batch file.
@crudsinfotechng8127
@crudsinfotechng8127 7 ай бұрын
Maven needs to unzipped on the VM & both PATH & MAVEN_HOME environment variable needs to be configured on the Windows Machine. You can refer to this documentation to set this up : phoenixnap.com/kb/install-maven-windows.
@tarunpatel05
@tarunpatel05 7 ай бұрын
Hi Chidanand, I have one scenario, I want to get the code coverage from the selenium test cases which are functional test cases, The application has 2 different repo one is for back end and other one is for front end together when built they form the application, which runs on on endpoint, using the same endpoint we test that application, our selenium test cases are in different repository(3rd repo, btw all repos are in gitlab), can it be possible, when i run the selenium test cases , then code coverage is recorded somewhere like in 2 dev repos and i get the result after this regression e2e suite? do you have any example or use case, Please suggest, edited : sonarqube and jacoco is implemented in project but it ran only for Junit test cases Thanks,
@crudsinfotechng8127
@crudsinfotechng8127 6 ай бұрын
Hello Tarun, I am not sure if I understood your question correctly. Code Coverage % is typically associated with static analysis of the code & is calculated when the code is at rest (not even deployed). Jacoco, SonarQube, PMD, FindBugs etc are used for this purpose. If you have deployed the code and running Selenium test cases to check functionality, unless you have used some BDD specs that outline your functional business case, I am not sure if there are any ready tools that can possibly create Feature Coverage report that outlines which business case passed v/s failed, that too for Selenium. Hope this helps.
@tarunpatel05
@tarunpatel05 6 ай бұрын
@@crudsinfotechng8127 Hi Sir, My question was - basically we perform code coverage by writing unit test cases either of junit and testng and in the same repo/folder structure, where developer codes resides, so it gives the result in the same repo or same folder structure, but when we perform end to end testing or say black box testing, can we record code coverage while performing it? because automation test repo is at different place, and it perform black box testing, so i am running automated test case to the running application, which is built on java spring and front end is in angular, so can we perform code coverage when automated test case runs?
@tarunpatel05
@tarunpatel05 6 ай бұрын
@@crudsinfotechng8127 Hi Chidanand, Thanks for reply, i was asking can we perform code coverage from selenium end to end test cases?
@mohamedyahya6901
@mohamedyahya6901 7 ай бұрын
Thank you, it is very helpful, please keep up sharing such useful contents
@arpitjindal9036
@arpitjindal9036 8 ай бұрын
Why my comments are getting deleted.
@arpitjindal9036
@arpitjindal9036 8 ай бұрын
Hello ! I m not able to open the http port using the NGROK. Can you help me with these please.
@digvijaysingh5006
@digvijaysingh5006 8 ай бұрын
very straight forward, thanks !!
@goodnessofgod108
@goodnessofgod108 8 ай бұрын
Thank you very much☺ It is very useful
@akaharrison1644
@akaharrison1644 9 ай бұрын
If you have created one vm in the vagrant, can you be able to another vm in same that vagrant and how? Thank you
@crudsinfotechng8127
@crudsinfotechng8127 9 ай бұрын
Sorry, I am unable to understand your question :(
@DreamDrifters
@DreamDrifters 9 ай бұрын
I configured the same couldn't be able to see the coverage after running the Job successfully.
@worldsofgalaxy
@worldsofgalaxy 10 ай бұрын
Nice really helpful 👍👍
@mhiriichrak6735
@mhiriichrak6735 10 ай бұрын
Thank's a lot it helps me !!good job
@saiv5768
@saiv5768 10 ай бұрын
Do you have jenkins script for jacoco cvg step
@crudsinfotechng8127
@crudsinfotechng8127 10 ай бұрын
Not sure if I understood your question but if you are looking at Jenkins pipeline code snippet, you can autogenerate it from the Jenkins Pipeline snippet generator that is available for your Jenkins instance. However, for most cases, the following code snippet will work (as long as your maven project structure is not overly complicated): stage('Jacoco Reports') { steps { jacoco() echo "Publishing Jacoco Code Coverage Reports"; } } Few more parameters can be specified and the complete list of supported parameters can be found here : www.jenkins.io/doc/pipeline/steps/jacoco/ Hope this helps.
@resumeus-e3v
@resumeus-e3v 10 ай бұрын
Thank you Could you help by creating from scratch Step 1 : create maven project and push to bitbucket Step 2 : How to configure with bitbucket Step 3 : How to write pipeline script and generte sonarqube report
@vipinsachan111
@vipinsachan111 11 ай бұрын
Awesome video, very easily created 2 machines and then performed the ansible operations. Very informative video.
@daniloramirez5032
@daniloramirez5032 Жыл бұрын
Thank you so much! The best explanation ever! It was very helpful for my work
@inspired12121
@inspired12121 Жыл бұрын
thank you so much, your video is well explained
@MrSanmaster
@MrSanmaster Жыл бұрын
But there is no coverage report available also in sonar i can see there are zero %coverage
@crudsinfotechng8127
@crudsinfotechng8127 Жыл бұрын
The repository that I used does not contain any JUnit test cases which is why the code coverage % is not published.
@MrSanmaster
@MrSanmaster Жыл бұрын
@@crudsinfotechng8127 same i also used and not getting the coverage report, And in my repository there are junit test cases
@apuspitaapuspita
@apuspitaapuspita Жыл бұрын
Thanks
@BehniaFB
@BehniaFB Жыл бұрын
Thanks you. I learned a lot. It would be good if you improve the sound quality.
@crudsinfotechng8127
@crudsinfotechng8127 Жыл бұрын
Pipeline Code: -------------------------------------------------------------------------------------------------------------------------------------------------- # Maven # Build your Java project and run tests with Apache Maven. # Add steps that analyze code, save build artifacts, deploy, and more: # docs.microsoft.com/azure/devops/pipelines/languages/java trigger: - master pool: vmImage: ubuntu-latest steps: - task: SonarQubePrepare@5 inputs: SonarQube: 'My-Sonar-Server' scannerMode: 'Other' - task: Maven@3 inputs: mavenPomFile: 'pom.xml' mavenOptions: '-Xmx3072m' javaHomeOption: 'JDKVersion' jdkVersionOption: '1.11' jdkArchitectureOption: 'x64' goals: 'clean install sonar:sonar' --------------------------------------------------------------------------------------------------------------------------------------------------
@Rajesh-tq4kj
@Rajesh-tq4kj Жыл бұрын
Hi Sir, Actually got a requirement to implement jacoc code coverage we are using maven build tool and jenkins pipeline script, could you please help me
@crudsinfotechng8127
@crudsinfotechng8127 Жыл бұрын
Hello @rajesh-tq4kj, generating jacoco code coverage through scripted pipeline is pretty straightforward and you can refer to this : raw.githubusercontent.com/rchidana/calcwebapp/master/Jenkinsfile Hope this helps.
@Rajesh-tq4kj
@Rajesh-tq4kj Жыл бұрын
@@crudsinfotechng8127 Thank you so much sir
@saiv5768
@saiv5768 10 ай бұрын
And can you also share pom file..
@crudsinfotechng8127
@crudsinfotechng8127 Жыл бұрын
Pipeline YML file: ------------------------------------------------------------------------------------------------------------------------------------------------------------- # Maven # Build your Java project and run tests with Apache Maven. # Add steps that analyze code, save build artifacts, deploy, and more: # docs.microsoft.com/azure/devops/pipelines/languages/java trigger: - master pool: vmImage: ubuntu-latest steps: - task: Maven@3 inputs: mavenPomFile: 'pom.xml' mavenOptions: '-Xmx3072m' javaHomeOption: 'JDKVersion' jdkVersionOption: '1.11' jdkArchitectureOption: 'x64' publishJUnitResults: true testResultsFiles: '**/surefire-reports/TEST-*.xml' goals: 'package' - task: TomcatDeployment@1 inputs: TomcatUrl: 'YOUR-JENKINS-URL' Username: 'JENKINS-ADMIN-USERNAME' Password: 'JENKINS-ADMIN-PASSWORD' Warfile: 'target/NAME-OF-YOUR-WAR-FILE' Context: '/azure-deploy' ServerVersion: '7OrAbove' -------------------------------------------------------------------------------------------------------------------------------------------------------------
@WdnUlik2no
@WdnUlik2no Жыл бұрын
Thank you for this. I have hundreds of hours of work setting up automation jobs in Jenkins. My biggest fear is something happens and I lose ALL my work. Quick question: I didn't use alpine when I started my Jenkins container for the first time. Do I still need to use "alpine" when backing up my volume?
@crudsinfotechng8127
@crudsinfotechng8127 Жыл бұрын
The first exercise is just to demonstrate how bind mounting of volumes work and I have used alpine for it. For Jenkins, you do not need alpine and all you need to do is launch jenkins image and mount container folder /var/jenkins_home to a folder of your choice (either named volume or bind mount any folder which is available across your cluster - NFS/SAN/Cloud Storage Solution or whatever central storage mechanism that you have). Hope this clarifies.
@crudsinfotechng8127
@crudsinfotechng8127 Жыл бұрын
Apologies for audio glitches, if any!
@shreyasmanju7230
@shreyasmanju7230 Жыл бұрын
You made your local host to public But what if we want to pass local host url (priavte) only?
@crudsinfotechng8127
@crudsinfotechng8127 Жыл бұрын
Not sure if I understand your question but if you want to connect GitHub Hosted Runner (which is running on GitHub Public Cloud) to your local SonarQube server (running well within your local network), you would need to check & figure out a network connectivity mechanism. If you can get this sorted out in someway, you can go ahead & specify pass on localhost url itself (I doubt if this can be achieved on a GitHub hosted runner and you can surely consider a local runner for this task). You can refer to one of my other videos where I have demonstrated how to spin up a Local runner. Hope this helps.
@artisticw1zard
@artisticw1zard Жыл бұрын
You can't pass localhost to public internet and since github needs to connect to sq server, you have to use this kinda tunnel ngork, cloudflare tunnel etc
@pardhasaradhicherupally4107
@pardhasaradhicherupally4107 Жыл бұрын
For me, while running yaml file it gives an error for login line text as a syntax error. Invalid workflow file You have an error in your yaml syntax on line 24 login: ${{ secrets.SONARQUBE_TOKEN }} even I check for yaml validation also for that it's not giving error. While running in gitHub also we are getting error.
@Engr2Bhargava
@Engr2Bhargava Жыл бұрын
Amazing Anand! Thanks for sharing & Congratulations! Learned DevOps --k8S >> CKAD so fast be possible. All the main important moments clearly explained and shown in practice in just an hour - a really great work! Keep up with the great work! 👏👏👏👏🙏
@Engr2Bhargava
@Engr2Bhargava Жыл бұрын
Good Explanation Anand - Keep it up.
@lakshmicheran6341
@lakshmicheran6341 Жыл бұрын
i need to pull how to do
@crudsinfotechng8127
@crudsinfotechng8127 Жыл бұрын
The syntax for docker pull is - docker pull <IP-ADDRESS-OR-FQDN-OF-SERVER>:<PORT>/<IMAGE-NAME>:<TAG> Hope this helps.
@imranshamskhan5242
@imranshamskhan5242 Жыл бұрын
For example if the GitHub report has ruby/angular code , than what would be the process ?
@crudsinfotechng8127
@crudsinfotechng8127 Жыл бұрын
You would need to check if there is any supported GitHub Actions for programming language of your need out here : github.com/marketplace?type=actions&query=sonar+
@TahaAlars
@TahaAlars Жыл бұрын
u r the best ever u saved me
@jiangguoqing930
@jiangguoqing930 Жыл бұрын
nice work! man!
@amarpradhan5307
@amarpradhan5307 Жыл бұрын
I stuck into Sonarqube Integration with Jenkins for python . I already took help from more than 25People no one have an intention to help me. If kindly you can tell me just one line that is what exact code I need to write in place of bat'mvn clean verify sonar:sonar' ....Bca I use a Linux machine Where I have to use sh instead of Bat but what exactly I have to use instead of Mvn clean sonar:sonar. Plz help. I will never forget you till my life end
@crudsinfotechng8127
@crudsinfotechng8127 Жыл бұрын
On Linux, you run shell script....you can check its syntax in the pipeline snippet generator and the code you need to use is just this -----> sh 'mvn clean verify sonar:sonar' Hope this helps.
@raulgil8207
@raulgil8207 Жыл бұрын
great video, i need to use a different por to connect on ssh, how i delare it in the jenkinsfile?
@crudsinfotechng8127
@crudsinfotechng8127 Жыл бұрын
You can check the documentation all the parameters of this Pipeline Steps Plugin out here : plugins.jenkins.io/ssh-steps/ remote.port attribute can be used to specify SSH port of your choice.
@Abumohrabi
@Abumohrabi Жыл бұрын
I have minikube running on docker desktop, windows platform, I see the same x509 cert issue. any idea how to troubleshoot?
@crudsinfotechng8127
@crudsinfotechng8127 Жыл бұрын
Not sure about the relevance of your minikube cert issue with this tutorial. However, you can try deleting your minikube instance(minikube delete and then following it up by deleting .kube and .minikube folder) and then rerun minikube by specifying the driver and K8s version. Hope that resolves your issue.
@Abumohrabi
@Abumohrabi Жыл бұрын
@@crudsinfotechng8127 pls check your email!
@tanekemgangdubois1504
@tanekemgangdubois1504 Жыл бұрын
hi , please I realize the same project but I got this at the end: 403 Access Denied
@nishanttyagi931
@nishanttyagi931 Жыл бұрын
Ultimate. Very well explained sir. Please make such videos with the latest versions. May I request you to create a video which covers the end to end pipeline which is more more or less same how people setup in real production environment.
@rifairizqi3
@rifairizqi3 Жыл бұрын
thanks sir, resolve :)
@tubuobaggio
@tubuobaggio Жыл бұрын
in which of the servers did you install docker please
@crudsinfotechng8127
@crudsinfotechng8127 Жыл бұрын
There is only one Windows Server that is used in this Demo, both Jenkins & Docker have been installed on this system. Hope this helps.
@crudsinfotechng8127
@crudsinfotechng8127 Жыл бұрын
Note: A correction in the video - roughly at 9minutes, while launching the fb container: >docker run -itd --name fb -p <outside-world>:<container-port> ubuntu bash The container-port SHOULD be 8080 (since the source code is programmed that way), while the outside-world port can be any available port on the docker machine. Apologies for this oversight.
@emilchalcedony1789
@emilchalcedony1789 2 жыл бұрын
Can you show how to get the triggered issue into post build.. not hardcoding way