Hi Derek Brown, 

Can i directly call my .sh file into build section.

Thanks

On Wednesday, 28 September 2011 01:49:58 UTC+5:30, Derek Brown wrote:
>
> Create a Jenkins job, ( i created a free-style software project) 
> In the configuration of that job there is a "Build" section with "Add 
> build step" pulldown. 
> Add a "Execute Shell" step, and  insert your code. 
>
> Hope this helps! 
> Derek . . . 
>
> On Sep 27, 10:00 am, Kendiol <meh.bela...@gmail.com> wrote: 
> > Hello everyone, 
> > 
> > I'm a complete newbie to Jenkins. 
> > I'm trying to get Jenkins to monitor the execution of my shell script 
> > so i that i don't have to launch them manually each time but i can't 
> > figure out how to do it. 
> > I found out about the "monitor external job" option but i can't 
> > configure it correctly. 
> > I know that Jenkins can understand Shell script exit code so this is 
> > what i did : 
> > 
> > test1(){ 
> > ls /home/user1 | grep $2 
> > case $? in 
> >         0) msg_error 0 "Okay." 
> >                 ;; 
> >         *) msg_error 2 "Error." 
> >                 ;; 
> > esac 
> > 
> > } 
> > 
> > It's a simplified version of my functions. 
> > I execute them manually but i want to launch them from Jenkins with 
> > arguments and get the results of course. 
> > Can this be done ? 
> > 
> > Thanks.

-- 
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/8cb077b4-c41a-49ae-bdb1-793b9014a066%40googlegroups.com.

Reply via email to