के भीतर से क्यों नहीं बढ़ेगा मैं हाइबरनेट-कोर प्रोजेक्ट का कांटा चलाने के लिए हमारे जेनकिंस सर्वर पर एक बिल्ड स्थापित करने की कोशिश कर रहा हूं।जेनकिंस नौकरी
मैं जेनकिंस को अपने गिटूब कांटा से स्थानीय भंडार प्राप्त करने के लिए गिट क्लोन करने में सक्षम हूं, लेकिन जब जेनकिन्स 'gradlew' कमांड चलाने की कोशिश करता है तो यह विफल हो जाता है।
इस स्क्रिप्ट को सीधे चेक आउट फ़ोल्डर से चलाते समय बिल्ड की अपेक्षा की जाती है, लेकिन जब जेनकींस के माध्यम से स्क्रिप्ट लॉन्च करते हैं तो यह विफल हो जाता है।
नौकरी को "निष्पादन खोल" चरण के रूप में बिल्ड चरण सेटअप के साथ फ्रीस्टाइल कॉन्फ़िगरेशन के रूप में कॉन्फ़िगर किया गया है।
बिल्ड चरण निम्न आदेश चलाता है।
./gradlew clean test install buildReleaseBundles uploadArchives --debug --stacktrace
ऐसा लगता है कि gradlew स्क्रिप्ट निष्पादित किया जा रहा है, लेकिन भीतर Gradle डाउनलोड वर्ग कुछ गलत हो जाता।
मेरे निर्माण स्क्रिप्ट आउटपुट निम्नलिखित:
Building on master
Checkout:workspace//data/hudson/jobs/hibernate-envers-stevemac/workspace - [email protected]
Using strategy: Default
Last Built Revision: Revision 7cdb4c829f28c5b029a3d43f50a54d4c89fc9665 (origin/Branch_4.0.0.Final)
Checkout:workspace//data/hudson/jobs/hibernate-envers-stevemac/workspace - [email protected]
Fetching changes from 1 remote Git repository
Fetching upstream changes from https://[email protected]/stevemac007/hibernate-core.git
Commencing build of Revision 7cdb4c829f28c5b029a3d43f50a54d4c89fc9665 (origin/Branch_4.0.0.Final)
Checking out Revision 7cdb4c829f28c5b029a3d43f50a54d4c89fc9665 (origin/Branch_4.0.0.Final)
[workspace] $ /bin/sh -xe /tmp/tomcat6-tmp/hudson9191971611159378903.sh
+ ./gradlew clean test install buildReleaseBundles uploadArchives --debug --stacktrace
Downloading http://repo.gradle.org/gradle/distributions/gradle-1.0-milestone-3-bin.zip
Exception in thread "main" java.io.FileNotFoundException: /usr/share/tomcat6/.gradle/wrapper/dists/gradle-1.0-milestone-3-bin.zip.part (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
at org.gradle.wrapper.Download.downloadInternal(Download.java:46)
at org.gradle.wrapper.Download.download(Download.java:37)
at org.gradle.wrapper.Install.createDist(Install.java:54)
at org.gradle.wrapper.Wrapper.execute(Wrapper.java:80)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:37)
Build step 'Execute shell' marked build as failure
Finished: FAILURE