2016-07-29 12 views
0

Openshift Redhat Cloud ServerにJSPサイトを展開します。 私のドメインはhttp://jsp-moristems.rhcloud.comです。Openshift Build Failed/Canceled

Gitを使用してアプリケーションをクローンし、srcフォルダとpom.xmlファイルを削除し、/ webappsの下にROOT.war(展開するwarファイル)をコピーしてプッシュしました。

しかし、私はこのエラーを参照してください。

E:\git\jsp [master ↑]> git push 
Warning: Permanently added 'jsp-moristems.rhcloud.com,107.21.78.52' (RSA) to the list of known hosts. 
Counting objects: 4, done. 
Delta compression using up to 8 threads. 
Compressing objects: 100% (4/4), done. 
Writing objects: 100% (4/4), 43.44 MiB | 338.00 KiB/s, done. 
Total 4 (delta 0), reused 0 (delta 0) 
remote: Executing Jenkins build. 
remote: 
remote: You can track your build at https://red-moristems.rhcloud.com/job/jsp-build 
remote: 
remote: Waiting for build to schedule............................... 
remote: **BUILD FAILED/CANCELLED** 
remote: Please see the Jenkins log for more details via 'rhc tail' 
remote: !!!!!!!! 
remote: Deployment Halted! 
remote: If the build failed before the deploy step, your previous 
remote: build is still running. Otherwise, your application may be 
remote: partially deployed or inaccessible. 
remote: Fix the build and try again. 
remote: !!!!!!!! 
remote: An error occurred executing 'gear postreceive' (exit code: 1) 
remote: Error message: CLIENT_ERROR: Failed to execute: 'control post-receive' for /var/lib/openshift/5799d1f889f5cf15800000a8/jenkins-client 
remote: 
remote: For more details about the problem, try running the command again with the '--trace' option. 
To ssh://[email protected]/~/git/jsp.git 
ad41e5f..2bd7925 master -> master 

正確openshiftガイドが言うように、私は、その後、私は私が間違って何をしたかを把握することはできません。 このような問題に会ったことがあるなら、私を助けてください。

答えて

0

Jenkinsを使用して、既にビルド済みのwarファイルを展開しないでください。 Jenkinsは、コードをコンパイルしてプロジェクトを構築できるように、特にpom.xmlとsrcフォルダを探しています。 warファイルを展開するだけの場合は、jenkinsを削除/無効にしてください。