You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by Xiangdong Huang <sa...@gmail.com> on 2019/07/03 13:15:20 UTC

Problem of building iotdb website

Hi,

Just now I was trying merging PR#20 of the IoTDB web site Repo, then
Jenkins Build failed, because:

+ npm install
/home/jenkins/jenkins-slave/workspace/IoTDB
Website@tmp/durable-2667489e/script.sh:
line 1: npm: command not found

However, I can build the repo on my local Mac successfully.

Does anyone know the problem?

Best,
-----------------------------------
Xiangdong Huang
School of Software, Tsinghua University

 黄向东
清华大学 软件学院

Re: Problem of building iotdb website

Posted by Xiangdong Huang <sa...@gmail.com>.
Hi,

Thanks for Christofer's help.

I have manually maintained the asf-site branch and now the website has been
updated.

Benefit to Zesong's contribution, there are 3 changes in the website:

1. A fork and start buttons are on the website :p

2. The structure of documents is more clear than before, and it is friendly
for contributors who want to add a totally new doc.

3. A "switch to Chinese" button is added on the document pages.
(the Chinese version document does not follow the latest codes and English
version docs. Hope someones can writing it.)

Best,
-----------------------------------
Xiangdong Huang
School of Software, Tsinghua University

 黄向东
清华大学 软件学院


Christofer Dutz <ch...@c-ware.de> 于2019年7月5日周五 下午3:54写道:

> Hi Xiangdong,
>
> you should be able to checkout the latest version of the asf-site branch
> in the website repo and simply copy over the new content and then just push
> it.
> The permissions should be the same as with the iotdb repo.
>
> Chris
>
> Am 05.07.19, 09:48 schrieb "Xiangdong Huang" <sa...@gmail.com>:
>
>     Hi,
>
>     There is no response from INFRA up to now....
>
>     Does anyone know that if I upload the generated files (i.e., the
> "static"
>     folder and the index.html) to the "asf-site" branch directly, can we
> avoid
>     Jenkins CI and update the website?
>
>     Best,
>     -----------------------------------
>     Xiangdong Huang
>     School of Software, Tsinghua University
>
>      黄向东
>     清华大学 软件学院
>
>
>     孙泽嵩 <24...@qq.com> 于2019年7月3日周三 下午10:02写道:
>
>     > Sure,
>     >
>     >
>     > I have submitted ticket
> https://issues.apache.org/jira/browse/INFRA-18700,
>     > and I will continue focusing this issue.
>     >
>     >
>     > Best Regards,
>     > ------------------
>     > Zesong Sun
>     >
>     >
>     >
>     >
>     >
>     >
>     > ------------------ 原始邮件 ------------------
>     > 发件人: "Xiangdong Huang"<sa...@gmail.com>;
>     > 发送时间: 2019年7月3日(星期三) 晚上9:39
>     > 收件人: "dev"<de...@qq.com>;
>     >
>     > 主题: Re: Problem of building iotdb website
>     >
>     >
>     >
>     > Hi Chris,
>     > Many Thanks!
>     >
>     > Hi Zesong, can you have a try to submit a ticket on JIRA INFRA?
>     >
>     > Best,
>     > -----------------------------------
>     > Xiangdong Huang
>     > School of Software, Tsinghua University
>     >
>     >  黄向东
>     > 清华大学 软件学院
>     >
>     >
>     > Christofer Dutz <ch...@c-ware.de> 于2019年7月3日周三 下午9:22写道:
>     >
>     > > There were changes last week with the website build node last
> week. We
>     > had
>     > > some issues last week with the plc4x website too. Please contact
> infra.
>     > >
>     > > Chris
>     > >
>     > > Holen Sie sichOutlook für Android<https://aka.ms/ghei36>
>     > >
>     > > ________________________________
>     > > From: Xiangdong Huang <sa...@gmail.com>
>     > > Sent: Wednesday, July 3, 2019 3:17:21 PM
>     > > To: dev@iotdb.apache.org
>     > > Subject: Re: Problem of building iotdb website
>     > >
>     > > Hm, while I am trying to reverting the code base back to previous
> master
>     > > version, the Jenkins failed once again. The problem still is `npm
> command
>     > > not found` ...
>     > >
>     > > So, I think the issues is not caused by the PR.
>     > >
>     > > Is there something wrong with the Jenkins-slave machine?
>     > >
>     > > Best,
>     > > -----------------------------------
>     > > Xiangdong Huang
>     > > School of Software, Tsinghua University
>     > >
>     > >  黄向东
>     > > 清华大学 软件学院
>     > >
>     > >
>     > > Xiangdong Huang <sa...@gmail.com> 于2019年7月3日周三 下午9:15写道:
>     > >
>     > > > Hi,
>     > > >
>     > > > Just now I was trying merging PR#20 of the IoTDB web site Repo,
> then
>     > > > Jenkins Build failed, because:
>     > > >
>     > > > + npm install
>     > > > /home/jenkins/jenkins-slave/workspace/IoTDB Website@tmp
>     > > /durable-2667489e/script.sh:
>     > > > line 1: npm: command not found
>     > > >
>     > > > However, I can build the repo on my local Mac successfully.
>     > > >
>     > > > Does anyone know the problem?
>     > > >
>     > > > Best,
>     > > > -----------------------------------
>     > > > Xiangdong Huang
>     > > > School of Software, Tsinghua University
>     > > >
>     > > >  黄向东
>     > > > 清华大学 软件学院
>     > > >
>     > >
>
>
>

