Hello,

I'm testing CI with Jenkins+Git+maven on windows 8.

I have problem with "No source to compile" for my java project "cez".

Jenkins checks for java sources in workspace\src ... but sources are 
located in workspace\*cez*\src ...
Jenkins copies java sources from GIT server to workspace\*cez*\src.

How to fix this problem?

INFO] ------------------------------------------------------------------------
[INFO] Building CEZ 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] *--- maven-clean-plugin:2.5:clean (default-clean) @ cez ---*[INFO] 
Deleting C:\CI_server\Jenkins\jobs\eCez\workspace\target
[INFO] 
[INFO] *--- maven-resources-plugin:2.6:resources (default-resources) @ cez 
---*[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
C:\CI_server\Jenkins\jobs\eCez\workspace\src\main\resources
[INFO] 
[INFO] *--- maven-compiler-plugin:2.3.1:compile (default-compile) @ cez 
---*[INFO] No sources to compile



C:\CI_server\Jenkins\jobs\eCez\workspace>dir
 Volume in drive C has no label.
 Volume Serial Number is 5631-9BFD

 Directory of C:\CI_server\Jenkins\jobs\eCez\workspace

11.09.2013  12:14    <DIR>          .
11.09.2013  12:14    <DIR>          ..
11.09.2013  08:23    <DIR>          cez
10.09.2013  15:17            18.222 pom.xml
11.09.2013  12:14    <DIR>          target
               1 File(s)         18.222 bytes
               4 Dir(s)  112.904.847.360 bytes free

C:\CI_server\Jenkins\jobs\eCez\workspace>cd cez

C:\CI_server\Jenkins\jobs\eCez\workspace\cez>dir
 Volume in drive C has no label.
 Volume Serial Number is 5631-9BFD

 Directory of C:\CI_server\Jenkins\jobs\eCez\workspace\cez

11.09.2013  08:23    <DIR>          .
11.09.2013  08:23    <DIR>          ..
09.09.2013  12:07             1.515 .classpath
09.09.2013  12:07                 9 .gitignore
09.09.2013  12:07             2.001 .project
09.09.2013  12:07    <DIR>          .settings
10.09.2013  17:35            18.217 pom.xml
09.09.2013  12:07               789 README.md
11.09.2013  08:23    <DIR>          src
09.09.2013  12:07    <DIR>          Users
               5 File(s)         22.531 bytes
               5 Dir(s)  112.904.847.360 bytes free

C:\CI_server\Jenkins\jobs\eCez\workspace\cez>


Regards,

Mitja

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to