[OmniOS-discuss] Jenkins CI on OmniOS? (NPE)
Dan Vatca
dan at syneto.net
Fri Oct 3 12:11:03 UTC 2014
Strange indeed. This might be related to Jenkins scripts expecting /bin/sh
to be bash, while on illumos it is not.
I've seen build/installation scripts in the past (especially coming from
the linux world) that assume this and fail.
Dan.
On Fri, Oct 3, 2014 at 2:54 PM, Magnus <magnus at yonderway.com> wrote:
>
> On Oct 3, 2014, at 4:09 AM, Dan Vatca <dan at syneto.net> wrote:
> >
> >
> > The user you are installing jenkins with (called jenkins) has configured
> his home directory as /export/home/jenkins, and that directory does not
> exist. Create a filesystem for it (or just a directory) and then change the
> user's home directory to that directory using usermod. Also change the
> owner of that directory to be jenkins (using chown).
> > Hope this helps,
>
> Hi Dan,
>
> On the surface that might sound true. But…
>
> jenkins at jenkins:/export/home/jenkins$ pwd
> /export/home/jenkins
>
> -and-
>
> jenkins at jenkins:/export/home/jenkins$ cd ..
> jenkins at jenkins:/export/home$ ls -la | grep jenkins
> drwx------ 4 jenkins other 14 Oct 3 03:45 jenkins
>
> Strange, huh?
>
> -M
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20141003/655bd7ed/attachment.html>
More information about the OmniOS-discuss
mailing list