Re: Problem of building iotdb website

Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Xiangdong,

you should be able to checkout the latest version of the asf-site branch in the website repo and simply copy over the new content and then just push it.
The permissions should be the same as with the iotdb repo.

Chris

Am 05.07.19, 09:48 schrieb "Xiangdong Huang" <sa...@gmail.com>:

    Hi,
    
    There is no response from INFRA up to now....
    
    Does anyone know that if I upload the generated files (i.e., the "static"
    folder and the index.html) to the "asf-site" branch directly, can we avoid
    Jenkins CI and update the website?
    
    Best,
    -----------------------------------
    Xiangdong Huang
    School of Software, Tsinghua University
    
     黄向东
    清华大学 软件学院
    
    
    孙泽嵩 <24...@qq.com> 于2019年7月3日周三 下午10:02写道:
    
    > Sure,
    >
    >
    > I have submitted ticket https://issues.apache.org/jira/browse/INFRA-18700,
    > and I will continue focusing this issue.
    >
    >
    > Best Regards,
    > ------------------
    > Zesong Sun
    >
    >
    >
    >
    >
    >
    > ------------------ 原始邮件 ------------------
    > 发件人: "Xiangdong Huang"<sa...@gmail.com>;
    > 发送时间: 2019年7月3日(星期三) 晚上9:39
    > 收件人: "dev"<de...@qq.com>;
    >
    > 主题: Re: Problem of building iotdb website
    >
    >
    >
    > Hi Chris,
    > Many Thanks!
    >
    > Hi Zesong, can you have a try to submit a ticket on JIRA INFRA?
    >
    > Best,
    > -----------------------------------
    > Xiangdong Huang
    > School of Software, Tsinghua University
    >
    >  黄向东
    > 清华大学 软件学院
    >
    >
    > Christofer Dutz <ch...@c-ware.de> 于2019年7月3日周三 下午9:22写道:
    >
    > > There were changes last week with the website build node last week. We
    > had
    > > some issues last week with the plc4x website too. Please contact infra.
    > >
    > > Chris
    > >
    > > Holen Sie sichOutlook für Android<https://aka.ms/ghei36>
    > >
    > > ________________________________
    > > From: Xiangdong Huang <sa...@gmail.com>
    > > Sent: Wednesday, July 3, 2019 3:17:21 PM
    > > To: dev@iotdb.apache.org
    > > Subject: Re: Problem of building iotdb website
    > >
    > > Hm, while I am trying to reverting the code base back to previous master
    > > version, the Jenkins failed once again. The problem still is `npm command
    > > not found` ...
    > >
    > > So, I think the issues is not caused by the PR.
    > >
    > > Is there something wrong with the Jenkins-slave machine?
    > >
    > > Best,
    > > -----------------------------------
    > > Xiangdong Huang
    > > School of Software, Tsinghua University
    > >
    > >  黄向东
    > > 清华大学 软件学院
    > >
    > >
    > > Xiangdong Huang <sa...@gmail.com> 于2019年7月3日周三 下午9:15写道:
    > >
    > > > Hi,
    > > >
    > > > Just now I was trying merging PR#20 of the IoTDB web site Repo, then
    > > > Jenkins Build failed, because:
    > > >
    > > > + npm install
    > > > /home/jenkins/jenkins-slave/workspace/IoTDB Website@tmp
    > > /durable-2667489e/script.sh:
    > > > line 1: npm: command not found
    > > >
    > > > However, I can build the repo on my local Mac successfully.
    > > >
    > > > Does anyone know the problem?
    > > >
    > > > Best,
    > > > -----------------------------------
    > > > Xiangdong Huang
    > > > School of Software, Tsinghua University
    > > >
    > > >  黄向东
    > > > 清华大学 软件学院
    > > >
    > >
    


