Hey guys, One of the more awaited video is here, that covers extremely important tools and it's configuration. Check the description for the topics covered. Switch to 1.5x for better experience !!
@@MrDevOps First of all I want to say a big thank you for this entire course... It was mind blowing for me as a junior devops engineer... I was able to follow along until you applied terraform.. Unto your terraform course now... Thank you so much and by the way the terraform file on your repo is different from that which you use in the video sir?
Very well explained!!! @Mr. Devops really a wonderful video ever seen. I am appreciating your efforts. I wish you to do best always like this. Thank you very much!!! Expecting more videos like this from your channel.
Thanks for the efforts Vikash. Haven't seen this much detailed project on YT. Please keep up the good work and make some more real-world DevOps projects if possible.
Thanks a lot brother for this amezing video/project. I seeing that unfortunetly in this video the sound quality is low and during the video at some point sound getting stoped. We're hopping that it will be solve from your next videos. Thaks a lot brother.
Make a series on Azure cloud to create a simple application using all azure services like storage load balancer scale sets dns etc if possible once again thank you very much sir
ok i finally finished the video. really useful video and thank you for sharing all this knowledge. the ending is kind of abruptly stopped. you didnt show how to test the application, where is the url link? also the application fails to start, theres a crashBackOffLoop in kubernetes, you also had it but chose to ignore it and end the video instead. how to fix this and why does this happen?
Guys The project provided here is great but a few tips from the troubles i faced. I will update these as I go. 1. if you are facing any issue like "Unable to make field private" downgrade your java to openjdk11 2. Create a ec2 instance with bit more cpu and memory. t2.medium will not be sufficient. I changed instance type to t3.xlarge but this will cost money (maybe create a a new aws account)
Thank you @Mr. Devops really a wonderful video ever seen. I have a problem with maven. This is the error in the output console: C:\ProgramData\Jenkins\.jenkins\workspace\tenji-devops>mvn test mvn' is not recognized as an internal or external command or external command, an ex'cutable program or a command file. Please can you help me ? I'm using jenkins on windows
Not able to run the last "kubectl apply-f ." command kubectl command works fine in command line but when I run it inside pipeline it says kubectl command not found
thanks for this video, appreciate the effort you put into it. but i have a question, do we need aws credentials(access keys) to push our container to ecr?
yes, i think he skipped showing how to set this part up. SSH into your EC2 instance, run: sudo -i sudo apt install awscli sudo -su jenkins aws configure then paste the AWS access key, secret key, region and format as json. find your aws access key by typing in your local machine: cat ~/.aws/credentials you get these aws credentials on your local machine by creating an IAM user with full admin access. this is the only way my pipeline finally pushed to ECR. i dont know if this is the best way to do it since he didnt show it.
hello all, actually I configure all setup of sonarqube and docker Jenkins but when I started docker it automatically down after few sec …Please help me out
Hello, I'm encountering an issue after deploying the image to EKS. When I run 'kubectl get all', it shows that all pods are not ready, and their status is pending. Additionally, the instances in the Load Balancer are out of service, even after waiting for some time. Could you please provide some guidance on this issue? Thank you.
Amazing video and explanation. One doubt, since we will be building the code again and again while we do enhancement, so the eks part will recreate cluster and nodes everytime we do a build??
bro make a video on SonarQube setup and configuration from a developer perspective how it is used in real time and as a devops admin how he will configure sonar server for enterprise level. in two interviews I faced these questions.
Hi @MrDevOps time:-28:49 you have done your unit test in just 23 sec but mine is taking so much time and got hang as well can you please suggest on this.
@@MrDevOps t2. Medium only but i stopped it and again ran it worked fine.. But now got stuck at static code analysis. Need to do the same again I think
Please conduct one session, about one pipeline can be used for dev, testing, staging, prod, as most of the pipeline realted videos are realted focussed on development
Hey there facing some trouble while doing the "mvn test". The jenkins build gets failed at there; it halts at scanning for the project and gets halted there. Please help me out in this ? Is it something related to POM File ? Do we need to make any changes in POM ? @MrDevOps
How are you using the aws command without installing the aws cli? Do you not need to configure aws with your secret key and access key? In order to get it working I had to create a new IAM user and make a custom policy. After that I had to conifgure aws with my keys and then I was able to run these commands. Am i missing something or did I accidently skip a part of the video?
i have A DOUT I WILL GIVE THE ERROR LOG AS BELOW I CREATED THE 3 SERVERS AS JENKINS,NEXUS,SONARCUBE A CODE IN MY GIT REPOSITORY MY AIM IN THIS TO DO CONTINIOUS INTEGRATION IN BY USING THE ABOVE TOOLS AND AFTER I CREATED THE 3 SERVERS AND CREATED 3 REPOSITORY IN THE NEXUS SERVER AND TRIED TO INTEGRATE . SO FIRST I CREATED THE REPOSITORY IN NEXUS AND TRY TO BUILD THE CODE IN JENKINS I CANT DO THAT AM ATTACHING THE ERROR LOG ALSO PLZ GIVE A HINT ON THAT
Hi Vikash, one of the interviewer asked me that I am having deployment of miceroservices and it's having 10 pods running now want to check the logs of 10pods so what is the command?
Hi bro, I am getting the below error when I am creating EKS cluster using terraform : a secret was passed to "sh" using groovy string interpolation, which is insecure. affected argument(s) used the following variable(s): [secret_key, access_key] Can you please help me with where I was doing wrong or what should I do to resolve this ?
@@balajinaidu2851 hi bro, actually it's a warning so it won't effect the stage. If the stage didn't succeed then check for the error ignore the warning
One question: How much cloud knowledge is required to be a Devops Engineer?AWS certified cloud practitioner is enough or I have to do the solution architect also?
Mr.Devops I am Getting facing error for perform mvn Test function how can I fix: It seems that you are facing an error while executing the Maven Compiler Plugin version 3.8.1. This plugin is used to compile Java source code and generate class files
@@MrDevOps Please help us with this error: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project kubernetes-configmap-reload: Fatal error compiling: java.lang.ExceptionInInitializerError: Unable to make field private com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors com.sun.tools.javac.processing.JavacProcessingEnvironment.discoveredProcs accessible: module jdk.compiler does not "opens com.sun.tools.javac.processing" to unnamed module @fb2e3fd -> [Help 1]
E: Package 'jenkins' has no installation candidate this is an error message for jenkins installation please give me an soloution i have been tried various types of methods it was not working in ubuntu
@@MrDevOps there was update on ubuntu gpg key they are updating so the version of the jenkins file in ubuntu so that the jenkins is not currently working
@@MrDevOpsI followed your class bro .thank you bro.and do some real-time based interviews questions it use for interviews. And everyone search in TH-cam interviews questions.
Hello , I loved your way of teaching , I am trying pipeline step by step as mention in the video. I am getting error " Failed to execute goal [32morg.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile[m [1m(default-compile)[m on project [36mkubernetes-configmap-reload[m: [1;31mFatal error compiling[m: java.lang.ExceptionInInitializerError: Unable to make field private "
i got this error what is the reason? Failed to execute goal [32morg.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile[m [1m(default-compile)[m on project [36mkubernetes-configmap-reload[m: [1;31mFatal error compiling[m: java.lang.ExceptionInInitializerError: Unable to make field private
please help at unit test maven getting this error [[1;31mERROR[m] Failed to execute goal [32morg.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile[m [1m(default-compile)[m on project [36mkubernetes-configmap-reload[m: [1;31mFatal error compiling[m: error: invalid target release: 17.0 -> [1m[Help 1][m waiting for reply eagrly........
Mr.Devops I am Getting facing an error for perform mvn Test function how can I fix it: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project kubernetes-configmap-reload: Fatal error compiling: java.lang.ExceptionInInitializerError: Unable to make field private com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors com.sun.tools.javac.processing.JavacProcessingEnvironment.discoveredProcs accessible: module jdk.compiler does not "opens com.sun.tools.javac.processing" to unnamed module @fb2e3fd -> [Help 1]
shell script to get output of the trivy result , with help of chatgpt i got this , give read permissions #!/bin/bash # Set the absolute path to scan.txt scan_file="/var/lib/jenkins/workspace/Project_3/scan.txt" # Check if scan.txt exists if [ ! -f "$scan_file" ]; then echo "Error: $scan_file not found." exit 1 fi # Variables to store the image name and vulnerability counts image_name="" vulnerability_info="" # Read scan.txt and process the results while IFS= read -r line; do # Check if the line contains "Target:" if [[ "$line" == "Target:"* ]]; then image_name=$(echo "$line" | cut -d ':' -f2- | tr -d '[:space:]') fi # Check if the line contains vulnerability counts if [[ "$line" == "Total:"* ]]; then vulnerability_info="$line" break fi done < "$scan_file" # Display the output echo "$image_name" echo "=====================================" echo "Total: $vulnerability_info"
i tried push docker image to docker using above video but my jenkins CICD got failed see BELOW ERROR Scripts not permitted to use method groovy.lang.GroovyObject invokeMethod java.lang.String java.lang.Object (org.jenkinsci.plugins.workflow.cps.CpsClosure2 dockerImagePush org.codehaus.groovy.runtime.GStringImpl org.codehaus.groovy.runtime.GStringImpl org.codehaus.groovy.runtime.GStringImpl). Administrators can decide whether to approve or reject this signature.
Hi, I tried your video steps but I'm getting error in maven built stage , pipeline says there is no pom.xml file (but there is pom file in my repo)..stuck in this step for 2days now some help from anyone would be great
Hey guys,
One of the more awaited video is here, that covers extremely important tools and it's configuration.
Check the description for the topics covered.
Switch to 1.5x for better experience !!
Thank you for sharing your knowledge and experience 🙂.
Glad you found it helpful 🙂
@@MrDevOps First of all I want to say a big thank you for this entire course... It was mind blowing for me as a junior devops engineer... I was able to follow along until you applied terraform.. Unto your terraform course now... Thank you so much and by the way the terraform file on your repo is different from that which you use in the video sir?
plz suggest !!
Is this project is sufficient for 3+ year exp candidates in interview ?
@@dhirajprasad1685 4.5+
Mr.Devops May god bless you with good health and wealth. I just now completed the watching vedio its really ultimate
Glad you found it helpful, thanks for taking time to appreciate ☺️
Thank you Mr DevOps. This is mega project, not for begineer's, i highly recommand before watching this video, learn basics for begineers.
Glad you liked it !!
Very well explained!!! @Mr. Devops really a wonderful video ever seen. I am appreciating your efforts. I wish you to do best always like this. Thank you very much!!! Expecting more videos like this from your channel.
Thank you,
Your this comment made my day ☺️ !!
Hope you have enjoyed rest 70 devOps project on this channel, many more surprises yet to come.
Thanks for the efforts Vikash. Haven't seen this much detailed project on YT. Please keep up the good work and make some more real-world DevOps projects if possible.
Glad you liked it !! Keep it up
You rocks bro... Devops ppl will definitely get benefits from this.. great..
Obviously it’ll 🙂
Thanks for the amazing end to end explanation.
You're very welcome!
Thanks man appreciate all your effort Mr Devops
Overwhelmed by your words ☺️
Thank you so much for this amazing content.... ❤️. We are waiting ❤️❤️
Keep learning keep Rocking ☺️
Thanks for the great job. Keep on and stay blessed
Hey thanks for taking time to appreciate, keep learning keep rocking !! 😊
Excellent video. I would mention, if you can minimize your facecam window. it will be way much easier to follow along.
Thanks a lot brother for this amezing video/project. I seeing that unfortunetly in this video the sound quality is low and during the video at some point sound getting stoped. We're hopping that it will be solve from your next videos. Thaks a lot brother.
Always waiting for your videos
Make a series on Azure cloud to create a simple application using all azure services like storage load balancer scale sets dns etc if possible once again thank you very much sir
Hey glad to hear !! ☺️
Noted !!
Thank you so much for sharing, even coaching centre also not provide this much of content.
Glad you found it helpful, explore remaining 70+ projects too..
ok i finally finished the video. really useful video and thank you for sharing all this knowledge. the ending is kind of abruptly stopped. you didnt show how to test the application, where is the url link? also the application fails to start, theres a crashBackOffLoop in kubernetes, you also had it but chose to ignore it and end the video instead. how to fix this and why does this happen?
Absolutely thrilled me❤
Glad you liked it !!
Indeed wonderful content, keep growing and helping people achieve their dream jobs🎉
Glad you found it helpful, kindly share and tag us on LinkedIn it’ll help us to do more ☺️
Thank you so much, God bless you
First of all thank you so much for your time for this video. Bro can you make one video with gcp complete end to end devops implementation
Hi Vikash , Thanks for the detailed CI/CD project . Could you please bring end to end Groovy DSL tutorial
Glad you liked my tutorial, sure will be rolling out soon.
Thank you so much,Sir
Guys The project provided here is great but a few tips from the troubles i faced. I will update these as I go.
1. if you are facing any issue like "Unable to make field private" downgrade your java to openjdk11
2. Create a ec2 instance with bit more cpu and memory. t2.medium will not be sufficient. I changed instance type to t3.xlarge but this will cost money (maybe create a a new aws account)
great bro, thanks for the inputs....i too faced the same issue... its resolved now., following your inputs..many thanks broo
sir can u provide me with commands to downgrade , i had some prblms with that,thanks
@@jnayehsirine6222 sudo apt-get update
sudo apt-get install openjdk-11-jdk
sudo update-alternatives --config javac
# Select version 11 as default
sudo update-alternatives --config java
#Check Current version of java
java --version
nice broda, it is working. thanks for your suggestion
yes, downgrading technology to 15 year old versions is the solution LMAO
just amazing bro😍
Glad you found it helpful ☺️
Can you do a video on elk monitoring in kubernetes
Great explanation thanks bro
Glad you liked it 😊
Thank you @Mr. Devops really a wonderful video ever seen. I have a problem with maven. This is the error in the output console:
C:\ProgramData\Jenkins\.jenkins\workspace\tenji-devops>mvn test
mvn' is not recognized as an internal or external command
or external command, an ex'cutable program or a command file.
Please can you help me ? I'm using jenkins on windows
Impressive !!
@MrDevOps, why is no one making projects like this in Azure? Most of the devop projects I see are all in AWS.
Not able to run the last "kubectl apply-f ." command kubectl command works fine in command line but when I run it inside pipeline it says kubectl command not found
very loud and clear sound
maja aa gya vikas bhai
11:37 Sonarqube is up ,but while im trying to open sonarqube through the browser it says cant reach this page.. jenkins is fine..any help!!
Did you exposed the port in SG ?
thanks for this video, appreciate the effort you put into it. but i have a question, do we need aws credentials(access keys) to push our container to ecr?
yes, i think he skipped showing how to set this part up. SSH into your EC2 instance, run:
sudo -i
sudo apt install awscli
sudo -su jenkins
aws configure
then paste the AWS access key, secret key, region and format as json.
find your aws access key by typing in your local machine:
cat ~/.aws/credentials
you get these aws credentials on your local machine by creating an IAM user with full admin access.
this is the only way my pipeline finally pushed to ECR. i dont know if this is the best way to do it since he didnt show it.
very interesting 🎉
Glad you think so!
Thanks for this amazing video.
Can you seprate sections in your video so we can move to sections easily?
Because you are covering too many topics.
Excellent 🎉
hello all, actually I configure all setup of sonarqube and docker Jenkins but when I started docker it automatically down after few sec …Please help me out
great content Mr devops , but why sonarqube shows Unable to make field private error, how to fix it please
Share the error !!
Brother please help me to understand multistage docker file creation
let me know if u have video for this too
Hello,
I'm encountering an issue after deploying the image to EKS. When I run 'kubectl get all', it shows that all pods are not ready, and their status is pending. Additionally, the instances in the Load Balancer are out of service, even after waiting for some time.
Could you please provide some guidance on this issue?
Thank you.
Simply Superb! I have completed, But I can't access the site. Any help would be appreciated.
Amazing video and explanation.
One doubt, since we will be building the code again and again while we do enhancement, so the eks part will recreate cluster and nodes everytime we do a build??
Great question, but FYI terraform maintains the state files which keeps the record of created resources u can say, so it won’t re create 🙂
Amazing and also improve mic quality, reduce noice,
Yeah my apologies for that bhai, i missed mic plugin. Thanks for the feedback 😊
bro make a video on SonarQube setup and configuration from a developer perspective how it is used in real time and as a devops admin how he will configure sonar server for enterprise level. in two interviews I faced these questions.
Noted, thanks 😊
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? Anyone know the solution of it
yae to bda project hai thanks
Keep learning keep rocking !! 🙂
very goos project, thanks a lot for your efforts , but Java and Jenkins is not compatible having lot of problems, please suggest
Glad you found it helpful!! Please drop your issue will try to help you
ERROR: AWS_SECRET_KEY_ID I am getting these error can anyone suggest me how to rectify it
Hi @MrDevOps time:-28:49 you have done your unit test in just 23 sec but mine is taking so much time and got hang as well can you please suggest on this.
Whats the instance type you’re using ?
@@MrDevOps t2. Medium only but i stopped it and again ran it worked fine.. But now got stuck at static code analysis. Need to do the same again I think
@@anjalishreya9890 no no, you need to clear the workspace & clear the unnecessary files
Hi @MrDevops - i was about to start the tutorial , this project is of microservices architecture deployment? or Monolithic arch? please let me know
Please conduct one session, about one pipeline can be used for dev, testing, staging, prod, as most of the pipeline realted videos are realted focussed on development
Sure stay tuned !!
@@MrDevOps thank you
Hi how to get access to other videos
Why does my sonar container exit?
Can you explain and check the container
Hey there facing some trouble while doing the "mvn test". The jenkins build gets failed at there; it halts at scanning for the project and gets halted there. Please help me out in this ? Is it something related to POM File ? Do we need to make any changes in POM ? @MrDevOps
Check again the jenkins webhook in Sonarqube.. it’ll resolve
How are you using the aws command without installing the aws cli? Do you not need to configure aws with your secret key and access key? In order to get it working I had to create a new IAM user and make a custom policy. After that I had to conifgure aws with my keys and then I was able to run these commands. Am i missing something or did I accidently skip a part of the video?
Update i found how to do it, i had to make an IAM role to allow access
Bro why you should not take another Sonarqube server because container are not permanent and we do constantly check quality code
To do the quick analysis sonarqube have been ran as a container .
I am waiting bro
Check now
i have A DOUT I WILL GIVE THE ERROR LOG AS BELOW I CREATED THE 3 SERVERS AS JENKINS,NEXUS,SONARCUBE A CODE IN MY GIT REPOSITORY MY AIM IN THIS TO DO CONTINIOUS INTEGRATION IN BY USING THE ABOVE TOOLS AND AFTER I CREATED THE 3 SERVERS AND CREATED 3 REPOSITORY IN THE NEXUS SERVER AND TRIED TO INTEGRATE . SO FIRST I CREATED THE REPOSITORY IN NEXUS AND TRY TO BUILD THE CODE IN JENKINS I CANT DO THAT AM ATTACHING THE ERROR LOG ALSO PLZ GIVE A HINT ON THAT
Bro can you please do a vidoe full devops course 🙏 🙏
Bro ....
eks_module full folder not shared in your git hub repository ....pls share it
I’ll push the code. Do share the project on linked and support us 😊.
@@MrDevOps sure will share
Bhai sound kanha h , I just understand a bit with subtitles
Hi Vikash, one of the interviewer asked me that I am having deployment of miceroservices and it's having 10 pods running now want to check the logs of 10pods so what is the command?
kubectl logs pod1 pod2 pod3 ... pod10
Hi bro,
I am getting the below error when I am creating EKS cluster using terraform : a secret was passed to "sh" using groovy string interpolation, which is insecure. affected argument(s) used the following variable(s): [secret_key, access_key]
Can you please help me with where I was doing wrong or what should I do to resolve this ?
You’ve pasted thats just a warning!!
Ping the particular error
@@MrDevOps I got it bro. Thanks for the reply 😀😀. Finished with the project 🥳
@@ganasai9573hi bro
What was the solution for this?
@@balajinaidu2851 hi bro, actually it's a warning so it won't effect the stage. If the stage didn't succeed then check for the error ignore the warning
@@ganasai9573okay bro
One question: How much cloud knowledge is required to be a Devops Engineer?AWS certified cloud practitioner is enough or I have to do the solution architect also?
You can refer to upcoming day 06 video, which shows the aWS services mandatory for a DevOps engineer.
Mr.Devops I am Getting facing error for perform mvn Test function how can I fix: It seems that you are facing an error while executing the Maven Compiler Plugin version 3.8.1. This plugin is used to compile Java source code and generate class files
Whats the error ?
@@MrDevOps Please help us with this error:
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project kubernetes-configmap-reload: Fatal error compiling: java.lang.ExceptionInInitializerError: Unable to make field private com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors com.sun.tools.javac.processing.JavacProcessingEnvironment.discoveredProcs accessible: module jdk.compiler does not "opens com.sun.tools.javac.processing" to unnamed module @fb2e3fd -> [Help 1]
Facing same error @@SureshKumar-kh5ht
@@SureshKumar-kh5htI'm getting the same error now! How do u solve it bro??
@@MrDevOps help pls
E: Package 'jenkins' has no installation candidate
this is an error message for jenkins installation
please give me an soloution
i have been tried various types of methods it was not working
in ubuntu
First update the package manager. Then run the shellscript from my GitHub account.
Some issues with 20 version if you’re using, try 22.0
@@MrDevOps there was update on ubuntu gpg key they are updating so the version of the jenkins file in ubuntu so that the jenkins is not currently working
Hey tarun, thanks for the knowledge sharing. Hope it’ll help others.
It happened due to the latest update.
I am facing the same issue. Did you resolved it ?
@@bhoomikachaudhary9152 there is an update of GPG key changing by ubuntu so they realisng the key on April 5th Until then we will face the issue
(Just for my understanding) Start from 48:00 when coming back to the video!
Hi this project can we implement in GCP and all the tools discussed in video
Obviously you can.
tq for response, one small doubt as a devops engineer we need to work on all these tools Or some tools
Hi bro,
While running the pipeline, Jenkins and the server were hanging. Should I change anything like instance type or something?
Whats the current type of instance ? Change to t2 medium or clear unnecessary caches
@@MrDevOps I am using t2.medium only bro but again the Jenkins is hanging. Should I change from t2 medium to some other instance type
Here shared library means pom.xml or not ? I have little confusion.
Those .groovy files !!
@@MrDevOpsI followed your class bro .thank you bro.and do some real-time based interviews questions it use for interviews. And everyone search in TH-cam interviews questions.
@@thambiswamy9281 thanks for your constant support!!
you have installed everything in one server ?
Please try to implement and learn 😊.
Provide git hub links with out code not understand anybody
Try to check video description please 🙂
Hello , I loved your way of teaching , I am trying pipeline step by step as mention in the video. I am getting error " Failed to execute goal [32morg.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile[m [1m(default-compile)[m on project [36mkubernetes-configmap-reload[m: [1;31mFatal error compiling[m: java.lang.ExceptionInInitializerError: Unable to make field private "
Same here
can we keep in resume
Every project you found here are resumé ready 🙂
Is this video suitable for a beginner? I am learning devOps and I want to build this as my first project
If you’re familiar with basic services and object of k8’s. Then it’ll probably help you at peak.
Please try to post same vedio without your webcam
Not possible 🙂 !! Anyway I’m in introduction part only.
low sound
Hi @Mr DevOps
Honestly speaking you are too fast to understand the basics of CI/CD flow
i got this error what is the reason?
Failed to execute goal [32morg.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile[m [1m(default-compile)[m on project [36mkubernetes-configmap-reload[m: [1;31mFatal error compiling[m: java.lang.ExceptionInInitializerError: Unable to make field private
please help at unit test maven getting this error
[[1;31mERROR[m] Failed to execute goal [32morg.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile[m [1m(default-compile)[m on project [36mkubernetes-configmap-reload[m: [1;31mFatal error compiling[m: error: invalid target release: 17.0 -> [1m[Help 1][m
waiting for reply eagrly........
Mr.Devops I am Getting facing an error for perform mvn Test function how can I fix it:
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project kubernetes-configmap-reload: Fatal error compiling: java.lang.ExceptionInInitializerError: Unable to make field private com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors com.sun.tools.javac.processing.JavacProcessingEnvironment.discoveredProcs accessible: module jdk.compiler does not "opens com.sun.tools.javac.processing" to unnamed module @fb2e3fd -> [Help 1]
Bro I'm also facing same error. Did u find any solution for it?
Got fix for this?
any resolution got for this?
Great Explanation , Whats your contact details , I also sent you email
shell script to get output of the trivy result , with help of chatgpt i got this , give read permissions
#!/bin/bash
# Set the absolute path to scan.txt
scan_file="/var/lib/jenkins/workspace/Project_3/scan.txt"
# Check if scan.txt exists
if [ ! -f "$scan_file" ]; then
echo "Error: $scan_file not found."
exit 1
fi
# Variables to store the image name and vulnerability counts
image_name=""
vulnerability_info=""
# Read scan.txt and process the results
while IFS= read -r line; do
# Check if the line contains "Target:"
if [[ "$line" == "Target:"* ]]; then
image_name=$(echo "$line" | cut -d ':' -f2- | tr -d '[:space:]')
fi
# Check if the line contains vulnerability counts
if [[ "$line" == "Total:"* ]]; then
vulnerability_info="$line"
break
fi
done < "$scan_file"
# Display the output
echo "$image_name"
echo "====================================="
echo "Total: $vulnerability_info"
i tried push docker image to docker using above video but my jenkins CICD got failed see BELOW ERROR
Scripts not permitted to use method groovy.lang.GroovyObject invokeMethod java.lang.String java.lang.Object (org.jenkinsci.plugins.workflow.cps.CpsClosure2 dockerImagePush org.codehaus.groovy.runtime.GStringImpl org.codehaus.groovy.runtime.GStringImpl org.codehaus.groovy.runtime.GStringImpl). Administrators can decide whether to approve or reject this signature.
Hi, I tried your video steps but I'm getting error in maven built stage , pipeline says there is no pom.xml file (but there is pom file in my repo)..stuck in this step for 2days now some help from anyone would be great
I'm I have the same problem. I tried several things and it was solved, but later I got another error.