Look like issue reported by you similar to the following issue I faced while using Git Deploy:
[OPENSHIFT] Copying the deployment from slave node to '/var/lib/openshift/563d715b89f5cfd380000048/app-root/data/jobs/easycrm-github-build/builds/21/workspace/openshift-deployer-workdir/ROOT.war'
[OPENSHIFT] Cloning 'easycrm' [ssh://561c6eef89f5cf391800009c@easycrm-qprofit.rhcloud.com/~/git/easycrm.git/] to /var/lib/openshift/563d715b89f5cfd380000048/app-root/data/jobs/easycrm-github-build/builds/21/workspace/openshift-deployer-workdir/git
[OPENSHIFT] Deleting 'src'
[OPENSHIFT] Deleting 'grails-app'
[OPENSHIFT] Deleting 'wrapper'
[OPENSHIFT] Deleting 'web-app'
[OPENSHIFT] Deleting 'README.md'
[OPENSHIFT] Deleting '.gitignore'
[OPENSHIFT] Deleting 'grailsw.bat'
[OPENSHIFT] Deleting '.travis.yml'
[OPENSHIFT] Deleting 'grailsw'
[OPENSHIFT] Deleting 'pom.xml'
[OPENSHIFT] Deleting 'application.properties'
[OPENSHIFT] Deployment 'ROOT.war' copied to 'ROOT.war'
ERROR: [OPENSHIFT] java.lang.IllegalArgumentException: Source '/var/lib/openshift/563d715b89f5cfd380000048/app-root/data/jobs/easycrm-github-build/builds/18/workspace/openshift-deployer-workdir/git/.openshift' is not a directory
In Jenkins build job configuration, the value configured for .openshift directory location remain default: src/main/resources/openshift
In Github repo, I am storing all configurations into src/main/resources/openshift directory. In git repo of Openshift, I empty out the .openshift directory (with .gitkeep file to retain the empty directory).
May I know what is your workaround solution if any?
Please advise. Thank you
Look like issue reported by you similar to the following issue I faced while using Git Deploy:
[OPENSHIFT] Copying the deployment from slave node to '/var/lib/openshift/563d715b89f5cfd380000048/app-root/data/jobs/easycrm-github-build/builds/21/workspace/openshift-deployer-workdir/ROOT.war'
[OPENSHIFT] Cloning 'easycrm' [ssh://561c6eef89f5cf391800009c@easycrm-qprofit.rhcloud.com/~/git/easycrm.git/] to /var/lib/openshift/563d715b89f5cfd380000048/app-root/data/jobs/easycrm-github-build/builds/21/workspace/openshift-deployer-workdir/git
[OPENSHIFT] Deleting 'src'
[OPENSHIFT] Deleting 'grails-app'
[OPENSHIFT] Deleting 'wrapper'
[OPENSHIFT] Deleting 'web-app'
[OPENSHIFT] Deleting 'README.md'
[OPENSHIFT] Deleting '.gitignore'
[OPENSHIFT] Deleting 'grailsw.bat'
[OPENSHIFT] Deleting '.travis.yml'
[OPENSHIFT] Deleting 'grailsw'
[OPENSHIFT] Deleting 'pom.xml'
[OPENSHIFT] Deleting 'application.properties'
[OPENSHIFT] Deployment 'ROOT.war' copied to 'ROOT.war'
ERROR: [OPENSHIFT] java.lang.IllegalArgumentException: Source '/var/lib/openshift/563d715b89f5cfd380000048/app-root/data/jobs/easycrm-github-build/builds/18/workspace/openshift-deployer-workdir/git/.openshift' is not a directory
In Jenkins build job configuration, the value configured for .openshift directory location remain default: src/main/resources/openshift
In Github repo, I am storing all configurations into src/main/resources/openshift directory. In git repo of Openshift, I empty out the .openshift directory (with .gitkeep file to retain the empty directory).
May I know what is your workaround solution if any?
Please advise. Thank you