Re: Problem of building iotdb website

Posted by Xiangdong Huang <sa...@gmail.com>.
Hi,

There is no response from INFRA up to now....

Does anyone know that if I upload the generated files (i.e., the "static"
folder and the index.html) to the "asf-site" branch directly, can we avoid
Jenkins CI and update the website?

Best,
-----------------------------------
Xiangdong Huang
School of Software, Tsinghua University

 黄向东
清华大学 软件学院


孙泽嵩 <24...@qq.com> 于2019年7月3日周三 下午10:02写道:

> Sure,
>
>
> I have submitted ticket https://issues.apache.org/jira/browse/INFRA-18700,
> and I will continue focusing this issue.
>
>
> Best Regards,
> ------------------
> Zesong Sun
>
>
>
>
>
>
> ------------------ 原始邮件 ------------------
> 发件人: "Xiangdong Huang"<sa...@gmail.com>;
> 发送时间: 2019年7月3日(星期三) 晚上9:39
> 收件人: "dev"<de...@qq.com>;
>
> 主题: Re: Problem of building iotdb website
>
>
>
> Hi Chris,
> Many Thanks!
>
> Hi Zesong, can you have a try to submit a ticket on JIRA INFRA?
>
> Best,
> -----------------------------------
> Xiangdong Huang
> School of Software, Tsinghua University
>
>  黄向东
> 清华大学 软件学院
>
>
> Christofer Dutz <ch...@c-ware.de> 于2019年7月3日周三 下午9:22写道:
>
> > There were changes last week with the website build node last week. We
> had
> > some issues last week with the plc4x website too. Please contact infra.
> >
> > Chris
> >
> > Holen Sie sichOutlook für Android<https://aka.ms/ghei36>
> >
> > ________________________________
> > From: Xiangdong Huang <sa...@gmail.com>
> > Sent: Wednesday, July 3, 2019 3:17:21 PM
> > To: dev@iotdb.apache.org
> > Subject: Re: Problem of building iotdb website
> >
> > Hm, while I am trying to reverting the code base back to previous master
> > version, the Jenkins failed once again. The problem still is `npm command
> > not found` ...
> >
> > So, I think the issues is not caused by the PR.
> >
> > Is there something wrong with the Jenkins-slave machine?
> >
> > Best,
> > -----------------------------------
> > Xiangdong Huang
> > School of Software, Tsinghua University
> >
> >  黄向东
> > 清华大学 软件学院
> >
> >
> > Xiangdong Huang <sa...@gmail.com> 于2019年7月3日周三 下午9:15写道:
> >
> > > Hi,
> > >
> > > Just now I was trying merging PR#20 of the IoTDB web site Repo, then
> > > Jenkins Build failed, because:
> > >
> > > + npm install
> > > /home/jenkins/jenkins-slave/workspace/IoTDB Website@tmp
> > /durable-2667489e/script.sh:
> > > line 1: npm: command not found
> > >
> > > However, I can build the repo on my local Mac successfully.
> > >
> > > Does anyone know the problem?
> > >
> > > Best,
> > > -----------------------------------
> > > Xiangdong Huang
> > > School of Software, Tsinghua University
> > >
> > >  黄向东
> > > 清华大学 软件学院
> > >
> >

