I have doing this practical many time for reference purposes but its throwing me on error for ansible task completion (if you are using a module and expect the file to exist on the remote see remote_src option) and result showing UNSTABLE kindly suggest me its really helpful....
grt sir to c such a wounder full explanation, i m beginner for devops but still i understand even though i dont knw much abt tool ... i appreciate u r hardwork explaining project like dis is cristal clear ... as i m a bignner i hv dought i will get back to u ... thank you so much for u r valuable time ....🙏 a small request sum times i m not able to u c commonds and a bit confusion u r changing tab ..... i m really impressed by the way u r explanation awsm only one video i watched 3 times today i spend 5 hrs to understand pipe line hw u r creating ... tq so much sir waiting for nxt projct... 🕵 no youtuber expl like dis ⭐⭐⭐⭐⭐
Hi, DevOps is very easy, you can learn easily just need to focus on some theoretical part as well in brief. Let me know if you have any issue. i am always there to help. you can WhatsApp me on 9088025405 or can all between 2:00 PM - 3:00 PM IST
@infotechwithzafarkhan7621 I would suggest to see my video twice or thrice if you have any query you can call me. no need to join the any organisation. not sure why you want to spend money. I am here. just watch both theory and practical both.
Sir thank you for the video. Just on thing I want to add that commands which u are typing in the bottom of screen are not visible. Please try to clear and then type
Ya, there is issue in my system, but you can see everything when i click the enter button. dont think i have missed any. Anywhere i will take care in the up coming project for clear vision. expecting from all you guys to share this with your friends and subscribe my channel. It will encourage me to making more videos.
followed same from starting but unbable to build , getting this ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [4]] Build step 'Send build artifacts over SSH' changed build result to UNSTABLE Finished: UNSTABLE
Hi sir, how much instances can create for free tier quota, like each 5 gb hard disk space, do we need change public ip after stop instance pls describe these two questions, thanks.
Q. how much instances can create for free tier quota. [Zafar] - As per I know A customer with access to the AWS Free Tier can use up to 750 instance hours each of t2.micro instances running Linux and Windows. Usage of the Linux and Windows t2.micro instances are counted independently. now you can calculate disk space accordingly. Q. do we need change public ip after stop instance [Zafar] - Actually, When you stop/start your instance, the IP address will change. If you reboot the instance, it will keep the same IP addresses. Unfortunately, it is not possible for us to reassign the address to your instance as that address would have been released back into the pool used by other EC2 instances
Actually i was trying to use mobaextrem but i got call to use mac terminal hence using the terminal. using terminal you can see every thing is clear and there is no confusion.
Yes, that is on my target. I will do project using docker and Kubernetes. Currently I have already started Terraform series as per demand, once I finish this will do for docker commands and then Kubernetes. All will come that is for sure. Thanks for comments expecting to subscribe and like my videos and share with your friends.
ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [1]] Build step 'Send build artifacts over SSH' changed build result to UNSTABLE Finished: UNSTABLE
You are doing something wrong either on rsync -avh /var/lib/Jenkins/workspace/demo-project/*.html root@private-ip:/opt/index.html or ansible-playbook /sourcecode/deployment.yml make sure you are putting proper / if you are writing play under sourcecode folder please create folder like # mkdir /sourcecode. I hope it will work.
I was also facing same issue but now resolved. Simply in rsync part configure it well and second mind on deployment.yml means write the code properly in vi editor
ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [1]] Build step 'Send build artifacts over SSH' changed build result to UNSTABLE Finished: UNSTABLE I got this error so how can I get the solutions...
ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [1]] Build step 'Send build artifacts over SSH' changed build result to UNSTABLE Finished: UNSTABLE I got this error so how can I get the solutions... can anyone help me 👏👏👏 please sir how can I do it
Build step 'Send files or execute commands over SSH' changed build result to SUCCESS SSH: Connecting from host [jenkins] SSH: Connecting with configuration [ansible] ... SSH: EXEC: completed after 801 ms SSH: Disconnecting configuration [ansible] ... ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [4]] Build step 'Send build artifacts over SSH' changed build result to UNSTABLE Finished: UNSTABLE
while build its showing error: ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job. SSH: Current build result is [FAILURE], not going to run. Finished: FAILURE how to fix this ?
You need to stablished the SSH connectivity between Jenkins and Ansible and between Ansible to Web-server. connectivity is missing hence the error is. Please watch twice or thrice so that you will not miss anything.
First time build. Skipping changelog. SSH: Connecting from host [jenkins] SSH: Connecting with configuration [jenkins] ... SSH: EXEC: completed after 201 ms SSH: Disconnecting configuration [jenkins] ... ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [23]] Build step 'Send files or execute commands over SSH' changed build result to UNSTABLE SSH: Connecting from host [jenkins] SSH: Connecting with configuration [Ansible] ... SSH: EXEC: completed after 208 ms SSH: Disconnecting configuration [Ansible] ... ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [127]] Finished: UNSTABLE this is the error showing
Its connectivity issue. Please check whether you are able to connect from Jenkins to Ansible and from Ansible to Web-server. also check the configuration is proper of not. Both Jenkins and Ansible should configured in the configuration section. manage jenikind->manage configure. Also Plugin "Public Over SSH" should install. Please watch the video twice even thrice should come this issue. This project is very simple. If you still getting issue , you can call me on 9088025405. when i am free definately will help you.
The whole agenda is to deploy code in web-server automatically using Jenkins and Ansible including Git/GitHub. Its basically Continuous integration and Continuous delivery.
i am follwing this project but while I am connecting Publish over ssh then facing issue jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [Jenkins]. Message [Auth fail for methods 'publickey']]
excellent video
Great way of sharing thoughts. effective video....thanx for that
best video for fresher. each and every steps explained clearly. we expect more video sir
Can’t stop me from commenting on this video. Really helpful
Good project
Love this video
Simply say Wow!!
Too good
Thank you so much Sir🙂
sound knowledge for connectivity between different tools
Creative videos you’ve on this channel. Much appreciated Zafar. Thanks for the hard work for the people, God bless you.
Perfect video sir...Nice explanation
what a fine-made video this is
very nicely explained.. Thank you sir.
Love this video, I think I’ve watched it four times.
Great Example, you work so hard
Excellent efforts....Thank you.
Wow waiting for more sir
Excellent !
Very nice!!
Well-researched. Thanks you so much for such a wonderful video.
I have doing this practical many time for reference purposes but its throwing me on error for ansible task completion (if you are using a module and expect the file to exist on the remote see remote_src option)
and result showing UNSTABLE
kindly suggest me its really helpful....
Such a Great efforts..much appreciated
grt sir to c such a wounder full explanation, i m beginner for devops but still i understand even though i dont knw much abt tool ... i appreciate u r hardwork explaining project like dis is cristal clear ... as i m a bignner i hv dought i will get back to u ... thank you so much for u r valuable time ....🙏 a small request sum times i m not able to u c commonds and a bit confusion u r changing tab ..... i m really impressed by the way u r explanation awsm only one video i watched 3 times today i spend 5 hrs to understand pipe line hw u r creating ... tq so much sir waiting for nxt projct... 🕵 no youtuber expl like dis ⭐⭐⭐⭐⭐
Hi, DevOps is very easy, you can learn easily just need to focus on some theoretical part as well in brief.
Let me know if you have any issue. i am always there to help. you can WhatsApp me on 9088025405 or can all between 2:00 PM - 3:00 PM IST
@@infotechwithzafarkhan7621 tq
i actually want to join for devop couse suggest me frm wch get better traning
@infotechwithzafarkhan7621
I would suggest to see my video twice or thrice if you have any query you can call me. no need to join the any organisation. not sure why you want to spend money. I am here. just watch both theory and practical both.
I truly love your channel. Keep doing the best work.
Great 👍 carry on.. subscribed
Thanks
Really Good. Thanks Zafar for the demo of Project
Effective Video. lot of things to lean. Appreciate you!
Everything is fine sir but whatever command your typing in bottom line it's not visible rest all super thanks
Sir thank you for the video. Just on thing I want to add that commands which u are typing in the bottom of screen are not visible. Please try to clear and then type
Ya, there is issue in my system, but you can see everything when i click the enter button. dont think i have missed any. Anywhere i will take care in the up coming project for clear vision. expecting from all you guys to share this with your friends and subscribe my channel. It will encourage me to making more videos.
Please help for this error, I need to Built manually to start the pipeline even if "GitHub hook trigger for GITScm polling" is on in jenkins
In the above logic how docker is used and show in a declarative pipeline in your upcoming video..
Yes, will do. let me complete Terraform then will start docker with Project
followed same from starting but unbable to build , getting this ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [4]]
Build step 'Send build artifacts over SSH' changed build result to UNSTABLE
Finished: UNSTABLE
how can u crated jenkins ssh??
Hi sir, how much instances can create for free tier quota, like each 5 gb hard disk space, do we need change public ip after stop instance pls describe these two questions, thanks.
Q. how much instances can create for free tier quota.
[Zafar] - As per I know A customer with access to the AWS Free Tier can use up to 750 instance hours each of t2.micro instances running Linux and Windows.
Usage of the Linux and Windows t2.micro instances are counted independently. now you can calculate disk space accordingly.
Q. do we need change public ip after stop instance
[Zafar] - Actually, When you stop/start your instance, the IP address will change. If you reboot the instance, it will keep the same IP addresses.
Unfortunately, it is not possible for us to reassign the address to your instance as that address would have been released back into the pool
used by other EC2 instances
superb Zafar!!
Pls use mobaextrem terminal in project also.
Actually i was trying to use mobaextrem but i got call to use mac terminal hence using the terminal. using terminal you can see every thing is clear and there is no confusion.
Sir can you make CI-CD about using docker
Thanks a lot , massive help, you earned a subscriber!
Thank you
Sir can u show a project with tools like docker and kubernetes also included in the CI/CD pipeline please
Yes, that is on my target. I will do project using docker and Kubernetes. Currently I have already started Terraform series as per demand, once I finish this will do for docker commands and then Kubernetes. All will come that is for sure. Thanks for comments expecting to subscribe and like my videos and share with your friends.
Thanks for your response sir will be waiting for your videos😊
well explained but the screen was missed when you typed the commands.pls change nxt time
Sure. will take care. Thanks for watching
ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [1]] Build step 'Send build artifacts over SSH' changed build result to UNSTABLE Finished: UNSTABLE
You are doing something wrong either on
rsync -avh /var/lib/Jenkins/workspace/demo-project/*.html root@private-ip:/opt/index.html
or
ansible-playbook /sourcecode/deployment.yml
make sure you are putting proper /
if you are writing play under sourcecode folder please create folder like
# mkdir /sourcecode. I hope it will work.
I was also facing same issue but now resolved.
Simply in rsync part configure it well
and second mind on deployment.yml means write the code properly in vi editor
Can u share deployment.yml file here please
@@swarnavure3354 I have terminated ec2 and all
@@infotechwithzafarkhan7621 Hello Zafar, I did same setting as you said but still got same error UNSTABLE. what can I do?
can you please share the notes/ commands that are used.
ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [1]]
Build step 'Send build artifacts over SSH' changed build result to UNSTABLE
Finished: UNSTABLE
I got this error so how can I get the solutions...
This is connectivity issue. please do proper SSH connectivity between all servers
I am getting this error when I wanted to do first build...ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [2]]
it is done sir ...finally this project is working perfectly
@@sujeetrai8326 how did you you solve? or what was the mistake? please reply
@@sujeetrai8326 did it work? r u using public or private key? can u help
ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [1]]
Build step 'Send build artifacts over SSH' changed build result to UNSTABLE
Finished: UNSTABLE
I got this error so how can I get the solutions...
can anyone help me 👏👏👏
please sir how can I do it
have you solve this problem
Build step 'Send files or execute commands over SSH' changed build result to SUCCESS
SSH: Connecting from host [jenkins]
SSH: Connecting with configuration [ansible] ...
SSH: EXEC: completed after 801 ms
SSH: Disconnecting configuration [ansible] ...
ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [4]]
Build step 'Send build artifacts over SSH' changed build result to UNSTABLE
Finished: UNSTABLE
how do we resolve this
this is the error i am getting, can you please help me in solving this.
I have replied your comments in other comm. hope the problem is resolve.
while build its showing error:
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
SSH: Current build result is [FAILURE], not going to run.
Finished: FAILURE
how to fix this ?
You need to stablished the SSH connectivity between Jenkins and Ansible and between Ansible to Web-server. connectivity is missing hence the error is. Please watch twice or thrice so that you will not miss anything.
@@infotechwithzafarkhan7621 Ok sir thank you so much
I am also getting the same issue
I checked both the ssh connections from jenkins to ansible and ansible to webserver are working
@@swarnavure3354 You solved it or not?
After removing master branch its showing the other error unstable one
First time build. Skipping changelog.
SSH: Connecting from host [jenkins]
SSH: Connecting with configuration [jenkins] ...
SSH: EXEC: completed after 201 ms
SSH: Disconnecting configuration [jenkins] ...
ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [23]]
Build step 'Send files or execute commands over SSH' changed build result to UNSTABLE
SSH: Connecting from host [jenkins]
SSH: Connecting with configuration [Ansible] ...
SSH: EXEC: completed after 208 ms
SSH: Disconnecting configuration [Ansible] ...
ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [127]]
Finished: UNSTABLE
this is the error showing
Its connectivity issue. Please check whether you are able to connect from Jenkins to Ansible and from Ansible to Web-server. also check the configuration is proper of not. Both Jenkins and Ansible should configured in the configuration section. manage jenikind->manage configure. Also Plugin "Public Over SSH" should install.
Please watch the video twice even thrice should come this issue. This project is very simple. If you still getting issue , you can call me on 9088025405. when i am free definately will help you.
have you solve this problem then tell me bro plz
what would you call the whole project as a project headline?
☺😊
The whole agenda is to deploy code in web-server automatically using Jenkins and Ansible including Git/GitHub. Its basically Continuous integration and Continuous delivery.
Useless incorrect
i am follwing this project but while I am connecting Publish over ssh then facing issue jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [Jenkins]. Message [Auth fail for methods 'publickey']]