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>

index | next in thread | previous in thread | raw e-mail

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’ve been automating test suites using Jenkins and added the
>
>
>
>
> “kyua test”
>
>
>
>
> command to a shell script (default is /bin/sh) in Jenkins followed by
>
>
>
>
> the “kyua report” command.
>
>
>
>
> For some reason, any commands after “kyua test” do not get executed.
>
>
>
>
> Separately, either command (test or report) runs correctly within my script on Jenkins.
>
>
>
>
> Is there something in “kyua test” that after a run it kills further processes or is there something within Jenkins
>
> that would prevent subsequent commands from being executed after “kyua test” 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"


home | help

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