回复: Problem of building iotdb website

Posted by 孙泽嵩 <24...@qq.com>.
Sure, 


I have submitted ticket https://issues.apache.org/jira/browse/INFRA-18700,
and I will continue focusing this issue.


Best Regards,
------------------
Zesong Sun 






------------------ 原始邮件 ------------------
发件人: "Xiangdong Huang"<sa...@gmail.com>;
发送时间: 2019年7月3日(星期三) 晚上9:39
收件人: "dev"<de...@qq.com>;

主题: Re: Problem of building iotdb website



Hi Chris,
Many Thanks!

Hi Zesong, can you have a try to submit a ticket on JIRA INFRA?

Best,
-----------------------------------
Xiangdong Huang
School of Software, Tsinghua University

 黄向东
清华大学 软件学院


Christofer Dutz <ch...@c-ware.de> 于2019年7月3日周三 下午9:22写道:

> There were changes last week with the website build node last week. We had
> some issues last week with the plc4x website too. Please contact infra.
>
> Chris
>
> Holen Sie sichOutlook für Android<https://aka.ms/ghei36>
>
> ________________________________
> From: Xiangdong Huang <sa...@gmail.com>
> Sent: Wednesday, July 3, 2019 3:17:21 PM
> To: dev@iotdb.apache.org
> Subject: Re: Problem of building iotdb website
>
> Hm, while I am trying to reverting the code base back to previous master
> version, the Jenkins failed once again. The problem still is `npm command
> not found` ...
>
> So, I think the issues is not caused by the PR.
>
> Is there something wrong with the Jenkins-slave machine?
>
> Best,
> -----------------------------------
> Xiangdong Huang
> School of Software, Tsinghua University
>
>  黄向东
> 清华大学 软件学院
>
>
> Xiangdong Huang <sa...@gmail.com> 于2019年7月3日周三 下午9:15写道:
>
> > Hi,
> >
> > Just now I was trying merging PR#20 of the IoTDB web site Repo, then
> > Jenkins Build failed, because:
> >
> > + npm install
> > /home/jenkins/jenkins-slave/workspace/IoTDB Website@tmp
> /durable-2667489e/script.sh:
> > line 1: npm: command not found
> >
> > However, I can build the repo on my local Mac successfully.
> >
> > Does anyone know the problem?
> >
> > Best,
> > -----------------------------------
> > Xiangdong Huang
> > School of Software, Tsinghua University
> >
> >  黄向东
> > 清华大学 软件学院
> >
>

Re: Problem of building iotdb website

Posted by Xiangdong Huang <sa...@gmail.com>.
Hi Chris,
Many Thanks!

Hi Zesong, can you have a try to submit a ticket on JIRA INFRA?

Best,
-----------------------------------
Xiangdong Huang
School of Software, Tsinghua University

 黄向东
清华大学 软件学院


Christofer Dutz <ch...@c-ware.de> 于2019年7月3日周三 下午9:22写道:

