Perfect dude !! You did a great job. I have also learned a new thing like how we can use my localhost outside the world using public IP addresses via port forwarding. Thanks a lot once again !!
@@VibhavChaddha I am not able to build by using this .. but i tried it by this way by adding local project pom file. but i don't think this is suitable ...I have attached screenshot for your reference Steps : Installed Maven Version from global tool configuration then I have added that maven version in Invoke top level Maven Targets. In that I have added Maven Version, Goals, POM(local pom file of my system.. i didn't give path of bitbucket project )
I am not able to build this using mvn clean install But I tried by different way I have Installed maven in global tool configuration then added In jenkins project configuration i did below things : added Maven Version which i installed in jenkins, Goals , POM (My local pc pom file path). Build succeded but i am not sure it is correct or not because jar created in target folder of local pC. I am not sure it should created in Bitbuckect repo or local pc
@@VibhavChaddha I am not able to build this using mvn clean install But I tried by different way I have Installed maven in global tool configuration then added In jenkins project configuration i did below things : added Maven Version which i installed in jenkins, Goals , POM (My local pc pom file path). Build succeded but i am not sure it is correct or not because jar created in target folder of local pC. I am not sure it should created in Bitbuckect repo or local pc
@@sohansingsodha5953 Run your jar file and check if it is working or not. If you are running your code locally it will create a build in your machine. If you are running it on a server it will create a build and save it in a folder in your server.
Thanks for the video ! Have come up with failure 🙄 Kindly check and suggest me the solution please FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'spring-boot-demo'. > Could not resolve all files for configuration ':classpath'. > Could not resolve org.springframework.boot:spring-boot-gradle-plugin:3.0.0. Required by: project : > org.springframework.boot:org.springframework.boot.gradle.plugin:3.0.0 > No matching variant of org.springframework.boot:spring-boot-gradle-plugin:3.0.0 was found. The consumer was configured to find a runtime of a library compatible with Java 11, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '7.5.1' but: - Variant 'apiElements' capability org.springframework.boot:spring-boot-gradle-plugin:3.0.0 declares a library, packaged as a jar, and its dependencies declared externally: - Incompatible because this component declares an API of a component compatible with Java 17 and the consumer needed a runtime of a component compatible with Java 11 - Other compatible attribute: - Doesn't say anything about org.gradle.plugin.api-version (required '7.5.1')
This was really good and helpful on how to build a starter CI pipeline from bit bucket to Jenkins. Thank you
Good explanation! Even better than official atlassian video courses
Perfect dude !! You did a great job. I have also learned a new thing like how we can use my localhost outside the world using public IP addresses via port forwarding. Thanks a lot once again !!
hi i tried to integrate my jenkins with bitbucket but on adding credentials i only get option of AWS credentials
Please suggest
Not able to get my current user in the drop-down after adding Jenkins credentials
What changes do I have to do if I am running it on a server instead of a local machine?
did you find the solution ?
@@SportTechNomad No man. I stopped looking into it. Sorry.
Thank you for making my life easier :)
Hello Alam, I have followed each step for WebHook but Jenkins doesn't do anything
I have sprig boot project with maven. Shall I follow same steps for maven too ???
In the script, you will have to write 'mvn clean install'. That's the only change according to me,
@@VibhavChaddha I am not able to build by using this .. but i tried it by this way by adding local project pom file. but i don't think this is suitable ...I have attached screenshot for your reference
Steps : Installed Maven Version from global tool configuration then I have added that maven version in Invoke top level Maven Targets. In that I have added Maven Version, Goals, POM(local pom file of my system.. i didn't give path of bitbucket project )
I am not able to build this using mvn clean install
But I tried by different way
I have Installed maven in global tool configuration
then added In jenkins project configuration i did below things :
added Maven Version which i installed in jenkins, Goals , POM (My local pc pom file path).
Build succeded but i am not sure it is correct or not because jar created in target folder of local pC.
I am not sure it should created in Bitbuckect repo or local pc
@@VibhavChaddha I am not able to build this using mvn clean install
But I tried by different way
I have Installed maven in global tool configuration
then added In jenkins project configuration i did below things :
added Maven Version which i installed in jenkins, Goals , POM (My local pc pom file path).
Build succeded but i am not sure it is correct or not because jar created in target folder of local pC.
I am not sure it should created in Bitbuckect repo or local pc
@@sohansingsodha5953 Run your jar file and check if it is working or not. If you are running your code locally it will create a build in your machine. If you are running it on a server it will create a build and save it in a folder in your server.
how to solve this issue any idea
excellent video
13:48 if you just need the webhook part.
THank you
Thanks for the video !
Have come up with failure 🙄 Kindly check and suggest me the solution please
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'spring-boot-demo'.
> Could not resolve all files for configuration ':classpath'.
> Could not resolve org.springframework.boot:spring-boot-gradle-plugin:3.0.0.
Required by:
project : > org.springframework.boot:org.springframework.boot.gradle.plugin:3.0.0
> No matching variant of org.springframework.boot:spring-boot-gradle-plugin:3.0.0 was found. The consumer was configured to find a runtime of a library compatible with Java 11, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '7.5.1' but:
- Variant 'apiElements' capability org.springframework.boot:spring-boot-gradle-plugin:3.0.0 declares a library, packaged as a jar, and its dependencies declared externally:
- Incompatible because this component declares an API of a component compatible with Java 17 and the consumer needed a runtime of a component compatible with Java 11
- Other compatible attribute:
- Doesn't say anything about org.gradle.plugin.api-version (required '7.5.1')