Hi there,

 As far as I see your use case won't work without adding some further build 
steps. BuildNow button doesn't mean it will compile your java code unless 
you add your javac command. Build Now button means it will execute the job 
and will run whatever you define within your Jenkins job. 

 In your case, you might read the below references which might introduce 
you some Jenkins concepts:

 - https://wiki.jenkins-ci.org/display/JENKINS/Use+Jenkins

I hope it helps

Cheers


On Wednesday, 30 September 2015 08:59:39 UTC+2, ajith...@gmail.com wrote:
>
> Any help regarding this post?
>
> On Tuesday, September 29, 2015 at 3:55:24 PM UTC+5:30, ajith...@gmail.com 
> wrote:
>>
>> Hi,
>>
>> I am using Jenkins Software for building my HelloWorld.java code.
>>
>> I can see that it shows Build success, but no .class files got generated.
>>
>> I have followed the below steps:
>>
>> 1. I have stored HelloWorld.java in my /home/myuser/
>>
>> 2. Under Source code management I have selected 'None' option
>>  
>> 3. Under Advanced Project Options in the 'Display Name' I am giving the 
>> path
>> where my source file is located.
>>
>> 4. I applied the above changes and saved by clicking save.
>>
>> 5. Then I tried to build the project using BuildNow button. 
>>
>> It gives as build success and the console output is shown below.
>>
>>    Started by user anonymous
>>    Building in workspace
>> /usr/share/tomcat7/.jenkins/jobs/Ievcs_build1/workspace
>>    Finished: SUCCESS
>>
>> But I checked in /usr/share/tomcat7/.jenkins/jobs/Ievcs_build1/workspace
>> there are no .class files present.
>>
>> Please teach me how to build and generate .class files using jenkins.
>>
>>  Regards,
>>  Ajith
>>
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ded817a9-afb4-4ee1-b01a-2e2375ea9a04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to