I tried to run Jenkins on a simple Python test. This is my first time, so I followed the steps mentioned in this tutorial: Link
My Jenkins console after I called the assembly shows that it failed because it could not find any revision.
Here is the console output:
Started by user anonymous Building in workspace /usr/share/tomcat7/.jenkins/jobs/PythonUIProject/workspace > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url /home/rahul/PycharmProjects/.git/
My Git installation folder is: home/rahul/PycharmProjects/ , and my system is Ubuntu 14.04 LTS .
I tried changing Branches to Build under Source Code Management configuration as ** instead of */master as a workaround, but that didn't work.
Has anyone worked on this before? What should be the solution to this.
Edit 1: As suggested, I tried using git push to enter the code, but I get the following:
rahul@oneplusone :~/PycharmProjects$ git push -u /home/rahul/PycharmProjects/.git master error: src refspec master does not match any. error: failed to push some refs to '/home/rahul/PycharmProjects/.git'
source share