Re: Re: [incubator-iotdb-website] branch master updated: Added a first version of a Jenkinsfile for build on Apache Infra

2018-12-20 Thread Christofer Dutz
Ideally we should wipe the workspace in a step after deploying the new version, but I left that out for now as this way we can inspect what happened in the build. Chris Outlook for Android herunterladen From: 徐毅 Sent: Thursday, December

Re: Re: [incubator-iotdb-website] branch master updated: Added a first version of a Jenkinsfile for build on Apache Infra

2018-12-20 Thread 徐毅
Hi, I have a question, before building our project, should we run 'npm run clean' first to clean files under 'dist' directory? So I suppose package.json file should be something like this: -- "scripts": { "clean": "rimraf dist/*", "dev": "webpack-dev-server --inline --progress

Re: [incubator-iotdb-website] branch master updated: Added a first version of a Jenkinsfile for build on Apache Infra

2018-12-20 Thread Christofer Dutz
Ok ... now it seems to be working. It took me a little longer than usual as there were issues with the nodes and I have to admit I had to learn how to do the deployment with node and npm first. But now I think it should work. I also setup a view for IoTDB in Jenkins:

Re: [incubator-iotdb-website] branch master updated: Added a first version of a Jenkinsfile for build on Apache Infra

2018-12-20 Thread Christofer Dutz
Well it's simply not finished yet ... I intentionally didn't add the push part yet as I wanted the generation part to work first. And there were infra issues this morning that prevented me from proceeding faster (git-websites nodes were all offline) I'm still working on it and will inform you as

Re: [incubator-iotdb-website] branch master updated: Added a first version of a Jenkinsfile for build on Apache Infra

2018-12-20 Thread 徐毅
Hi, I notice that jenkins pipeline file has been added into incubator-iotdb-website project on master branch. I have two questions about this file. First, I do not see codes like "asf-site", so how can this script push static files(html/css/js) to asf-site branch to release new changes?