Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 May 2019 09:03:23 -0600
From:      Alan Somers <asomers@freebsd.org>
To:        Susan Stanziano <susan.stanziano@xinuos.com>
Cc:        freebsd-testing <freebsd-testing@freebsd.org>
Subject:   Re: Running Kyua within Jenkins script
Message-ID:  <CAOtMX2hbhpxLVX3UUcRvFs9OoDuOh79bKt7oU%2BHKHogd3qVztQ@mail.gmail.com>
In-Reply-To: <1370244969.36126.1556722502941.JavaMail.zimbra@xinuos.com>
References:  <1370244969.36126.1556722502941.JavaMail.zimbra@xinuos.com>

next in thread | previous in thread | raw e-mail | index | archive | help
How is Jenkins running the script?  If it's using "sh -e", which is
pretty common for CI systems, then it will exit immediately if any
command fails.
-Alan

On Wed, May 1, 2019 at 8:55 AM Susan Stanziano
<susan.stanziano@xinuos.com> wrote:
>
>
>
> Hi all,
>
>
>
>
> A question on running Kyua within a shell script on Jenkins.
>
>
>
>
> I=E2=80=99ve been automating test suites using Jenkins and added the
>
>
>
>
> =E2=80=9Ckyua test=E2=80=9D
>
>
>
>
> command to a shell script (default is /bin/sh) in Jenkins followed by
>
>
>
>
> the =E2=80=9Ckyua report=E2=80=9D command.
>
>
>
>
> For some reason, any commands after =E2=80=9Ckyua test=E2=80=9D do not ge=
t executed.
>
>
>
>
> Separately, either command (test or report) runs correctly within my scri=
pt on Jenkins.
>
>
>
>
> Is there something in =E2=80=9Ckyua test=E2=80=9D that after a run it kil=
ls further processes or is there something within Jenkins
>
> that would prevent subsequent commands from being executed after =E2=80=
=9Ckyua test=E2=80=9D completes?
>
>
>
>
> Or am I missing something simple here?
>
>
>
>
> Thanks for any suggestions,
>
>
>
>
> Susan
>
> susan.stanziano@xinuos.com
>
> _______________________________________________
> freebsd-testing@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-testing
> To unsubscribe, send any mail to "freebsd-testing-unsubscribe@freebsd.org=
"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2hbhpxLVX3UUcRvFs9OoDuOh79bKt7oU%2BHKHogd3qVztQ>