के साथ विफल रहा मैं एक साधारण पायथन परीक्षण पर जेनकींस चलाने की कोशिश कर रहा था। यह मेरा पहला समय है, इसलिए मैंने इस ट्यूटोरियल में उल्लिखित चरणों का पालन किया: Linkजेनकिन्स बिल्ड संशोधन त्रुटि
निर्माण के बाद मेरे जेनकींस कंसोल आउटपुट से पता चलता है कि यह विफल रहा क्योंकि इसे कोई संशोधन नहीं मिला।
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/ # timeout=10
Fetching upstream changes from /home/rahul/PycharmProjects/.git/
> git --version # timeout=10
> git -c core.askpass=true fetch --tags --progress /home/rahul/PycharmProjects/.git/ +refs/heads/*:refs/remotes/origin/*
Seen 0 remote branches
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
Finished: FAILURE
मेरे Git स्थापना फ़ोल्डर है:
यहाँ कंसोल आउटपुट है home/rahul/PycharmProjects/
, और अपने सिस्टम एक Ubuntu 14.04 LTS
है।
मैं Source Code Management configuration
तहत Branches to Build
बदलते */master
एक समाधान के रूप के स्थान पर **
होने की कोशिश की, लेकिन यह काम नहीं किया।
क्या किसी ने इससे पहले इस पर काम किया है? इसका समाधान क्या होना चाहिए।
संपादित करें 1: के रूप में सुझाव मैं कोड पुश करने के लिए git push
उपयोग करने की कोशिश प्रति है, लेकिन मैं यह हो रही है:
[email protected]:~/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'
क्या आपने 'पुश गिट' किया था? ऐसा लगता है कि आपने लिंक किए गए ट्यूटोरियल से गायब हो रहा है। – colinD
क्या आप जेनकींस जॉब गिट से संबंधित कॉन्फ़िगरेशन सेटिंग्स जोड़ सकते हैं? – yorammi
कृपया संपादन देखें। – demouser123