> There were changes last week with the website build node last week. We had
> some issues last week with the plc4x website too. Please contact infra.
>
> Chris
>
> Holen Sie sichOutlook für Android<https://aka.ms/ghei36>
>
> ________________________________
> From: Xiangdong Huang <sa...@gmail.com>
> Sent: Wednesday, July 3, 2019 3:17:21 PM
> To: dev@iotdb.apache.org
> Subject: Re: Problem of building iotdb website
>
> Hm, while I am trying to reverting the code base back to previous master
> version, the Jenkins failed once again. The problem still is `npm command
> not found` ...
>
> So, I think the issues is not caused by the PR.
>
> Is there something wrong with the Jenkins-slave machine?
>
> Best,
> -----------------------------------
> Xiangdong Huang
> School of Software, Tsinghua University
>
>  黄向东
> 清华大学 软件学院
>
>
> Xiangdong Huang <sa...@gmail.com> 于2019年7月3日周三 下午9:15写道:
>
> > Hi,
> >
> > Just now I was trying merging PR#20 of the IoTDB web site Repo, then
> > Jenkins Build failed, because:
> >
> > + npm install
> > /home/jenkins/jenkins-slave/workspace/IoTDB Website@tmp
> /durable-2667489e/script.sh:
> > line 1: npm: command not found
> >
> > However, I can build the repo on my local Mac successfully.
> >
> > Does anyone know the problem?
> >
> > Best,
> > -----------------------------------
> > Xiangdong Huang
> > School of Software, Tsinghua University
> >
> >  黄向东
> > 清华大学 软件学院
> >
>

Re: Problem of building iotdb website

Posted by Christofer Dutz <ch...@c-ware.de>.
There were changes last week with the website build node last week. We had some issues last week with the plc4x website too. Please contact infra.

Chris

Holen Sie sichOutlook für Android<https://aka.ms/ghei36>

________________________________
From: Xiangdong Huang <sa...@gmail.com>
Sent: Wednesday, July 3, 2019 3:17:21 PM
To: dev@iotdb.apache.org
Subject: Re: Problem of building iotdb website

Hm, while I am trying to reverting the code base back to previous master
version, the Jenkins failed once again. The problem still is `npm command
not found` ...

So, I think the issues is not caused by the PR.

Is there something wrong with the Jenkins-slave machine?

Best,
-----------------------------------
Xiangdong Huang
School of Software, Tsinghua University

 黄向东
清华大学 软件学院


Xiangdong Huang <sa...@gmail.com> 于2019年7月3日周三 下午9:15写道:

> Hi,
>
> Just now I was trying merging PR#20 of the IoTDB web site Repo, then
> Jenkins Build failed, because:
>
> + npm install
> /home/jenkins/jenkins-slave/workspace/IoTDB Website@tmp/durable-2667489e/script.sh:
> line 1: npm: command not found
>
> However, I can build the repo on my local Mac successfully.
>
> Does anyone know the problem?
>
> Best,
> -----------------------------------
> Xiangdong Huang
> School of Software, Tsinghua University
>
>  黄向东
> 清华大学 软件学院
>

Re: Problem of building iotdb website

Posted by Xiangdong Huang <sa...@gmail.com>.
Hm, while I am trying to reverting the code base back to previous master
version, the Jenkins failed once again. The problem still is `npm command
not found` ...

So, I think the issues is not caused by the PR.

Is there something wrong with the Jenkins-slave machine?

Best,
-----------------------------------
Xiangdong Huang
School of Software, Tsinghua University

 黄向东
清华大学 软件学院


Xiangdong Huang <sa...@gmail.com> 于2019年7月3日周三 下午9:15写道:

> Hi,
>
> Just now I was trying merging PR#20 of the IoTDB web site Repo, then
> Jenkins Build failed, because:
>
> + npm install
> /home/jenkins/jenkins-slave/workspace/IoTDB Website@tmp/durable-2667489e/script.sh:
> line 1: npm: command not found
>
> However, I can build the repo on my local Mac successfully.
>
> Does anyone know the problem?
>
> Best,
> -----------------------------------
> Xiangdong Huang
> School of Software, Tsinghua University
>
>  黄向东
> 清华大学 软件学院
>