You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by gi...@git.apache.org on 2017/07/22 06:31:25 UTC

[GitHub] sijie commented on a change in pull request #206: Issue-196 Create Jenkins configuration using OpenStack Jenkins Job Builder

sijie commented on a change in pull request #206: Issue-196 Create Jenkins configuration using OpenStack Jenkins Job Builder
URL: https://github.com/apache/bookkeeper/pull/206#discussion_r128890895
 
 

 ##########
 File path: jenkins/README.md
 ##########
 @@ -0,0 +1,65 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
+Instructions for build Jenkins bookkeeper-master job using Jenkins Job Builder
+
+
+Requirements:
+
+* Unix System
+* Jenkins Job Builder (see https://docs.openstack.org/infra/jenkins-job-builder/)
+
+
+The jenkins folder contains:
+
+ - bookkeeper-master-job-configuration.yaml   (Jenkins job definition)
+ - jenkins_jobs.ini   (Jenkins job builder configuration)
+
+
+Build and install latest version of jenkins-job-builder;
+
+```
+$ git clone https://git.openstack.org/openstack-infra/jenkins-job-builder
+```
+
+```
+$ python setup.py build
+```
+
+```
+$ python setup.py install --user
+```
+
+How do I create job ?
+
+Get an username and an "API Token" for your Jenkins configuration
+
+In order to test jenkins job configuration, run:
+
+```
+   $ jenkins-jobs test bookkeeper-master-job-configuration.yaml
 
 Review comment:
   please document which directory to run this command.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services