You're right, I knew that, but I didn't realize that if a script returns a 
non-zero exit code, it fails the build.

It worked.

Tks

Rui

On Friday, September 21, 2012 3:59:29 AM UTC-3, Neil Bird wrote:
>
> Around about 20/09/12 18:23, Rui Fernando Hayashi typed ... 
> > To be more specific. Before performing the project release, the 
> developer 
> > must perform a task. I created a parameter that indicates whether the 
> task's 
> > been performed. I want that the release only occurs if the developer 
> > explicitly says that he/she performed that task. 
>
>    IIRC, job params. appear as environment variables in the job script; 
> could you not just check it there and exit the job early? 
>
> -- 
> [neil@fnx ~]# rm -f .signature 
> [neil@fnx ~]# ls -l .signature 
> ls: .signature: No such file or directory 
> [neil@fnx ~]# exit 
>

Reply via email to