1:13 - How to use build tools in Jenkins 1:57 - Check if your build tool is already available? 4:07 - Install npm and yarn from plugins 7:09 - Use build tools (gradle and yarn) in Jenkinsfile 10:43 - Alternative to using build tools in Jenkinsfile
Hallo Nana !! Vielen Dank.. I'd been following your videos and I want to thank you for making technology and tools so easy to understand and learn. Danke Danke !! tschüss :-)
Hi Nana, great videos, I really appreciate them. When running the gradle command from the Jenkins file I get an error stating it cannot find gradle. I’m running Jenkins within a Docker container and gradle is installed as a plug-in. Any suggestions?
./gradlew -v logging the version 4.2.1 which you might using in your project. But at the jenkins you have specified it Gradle 6.2.0. I'm confused a bit here. Could you pls clear it to me?
Hi thanks for the use case suggestion. I'm gonna do an Ansible and Jenkins deployment demo videos and will include this case as well in one of these videos!
@TechWorld with Nana what will be the syntax for msbuild? I have configured the msbuild after installing the plugin in Global tool Configuration.However, the bat 'msbuild.exe prj.sln ' doesn't execute in jenkins file but in standalone project,build section works with same command and could fetch the msbuild.exe from dropdown. Do you know what I am missing here?
Thanks for this video. we are using Sonar Qube and Docker vulnerability scanner tools, For that we are unaware of adding that stages in our Jenkins file.Inputs would be much appreciated .
How are you executing these tools in your build? well, generally speaking, when you want to run a stage in Jenkins pipeline that depends on external tools: FIRST - you need to check any plugins you need to install in your Jenkins or if they are already available. For example, for sonar integration, you should install SonarQubeScanner plugin. SECOND - based on that plugin documentation you can check the exact syntax of how to use it in Jenkinsfile. Usually it's pretty simple. withSonarQubeEnv for example. And you do the same for any tool you want to use. Let me know if this helps
I have a question, if I want to run npm Iinstall, it must be under the folder which package. Json is. But if the backend and frondend in a repo. After git clone repo in jenkins., how to find the right folder to run npm in jenkins?
This video is actually helpful for node and it worked, but I am having troubles to install python that way. I read that I should just make a custom dockerfile image... but I cant believe that nobody ever requested to install it from docker-compose 🤔
Hi Matteo. I don't have the build config any more, but I guess it was just a mix up, since I had another build where I used Gradle v4.2 for another application.
@@TechWorldwithNana Hi Nana, I guess that's because you have gradlew and gradle/wrapper/{gradle-wrapper.jar,gradle-wrapper.properties} in your github project, so './gradlew -v' actually call the gradle in your project but not the gradle downloaded by Jenkins.
I am not sure why gradle code is not working ... double checke with your - its identical .. Any suggestion here .. below are the logs - + ./gradlew -v /var/jenkins_home/workspace/newpipelinebuild_main@tmp/durable-76906f8e/script.sh: 1: /var/jenkins_home/workspace/newpipelinebuild_main@tmp/durable-76906f8e/script.sh: ./gradlew: not found
1:13 - How to use build tools in Jenkins
1:57 - Check if your build tool is already available?
4:07 - Install npm and yarn from plugins
7:09 - Use build tools (gradle and yarn) in Jenkinsfile
10:43 - Alternative to using build tools in Jenkinsfile
Helpful content! Crisp & straight forward!
Looking forward for more!
thanks for the upload!
Thank you Chetan. 🙂
I will keep sayin that I love you as a teacher until I find a job, until then I will send you a gift to thank you from all my heart
Hallo Nana !!
Vielen Dank..
I'd been following your videos and I want to thank you for making technology and tools so easy to understand and learn.
Danke Danke !!
tschüss :-)
You're welcome Ajay. Thank you as well for the love and support. Take care and keep safe. 🙂
Great tutorial. Very light and clear. You're great, thank you, Nana !
Outstanding video.. been banging my head against the wall because I didnt know about the wrapper and apparently no one in google has either!!!
great tutorial!
topic very well explained , Thank you
Thanks, glad you like my explanation :)
thanks for sharing knowledge !!
You're welcome :) glad I can deliver my knowledge in an understandable way
Thanks for the video Nana, can you please post more videos on how to write declarative pipelines
Helped a lot ! Thank you !
Glad to hear Oscar, thank you :)
can you provide the demo application which you build in the video?thks.
Thanks for sharing
Thank you so much, this was a very helpful !
Thank you :)
Thank you and Subscribed !
God Bless.
Thanks nana very helpful.Could you please share the knowledge how to deploy
Glad to hear :) What do you mean exactly?
@@TechWorldwithNana
What I am asking is how to deploy the code in DevOps .. that entire process we want.could you please share that .
3:46 Can you explain how to use run Shell Command option from this dropdown?
Super please do one video writing groovy script in Jenkins pipeline
tried to follow the demo, but couldn't find the ImmoApp repo on gitlab, guess you got rid of it?
Hi This video is very helpful to us can you please help to how to create pipe line script for angular application
try sharing Jenkins file repo also.
Kindly if you can make a video on code coverage using CLOVER and Jenkins
Hi Nana, great videos, I really appreciate them. When running the gradle command from the Jenkins file I get an error stating it cannot find gradle. I’m running Jenkins within a Docker container and gradle is installed as a plug-in. Any suggestions?
Thanks nana very helpful. Can you please help with Maven installation and few of maven command. It would be great help.
Hi Nana, the video is quite simple and awesome , can i know how the batch commands used when am using windows as my slave agent.
./gradlew -v logging the version 4.2.1 which you might using in your project. But at the jenkins you have specified it Gradle 6.2.0.
I'm confused a bit here. Could you pls clear it to me?
Hi
Can you upload a video to use jenkins declarative pipeline to run ansible playbook on slave node and passing the .pem as credential
Hi thanks for the use case suggestion. I'm gonna do an Ansible and Jenkins deployment demo videos and will include this case as well in one of these videos!
@@TechWorldwithNana thank you so much nana
@TechWorld with Nana what will be the syntax for msbuild? I have configured the msbuild after installing the plugin in Global tool Configuration.However, the bat 'msbuild.exe prj.sln ' doesn't execute in jenkins file but in standalone project,build section works with same command and could fetch the msbuild.exe from dropdown. Do you know what I am missing here?
Thanks for this video. we are using Sonar Qube and Docker vulnerability scanner tools, For that we are unaware of adding that stages in our Jenkins file.Inputs would be much appreciated .
How are you executing these tools in your build?
well, generally speaking, when you want to run a stage in Jenkins pipeline that depends on external tools:
FIRST - you need to check any plugins you need to install in your Jenkins or if they are already available. For example, for sonar integration, you should install SonarQubeScanner plugin.
SECOND - based on that plugin documentation you can check the exact syntax of how to use it in Jenkinsfile. Usually it's pretty simple. withSonarQubeEnv for example.
And you do the same for any tool you want to use.
Let me know if this helps
I have a question, if I want to run npm Iinstall, it must be under the folder which package. Json is. But if the backend and frondend in a repo. After git clone repo in jenkins., how to find the right folder to run npm in jenkins?
Can you upload a dedicated video for maven continuous build and deploy?
Great tutorial. I'll try in my use case. I want to configure Jenkinsfile run docker build, but executing in Jenkins slave. Do you have some tips?
Hi, I use docker image jenkins/jenkins to run this tutorial, and wind up getting 'gradlew not found' in console log. Could you help me to fix this?
sams issue
How to install bash tools like jq for json parsing
This video is actually helpful for node and it worked, but I am having troubles to install python that way. I read that I should just make a custom dockerfile image... but I cant believe that nobody ever requested to install it from docker-compose 🤔
Hi mam how could I know the npm version to download for the code
Hey Nana excelent video , do you have the link to the gitlab code ? thank you very much.
I always get Starting a Gradle Daemon, 9 busy Daemons could not be reused, use --status for details
then my container stop
What build tool options are there for Python?
Hello, I did everything described in the video but i'm still getting "./gradlew -v : not found". Does anyone know why please ? :/
command should be [gradle -version] NOT [./gradlew -v ]
use this version as example. Gradle 8.2.1!
Hi Nana, thanks for the well explained video! I have just one question: why the Gradle version from the UI is 6.2 and 4.2 in the logs?
Hi Matteo. I don't have the build config any more, but I guess it was just a mix up, since I had another build where I used Gradle v4.2 for another application.
@@TechWorldwithNana
Hi Nana, I guess that's because you have gradlew and gradle/wrapper/{gradle-wrapper.jar,gradle-wrapper.properties} in your github project, so './gradlew -v' actually call the gradle in your project but not the gradle downloaded by Jenkins.
I am not sure why gradle code is not working ... double checke with your - its identical ..
Any suggestion here .. below are the logs -
+ ./gradlew -v
/var/jenkins_home/workspace/newpipelinebuild_main@tmp/durable-76906f8e/script.sh: 1: /var/jenkins_home/workspace/newpipelinebuild_main@tmp/durable-76906f8e/script.sh: ./gradlew: not found
having trouble with Docker as Global tool in Jenkins
How to check that is there error in code or not?
can make video gradle with multi mod pipeline
could you please add your scripts files or steps in the description or link to github repo with steps
I'm using terraform in tools
Thank you very much for this! Really helped me a lot!
Awesome Suminda! Wishing you all the best in your professional journey! Stay safe. 🙂