I started watching "Cory shaffer's python" tutorials when it had 406 views. Now, after 2 years, i became a python developer and Cory became a gem of KZfaq python community. I can see another upcoming teacher in you. Really good video quality, grate explanation. Suggestion : If you are appearing on screen try to be bit more pleasant. :)
@szymonstepniak4 жыл бұрын
Thank you so much, Ashwin, for an insightful comment! 👍 I do my best to apply small improvements to every new video, and I'm more than happy to get feedback from people I create those videos for - the audience. Let me know if you have any advice on what to improve or what kind of content you would appreciate most. I published this video 4 months ago, and since then, I created several more videos - please let me know if you see any improvements in the latest productions. 😉 Thanks in advance! I'm looking forward to hearing from you.
@leandafer9 ай бұрын
Simple and accertive! I'm starting with Jenkins and haven't found an explanation that helped me like this! Thanks a lot!
@szymonstepniak9 ай бұрын
Thank you! Take care, and have a good day!
@gajapathikrishni9544 жыл бұрын
Really well explained about the differences, my long lasting confusion got cleared now. It helps me a lot.Thanks to Szymon :)
@szymonstepniak4 жыл бұрын
I'm so glad to hear that. Thanks for letting me know! Good luck and have fun!
@TaianNB4 жыл бұрын
High quality video and content. Clear as water! Congrats
@szymonstepniak4 жыл бұрын
Thanks, Taian! I'm glad to hear you liked it :) Have a good day!
@bluebobx2 жыл бұрын
Well done Syzmon, clear and concise - and it's a subject where you absolutely, positively need to see worked examples. Really wish the Jenkins project would link to this video from their declarative/scripted pipeline part in the online docs. And yeah, you sold me on declarative! ;)
@bluebobx2 жыл бұрын
Sorry, don't know why autocorrect mangled your name Szymon!
@szymonstepniak2 жыл бұрын
Thank you so much for your kind words, Robert 🙏 I hope I will manage to do some new content around Jenkins in the near future to help the community build rock-solid CI/CD workflows. Wish me good luck :) Take care, and have a good day!
@edipocdf2 жыл бұрын
Best explanation so far, I already know a little thing about declarative and why was better but your video have much better points.
@szymonstepniak2 жыл бұрын
Thank you for your kind words! Take care, and have a good day!
Well, tbh I was hoping nothing after some time looking how to introduce myself into this Jenkinsfile world, but I found everything I didn't know I was looking for, this is one of my favorite sources to learn from… thank you very much @Szymon.
@szymonstepniak Жыл бұрын
Thank you so much for your kind words, Christopher! I'm happy to hear you have found this content useful. Take care, and have a good day!
@shantalks0074 жыл бұрын
Mate! u r videos are the most interesting and useful tutorials which I've ever watched from very start to very end without skipping even a second. with that background music, it's like biking explaining Jenkins to his clan :) awesome !!! very useful!!! Keep it up mate, u r explaining methods are superb
@szymonstepniak4 жыл бұрын
Wow, thank you so much for the kind words, Shan! 😊 I do my best, and more Jenkins related videos coming very soon! Have a good day!
@SumitKarmakar3 жыл бұрын
Like the way you started. It's casual but elegant.
@szymonstepniak3 жыл бұрын
Thanks, Sumit! Take care, and have a good day!
@spaceman35183 жыл бұрын
That was life changing! Thank you! Ps. świetnie mówisz po angielsku :)
@szymonstepniak3 жыл бұрын
Dzięki wielkie za tak ciepłe słowa :) Mam nadzieję, że znajdziesz więcej wartościowych treści w pozostałych materiałach video. Udanego tygodnia!
@AlexFromDnepr2 жыл бұрын
Thank you sir. Very descriptive and useful!
@szymonstepniak2 жыл бұрын
Thanks for your kind words! Take care, and have a good day!
@erickmanuelbazansalinas2406 Жыл бұрын
Just the video I was looking for, really well explained!! Thanks a lot!!
@szymonstepniak Жыл бұрын
Glad you liked it!
@vijaykumary54273 жыл бұрын
Nice explanation... I was searching for this.
@szymonstepniak3 жыл бұрын
Glad to hear that :)
@samcolin263 жыл бұрын
Nicely done, A start with .. "Hello Stranger ... " caught my attention and background music added to user experience. Concept was nicely explained, with good, short & concise examples. All these made me subscribe to your channel. Good Job (Y)
@szymonstepniak3 жыл бұрын
Thank you for your kind words! You are not a stranger anymore - welcome aboard! :D Have a good day!
@krishna4444 жыл бұрын
If you know Groovy language, then declarative pipeline makes it powerful to implement complex tasks.
@lakshmipasala9091 Жыл бұрын
The way you explained is simply superb
@szymonstepniak Жыл бұрын
Thank you so much for your kind words! 🙂 Take care, and have a good day!
@MultiShotgun12 жыл бұрын
Love the intro string instruments music!
@szymonstepniak2 жыл бұрын
Thank you! Take care, and have a good day!
@akashdhorajiya3 жыл бұрын
I am new to Jenkin but after watching your videos it looks very easy. Thanks Szymon. Channel subscribed. :)
@szymonstepniak3 жыл бұрын
Welcome aboard, Akash! Take care and have a good day!
@maheshd96463 жыл бұрын
nicely explained, it cleared all my doubt. thanks
@szymonstepniak3 жыл бұрын
Thank you so much for your kind words, Mahesh! Take care, and have a good day!
@testexample27294 жыл бұрын
Very informative your videos. Thanks a lot. Keep it up.
@szymonstepniak4 жыл бұрын
Thanks! I'm happy to hear you liked it!
@equbqlalam62302 жыл бұрын
well done syzmon! Great absolutely informative and more learning experience .keep it up bro @Great help
@szymonstepniak2 жыл бұрын
Thank you for your kind words! Take care, and have a good day!
@lnwcracker Жыл бұрын
Thank you for your teaching, Good job !!!
@szymonstepniak Жыл бұрын
Thank you for your kind words! Take care, and have a good day!
@shivpatil13152 жыл бұрын
Very well explained, Couldn't be any better!! I really appreciate you efforts
@szymonstepniak2 жыл бұрын
Thank you for your kind words, Shiv! Take care, and have a good day!
@nwash00801102 жыл бұрын
This was so helpful, thank you so much!
@szymonstepniak2 жыл бұрын
Glad it was helpful! Take care, and have a good day!
@IgnatikVodichka2 жыл бұрын
This is a really great explanation.
@szymonstepniak2 жыл бұрын
Thanks for your kind words, Ignat! Take care, and have a good day!
@sureshchandrarhca4 жыл бұрын
Very well explained and demonstrated
@szymonstepniak4 жыл бұрын
Thanks, Suresh! I'm happy to hear you liked it 👍
@mohanakrishna37963 жыл бұрын
Clear and Crispy - This is really cool! Thanks for such a great content.
@szymonstepniak3 жыл бұрын
Thanks for your kind words! I'm happy to hear you enjoyed it. Have a good day!
@venkatramesh14644 жыл бұрын
your way of explanation is awsome bro
@szymonstepniak4 жыл бұрын
Thank you so much, Venkat! 😀
@anirbansen94634 жыл бұрын
Thanks for the video...It definitely help me to get rid from misconceptions that bothering me for last few months which type to use & when ...🙏🏻
@szymonstepniak4 жыл бұрын
Hi Anirban, I love to hear that, thanks! Btw, is there anything else in the Jenkins Pipeline world that still bothers you and you would like to learn more about? I will be grateful if you could share your thoughts on that. Thanks in advance, have a good day!
@anirbansen94634 жыл бұрын
@@szymonstepniak 1. Related to plugins when,why & how to use or how much necessary. 2. Dependable pipeline with example using tools like packer & terraform or related to similar operation. Thanks for the reply... maybe I asked too much ; I found video on this topics in this platform but presentation not that much good...so I'm requesting you
@szymonstepniak4 жыл бұрын
@Anirban Sen Thanks a lot for the suggestions, Anirban! 👍 Regarding Jenkins plugins, I was thinking about recording a video with the most useful (in my opinion) plugins worth considering. It's clear that depending on the use case, people will search for different plugins, but there is a subset of generic plugins that everyone can benefit from. Regarding terraform - what specifically have you in mind? There are so many different things terraform can be used for, so I thought I will ask a follow-up question to check if we are on the same page. Thanks in advance, have a good day!
@anirbansen94634 жыл бұрын
@@szymonstepniak Thanks a lot for considering my suggestion...Incase of Terraform I'm thinking about dynamic cloud infrastructure development perspective...or something like that using some other tools not focused on infra also well enough.
@chintalapativenkataramarahul3 жыл бұрын
Mindblowing stuff!! Thank you
@szymonstepniak2 жыл бұрын
Thank you!
@SagarAjmire13 жыл бұрын
Hi @Szymon, Great video, because you shown the differences by doing actual hands-on. You practice what you preach, well at least in coding :-). Sorry if it's not funny. "Any idea when Jenkins introduced the Declarative pipeline?"
@szymonstepniak3 жыл бұрын
Thanks for your kind words, Sagar! Regarding your question, here is the release page (with all dates you might be interested in) of the "Pipeline: Declarative" plugin that adds the pipeline feature to Jenkins 2.x - plugins.jenkins.io/pipeline-model-definition/#releases Take care, and have a good day!
@willnave98773 жыл бұрын
Great succinct explanation and demonstration.
@szymonstepniak3 жыл бұрын
Thank you so much your kind words, Will! Take care, and have a good day!
@DevOpsHawk3 жыл бұрын
That's explained precisely, thanks a lot for sharing Szymon. I got stuck in a use case while creating Jenkins pipeline for build upgrade on multiple remote machines over ssh, I'm hoping that you'd help me on this to solve, please let me know the convenient way to reach out to you. Thank you in advance.
@szymonstepniak3 жыл бұрын
Thanks for the kind words, Mohammad. Elaborate in the comment about your specific issue. I will see if there is anything I can help you with. Have a good day!
@Sri-mx7zj4 жыл бұрын
awesome..thank you so much for this video..can u pls make video on Jenkins shared libraries
@szymonstepniak4 жыл бұрын
Hi there! Thanks for the comment 👍 Yes, you can expect Jenkins Shared Libraries related content in the upcoming weeks. Is there anything specific you would like to see in such a video? Thanks in advance!
@Sri-mx7zj4 жыл бұрын
@@szymonstepniak I am looking for usage of share lib in multiple job.If required to override/add any additional step for specific job how can we achieve
@szymonstepniak4 жыл бұрын
Thanks for the detailed answer! It will be covered in the upcoming video. I have 2-3 other in the backlog to create, but then I'm working on the pipeline's video(s). Thanks again and have a good day! 👍
@mohammedshahbaazshareef55494 жыл бұрын
Awesome explanation
@szymonstepniak4 жыл бұрын
Hi Mohammed! I'm glad to hear you liked it :) Have a good day!
@gopikalapaneni3 жыл бұрын
Awesome explanation..thanks alot
@szymonstepniak3 жыл бұрын
Thanks for your kind words, Gopi! Have a good day!
@vamsikrishnads11592 жыл бұрын
To the point.... kudos for your effort...
@szymonstepniak2 жыл бұрын
Thanks for your kind words! Take care, and have a good day!
@techcode_man2 жыл бұрын
Excellent. Thank you.
@szymonstepniak2 жыл бұрын
Thanks for your kind words, Shanmuga! Take care, and have a good day!
@karthikks74452 жыл бұрын
your videos are really awesome...the way you present the content is too good... I am looking for tutorial on "Jenkins Scripted Pipeline with Groovy Script" for beginners but I could not find anything on youtube. It would be great, if you publish a series on Jenkins Scripted Pipeline (using Groovy) for beginners. Thanks in advance !
@szymonstepniak2 жыл бұрын
Thanks for your kind words! I can't promise anything - I haven't used Jenkins for more than a year, and I don't know if I will have enough time to re-invest into producing Jenkins-related content. We will see what the future brings :) Take care, and have a good day!
@irynadiudiuk45354 жыл бұрын
Really cool video! Very informative, thank you! I will share it.
@szymonstepniak4 жыл бұрын
Thank you, Iryna! I'm very happy to hear you found it useful! 👍
@katotoy67553 жыл бұрын
Excellent explanation..
@szymonstepniak3 жыл бұрын
Thank you very much for your kind words! Have a good day!
@mariantudor56912 жыл бұрын
Hello! Thank you for the well explained video! Please let me know what GUI did you used in the presentation during jobs running (the webGUI with the green color were you can visualize the executions of the stages...). Thank you!
@szymonstepniak2 жыл бұрын
Thanks for your kind words, Marian! The GUI you can see in the video is provided by the Blue Ocean UI plugin. You can install it from the Jenkins Plugin Manager. Good luck, and have a good day!
@mariantudor56912 жыл бұрын
@@szymonstepniak Thank you again for all the precious info that you share...
@narekhambardzumyan96652 жыл бұрын
Szymon, I have been looking for you for more than a year)) you just made my life soo easy..!! Thanks a lot. What you advice to read to start gaining the knowledge that you have? or this is experience based?
@szymonstepniak2 жыл бұрын
Thanks for your kind words, Narek! 👍 Most (if not all) of my Jenkins related knowledge was gained through the real-life experience when I was working at Upwork. I knew the basics of Jenkins, I knew Groovy very well, and I know the CI/CD principles. The rest was just trial-and-error while building the DevOps tools and processes for the engineers. So my advice would to do as many real-life problem solutions as possible, and while doing it, read and learn more about the technology that is related to what you are doing. There is no shortcut imho, and the more troubles you face, and the more of them you will be able to solve, the better expert in the field you become. Good luck, the journey begins!
@narekhambardzumyan96652 жыл бұрын
@@szymonstepniak Thanks a lot!
@ZeeshanAli-vp8lh3 жыл бұрын
Best tutorial.. thanks man
@szymonstepniak3 жыл бұрын
Thanks for your kind words! Have a good day!
@way2science7673 жыл бұрын
Clear and nice, thanks for sharing!
@szymonstepniak3 жыл бұрын
My pleasure!
@rainerhaseneder24804 жыл бұрын
Thank you for this excellent video. I hope you will publish more. May I ask some questions, please ? 1) I had always thought one has to follow Scripted Pipeline syntax in the Jenkins GUI and use Declarative Pipeline syntax in the Jenkins file. Having watched this video I understand one can use either one at probably both places. Right ? 2) Is it so that Blue Ocean can actually only properly parse Declarative Pipeline syntax in order to propose re-launching a pipeline run at an intermediate step. Is this a correct understanding ? 3) You say that Declarative Pipeline syntax is opinionated. In which way ? I do not understand this. Can you explain, please ? 4) Do you see any reason why one should opt for Scripted Pipeline at all when beginning setting up a pipeline ? 5) "Scripted Pipeline" is actually only an evolution of Pipeline description from UI to code. I just wonder why the next step is called "Declarative Pipeline". What make this new concept "declarative" ?
@szymonstepniak4 жыл бұрын
Rainer, thank you so much for the very interesting comment! I haven't noticed that KZfaq marked it as potential spam, so I had to accept it in the KZfaq Studio panel. Lesson learned. I thought that you have removed it, but I still had it in my e-mail notification message. Anyway, I have recorded a video that answers questions you have asked. You can check it out here - kzfaq.info/get/bejne/esyokrmL2rCUgKc.html Thanks once again, and sorry for keeping your comment in moderation so long. I need to pay more attention to what KZfaq marks as a potential spam.
@rainerhaseneder24804 жыл бұрын
@@szymonstepniak Hi Szymon, I am sorry for the late reply, I was off in the mountains. I will check asap.
@szymonstepniak4 жыл бұрын
@@rainerhaseneder2480 No need to rush :) Please let me know if the video answered your questions accurately. Take care!
@grofoli3 жыл бұрын
Really nice content in this video and in the channel! Thank you very much!
@szymonstepniak3 жыл бұрын
Glad you enjoy it!
@prasannanayak90263 жыл бұрын
Nicely explained bro. I have searched for this for a long time. Thanks for your effort. Please make pipeline with real time scenarios with python scripting.
@szymonstepniak3 жыл бұрын
Thank you for your kind words! I added your suggestion to my backlog. Have a good day!
@stith_pragya2 жыл бұрын
Excellent explaination sir......plz let me know what plugin u hv ysed for this type of ui of jenkins
@szymonstepniak2 жыл бұрын
Thanks for your kind words! This is Blue Ocean UI plugin. Take care, and have a good day!
@pradeekmohandas42344 жыл бұрын
simple. direct to point. Thanks ✌🏼
@szymonstepniak4 жыл бұрын
Thanks, Pradeek! 👍
@tanzeemahmed97743 жыл бұрын
What a great explanation 👏
@szymonstepniak3 жыл бұрын
Glad you think so!
@MrRaja70202 жыл бұрын
Thank you Szymon, Nice explanation with examples. Could you please make a session on passing out put from groovy function to Jenkins declarative pipeline as a global environment variable. I am trying to pass ArrayList type of variable from groovy function to the Jenkins declarative pipeline, it is then converting to the String class object and getting error. Could you please suggest me, how to convert String class object to the ArrayList in global environement block of the Jenkins pipeline.
@szymonstepniak2 жыл бұрын
I would suggest rethinking your problem and maybe trying to apply a different solution. Env variables always convert set value to its String representation, so storing more complex objects this way is not a good choice. Good luck, and have a good day!
@MrRaja70202 жыл бұрын
@@szymonstepniak Thank you. Let me know any alternate solution
@lebba0074 жыл бұрын
Excellent explanation. Thankyou!
@szymonstepniak4 жыл бұрын
Thank you for the comment! I'm happy to hear you find it useful.
@zacsam16154 жыл бұрын
Very good examples.. Thanks :)
@szymonstepniak4 жыл бұрын
Glad you liked it! Have a good day!
@smashit002 Жыл бұрын
Hello sir, I'm planning to learn Jenkins pipeline and I bumped into your videos. They're very interesting clear and helpful. However do you recommend any tutorials videos of yours that will be longer than the minimum tips and tricks?
@szymonstepniak Жыл бұрын
Hi there! I recommend checking @techworldwithnana KZfaq channel where you can find a lot of very valuable content around DevOps topics, including tutorials on Jenkins Pipelines. Good luck, and happy learning!
@smashit002 Жыл бұрын
@@szymonstepniak thank you so much !
@ramaraokondeti71574 жыл бұрын
One of the best clear explanation I ever watched. I have one scenario: in declarative pipeline I want to print each stage output in last stage can you please help me here Thanks in advance
@szymonstepniak4 жыл бұрын
Hi Ramarao! Thanks for the kind words. Regarding your question, I would start by asking the following question: why would you do that? If I understand you correctly, you would like to capture the output of every stage and print it in the last stage. Correct? If so, I don't know how it could be possible. Whenever you call e.g. "echo" step in a stage, it prints instantly to the output console. I don't know any way to prevent any step from printing to the console, capturing the output differently, and then printing it out in the last stage. If you don't mind - please explain why would you need it. Maybe I will be able to help you and suggest some doable alternative.
@ramaraokondeti71574 жыл бұрын
@@szymonstepniak Thanks for your quick reply Coming to scenario my pipeline is based on nodejs application,so when we start npm installation it will create output folder and inside that it will generate the content.so here I want to confirm on each stage whether it is created or not, for that I am putting condition on every stage. So my requirement is I want to confirm whether the stage execution happened successfully or not and also print all stages output in last stage. I hope you are clear with my explanation, Please let me know if you need any other details.
@szymonstepniak4 жыл бұрын
@@ramaraokondeti7157 Send me an email please with a real example (remove any sensitive data of course.) I don't understand exactly what is the problem you are trying to solve. If you could show me an example I could tell you if I can help. You can get my email from the information tab on my channel.
@Harshithanaik27123 жыл бұрын
Is there any video explaining how to write unit test cases for Jenkins pipeline script and build code?
@szymonstepniak3 жыл бұрын
Hi Harshitha! I've never watched any video on unit testing Jenkins pipelines, so I can't recommend any specific one. However, I mentioned unit testing pipelines in the "5 Common Jenkins Pipeline Mistakes" video (kzfaq.info/get/bejne/l6yCndGQmdTGXYU.html) - you can find some information about PipelineUnitTest, JenkinsfileRunner, and Jenkins-Test-Harness (links are in the description of that video.) I will create a dedicated video on unit testing pipeline code in the near future, stay tuned! 👍 Thanks for the comment, and have a good day!
@too_bad3 жыл бұрын
Thanks for the great video. Could you explain more about navigating in directories inside workspace using pipeline, launching npm scripts etc.
@GoutamSikder4 жыл бұрын
Thank you for this excellent video tutorial.
@szymonstepniak4 жыл бұрын
Thanks for the kind words, Goutam! I'm happy to hear you find it useful :)
@rossphillipgerard3 жыл бұрын
Music is really great but just a tad bit too loud in my opinion. Thanks for sharing.
@szymonstepniak3 жыл бұрын
Thanks for sharing your thoughts, Ross! Have a good day!
@MagnumCarta4 жыл бұрын
This was a great video, Szymon! I've been looking at Jenkins as a way to further build out our bare metal deployment system at my job (which is lacking a lot of features and requires a lot of monotonous work). When I learned about declarative vs. scripted pipelines my first immediate thought was "ah ha! Let's use scripted so we can change the environment for each customer and each server/rack build". However your showcasing of problems with it and how feature-rich the declarative system have made me re-evaluate that decision if we deploy Jenkins into our ecosystem. I'll be checking out many more of your videos. I haven't checked your channel yet so this question might already be answered but could you do a video on incorporating Jenkins with Ansible for configuration management? Currently we use Ansible so I think it would go over well for my job if we can tether these two technologies together. I'd love to see some example cases of Ansible with Jenkins as resources on the internet seem to be a little lacking. Thanks!
@szymonstepniak4 жыл бұрын
Thank you so much for all the kind words, John! I haven't published a video about building and configuring Jenkins infrastructure on my channel yet, but it is in my backlog already. I don't know if you have heard about Jenkins Configuration as a Code - github.com/jenkinsci/configuration-as-code-plugin This is not Ansible, but it allows you to manage your Jenkins instance configuration through the code you can version in git repository. I will be doing a showcase of this approach in the near future, so stick around :-) Have a good day!
@dham3007 Жыл бұрын
Great video thanks
@szymonstepniak Жыл бұрын
Glad you enjoyed it! Take care, and have a good day!
@Alberto_Cavalcante4 жыл бұрын
Nice content! Thanks a lot sharing it.
@szymonstepniak4 жыл бұрын
Thank you so much for the kind words, Alberto. I hope you find my other videos useful as well. Have a good day!
@omkarkulkarni59184 жыл бұрын
Thank you for this informative video.Hope to see a course complete course on Jenkins. I have doubt.I am trying to setup Jenkins on kubernetes. I am using declarative pipeline method for building the jobs.I am able to launch a Slave Pod to which the job is assigned.But i have doubt when a job is running on slave the work-space is created in salve pod.My doubt is if the slave is gone down.then the build data for that job is lost.I am trying to understand what is right way.Should the jobs build data should be saved at a central place or it should be saved on master.
@szymonstepniak4 жыл бұрын
Your question is not related to the video. When it comes to pipeline workspaces, it's easier to accept they are not durable. Depending on what artifacts you build, you should think about publishing them to some central repository (Artifactory, NPM, Docker hub, whatever other technology you use to build.) Using master node to run builds and store workspace is never a good practice. At least this is what I can tell you based on my experience.
@trido38153 жыл бұрын
Thanks.
@szymonstepniak3 жыл бұрын
Thanks for your kind words! I'm happy to hear you enjoyed it. Have a good day!
@sonnix314 жыл бұрын
Well done!
@szymonstepniak4 жыл бұрын
Thanks, Sonnix! I'm glad to hear you liked it ☺️
@jackwang12344 жыл бұрын
Excellent video, helps a lot
@szymonstepniak4 жыл бұрын
Thanks, Jack! I'm glad to hear you've found it useful. Is there anything else in this topic you would like to learn about? Have a good day!
@RishavG194 жыл бұрын
Video is really well made... In my case, we use freestyle jobs which calls PowerShell file present in the server and internally other PowerShell is run. I want to convert that into Pipeline as code so should I use declarative or Scripted pipeline ?
@szymonstepniak4 жыл бұрын
It depends, but whatever pipeline type you chose at the beginning, you can always easily convert one pipeline syntax to another. There is a powershell pipeline step (jenkins.io/doc/pipeline/steps/workflow-durable-task-step/#powershell-powershell-script) which can be used in both, scripted and declarative pipeline.
@mateenshamsi3 жыл бұрын
Thanks ! its very informative
@szymonstepniak3 жыл бұрын
Glad it was helpful! Have a good day!
@cacheman2k3 жыл бұрын
Thanks!
@szymonstepniak3 жыл бұрын
Welcome!
@jayshah5695 Жыл бұрын
Hi, can you do a comparitive explanation between jenkins, github actions and another popular CI tool like Travis/Circle CI/AWS Codepipeline. What are the comon concepts among all of these?
@szymonstepniak Жыл бұрын
Hi Jay, I can't promise anything. I don't use Jenkins anymore, and if I had to create a comparison video, I would have to check what is the current state of Jenkins pipelines, which is not very likely to happen soon. Take care, and have a good day!
@nobody_nowhere_4 жыл бұрын
Nothing about working with errors. In scripted we can use try-catch-finally, in declarative - post section. BUT i found nothing about 'global post'. I can write stage("Test") { some work} stage("Report") { post {always { ... } } But if i get error in Test stage - i has no methods for catch it in Report stage. Even if i need to send emails and slack notifys, i must duplicate post section to each stage block.
@szymonstepniak4 жыл бұрын
You have "post" block available at both "pipeline" and "stage" level, so you can control the scope of the post action. These 4 differences are not the only differences that exist between declarative and scripted, and I'm not trying to say anywhere that this video explains all existing differences. I hope you didn't get a different impression. Thanks for the comment! 🖒
@premierde Жыл бұрын
Great. In my case jenkins editor is not showing up. Which config should I change to make it appear. Plugin are already installed.
@szymonstepniak Жыл бұрын
I think the pipeline-workflow plugin should be enough. Don't know tough, I don't use Jenkins these days. Take care, and have a good day!
@chikosan993 жыл бұрын
Thanks a lot! amazing !
@szymonstepniak3 жыл бұрын
Thanks for your kind words, Shai! Have a good day!
@rajeshsrkk4 жыл бұрын
Good one
@szymonstepniak4 жыл бұрын
Thanks, Rajesh! What kind of content would you enjoy to see in the future? Is there anything I could help you with? Thanks in advance!
@way2science7673 жыл бұрын
BTW, the background music is great, seems like BGMs The Witcher 3? :)
@szymonstepniak3 жыл бұрын
Yeah, it has Witcher vibe, but it's just one of the royalty free music from the HookSounds library - www.hooksounds.com/royalty-free-music/medieval-mandola/1159526/ :-)
@JugaadTech Жыл бұрын
First thing I did was look for music you used
@szymonstepniak Жыл бұрын
There's a link to the music I used in the bottom of the description :) Take care, and have a good day!
@cornercloud75273 жыл бұрын
May be a silly question but that helps me to understand more vibrantly, what is that second screen where we can get an option to Restart Test! Also I wonder where can I get that 2nd graphical screen to select each and every stage that I'm missing in Jenkins Page! Appreciated for your wonderful explanations.
@szymonstepniak3 жыл бұрын
This UI is called Blue Ocean UI. It can be installed as a plugin on existing Jenkins instance - www.jenkins.io/doc/book/blueocean/getting-started/ Have a good day!
@mkc03213 жыл бұрын
great video
@szymonstepniak3 жыл бұрын
Thanks for another comment with the warm words! Take care, and have a good day!
@chalapathyj99704 жыл бұрын
Hi! Szymon all your videos are detailed and very helpful!! Thanks for sharing with us. Is it possible to post a video/link which shows how to setup IDE with shared library where autocompletion and clicking on the methods takes to the corresponding method etc works. Pipeline gdsl is working fine for me.. I tried few links on the internet I was not able to establish the link with shared library but it is not working. I have seen in one of your declarative pipeline as you type the syntax was getting highlighted.
@szymonstepniak4 жыл бұрын
Hi Chalapathy! Thanks for the kind words. I don't have a working solution for getting code completion with Jenkins Shared Libraries used in the pipeline code. I will be working on a Shared Library oriented video soon and I can promise you that I will explore this area. Stay in touch!
@chalapathyj99704 жыл бұрын
@@szymonstepniak Thank you so much!!
@jg1000c2 жыл бұрын
your jenkins looks so different
@szymonstepniak2 жыл бұрын
I use Blue Ocean UI plugin for Jenkins v2. It can be installed from the official plugin manager. You can give it a try :) Good luck!
@Kyrogue4 жыл бұрын
Is it possible to have multiple expressions? or something like OR AND conditionals
@szymonstepniak4 жыл бұрын
Yes, check "allOf" and "anyOf" blocks that allow you to nest multiple conditions. You can find examples in the documentation page - www.jenkins.io/doc/book/pipeline/syntax/#when
@teluguhindi19854 жыл бұрын
May I know how to deploy the artifact to dev, qa and stage environment using declarative pipeline
@szymonstepniak4 жыл бұрын
Hi, S BAVAJI! There is no one size fits all, and the question you asked is very broad. I will publish a video that covers full CI/CD pipeline based on Jenkins declarative pipeline syntax in a few weeks, I hope you will find it useful. Have a good day!
@teluguhindi19854 жыл бұрын
@@szymonstepniak it will be very helpful if you do it thank you
@kartiknaithani64264 жыл бұрын
I want to use a declarative pipeline but without the option to restart the stage appearing on BlueOcean UI. Can it be done?
@szymonstepniak4 жыл бұрын
Hi Kartik! There is no configuration option to disable restart from stage feature in the declarative pipeline. Some users requested adding one some time ago, but it was never resolved - issues.jenkins-ci.org/browse/JENKINS-54250 Check comments in this Jira issue, some people shared alternative ways to deal with it. Maybe you will find one that works for you. Good luck and have a good day!
@RomaRapoport2 жыл бұрын
anyone knows why he stopped making videos?
@andredrumond3794 жыл бұрын
how could i watch git changes in pipeline job the same way it is very easy doing in freestyle job?
@szymonstepniak4 жыл бұрын
Hi, André! I don't know if this can be done with the pipeline job. If you go to the "Changes" page in the pipeline job, it only displays git commit refs of changes that were made since the previous build, but there is no diff or detailed view. Maybe there is some Jenkins plugin that adds this feature, but I'm not aware of any.
@andredrumond3794 жыл бұрын
@@szymonstepniak got it!! thank you =) its easy to do, but you need to set correctly branches path in checkout and you can set triggers { pollSCM('* * * * *') } right below agent {}, it must be inside pipeline {} block.. and then you will be able to check git polling log and see what is being pulled from your last checkout...
@szymonstepniak4 жыл бұрын
@@andredrumond379 Wow, this sounds interesting. Thanks for sharing this tip! I definitely need to test it out :)
@rishnaone4 жыл бұрын
Awesome :)
@szymonstepniak4 жыл бұрын
Thank you, Sathya!
@srinathsaikumar47374 жыл бұрын
came here to see jenkins video, found king arthur himself
@szymonstepniak4 жыл бұрын
Thanks for the comment! I guess this medieval-like music created that vibe :) I hope you liked the video and you've learned something useful from it. Have a good day!
@nikhilnambiar68112 жыл бұрын
👍👌
@szymonstepniak2 жыл бұрын
Thanks!
@Emil_Benny3 жыл бұрын
Maska chaska 👍
@ivankand25524 жыл бұрын
Why does everyone is like: scripted vs declatative - let me tell you why you why you shoudl use declarative! What about scripted ? Cool options tricks ? Did bunch of googling and it seems the answer should be: because noone uses scripted!
@szymonstepniak4 жыл бұрын
It looks like the scripted pipeline is still widely used. I watch the "jenkins-pipeline" tag on StackOverflow, and I see questions with scripted pipelines showing up almost every day. Also, there are still many examples (e.g., on jenkins.io website) that show some pipeline features using scripted pipeline syntax. There is nothing wrong with that, and this video was not made to tell that one is better than another, but just to show a few practical differences instead. I hope you have found something useful in this video. Cheers!
@konstantinv37922 жыл бұрын
Hello stranger 😂
@szymonstepniak2 жыл бұрын
Hello! 😉
@haditube2 жыл бұрын
good stuff! like + subscribe
@szymonstepniak2 жыл бұрын
Thanks! Take care, and have a good day!
@narasimhadevarapalli17413 жыл бұрын
Descriptive
@szymonstepniak3 жыл бұрын
Thanks for the comment, Narashimha! Take care, and have a good day!
@lcfsoft4 жыл бұрын
Why do you keep calling me stranger
@beepea60293 жыл бұрын
dont know if you realize this,but the commercials are being spliced into critical points totally ruining any transmission of value -- you need to take a ginormous dump into the ads folks mouth once they start explaining the need for this -- we expect to see this crap at either the beginning or end but not in the middle of you making a point - it wrecks our understanding and makes us despise this, which i am sure is ot what you desire in the least.
@szymonstepniak3 жыл бұрын
Thanks a lot for bringing that up. Ads were placed randomly, and you are right - they could affect the flow for people that are watching the video. I managed to move them to the end of the sections, so each example can be consumed without any interruption. Thanks once again, and have a good day!