Git Product home page Git Product logo

cognizantonedevops / buildon Goto Github PK

View Code? Open in Web Editor NEW
10.0 9.0 19.0 7.17 MB

BuildOn - A container based Continuous Integration solution that creates build infrastructure on-demand

Home Page: https://onedevops.atlassian.net/wiki/spaces/OB/overview

License: Apache License 2.0

Shell 0.13% Groovy 0.01% Java 1.57% Python 0.19% HTML 0.36% CSS 6.73% JavaScript 91.00% Dockerfile 0.02%
headless-jenkins jenkins-docker-pipeline jenkins-kubernetes kubernetes-docker-cicd jenkinsfile-kubernetes jenkins-containers jenkinsfile-container buildon onedevops-buildon

buildon's Introduction

BuildOn

A container-based Continuous Integration (CI) solution that creates build infrastructure on-demand

It is a time consuming and laborious process to create an ecosystem to run CI with Jenkins. This involves various activities which include setting up of software, hardware, configuring Jenkins masters and slaves, analysis and installation of the necessary software’s, installing plug-ins, and providing accesses to different users.

The Jenkins ecosystem has low infrastructure utilization, limited ability to manage numerous plug-ins needed for technologies and limited scalability of build infrastructure. As a result, developers wait in long queues for committing build codes. UI based Jenkins build configurations increase vulnerability of the pipeline to any code changes. These factors increase the time-to-market and costs of CI while using Jenkins.

BuildOn, based on Docker, Jenkins and Kubernetes, creates build infrastructure on-demand using virtualization and container technologies. In turn, BuildOn fast-tracks CI set-up, reduces consumption of infrastructure and provides unlimited scalability of build infrastructure. BuildOn supports technologies built on Linux.

BuildOn is distributed under the Apache 2.0 license. https://www.apache.org/licenses/LICENSE-2.0

For installation instruction please refer to the link -> https://onedevops.atlassian.net/wiki/spaces/OB/pages/11108353/Installation+of+BuildOn

For Detailed product documentation and feature list please refer to the link -> https://onedevops.atlassian.net/wiki/spaces/OB/overview

For information on the release notes please refer to the below mentioned link -> https://onedevops.atlassian.net/wiki/spaces/OB/pages/24707608/Release+Notes

buildon's People

Contributors

jeyanthibalakrishnan avatar malarvizhichandramohan avatar rajkumarc2000 avatar vishwajitmankar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

buildon's Issues

Significance of web-hooks in buildon

I tried to turn OFF the web-hook and I can modify the Jenkins file through Jenkinsfile editor and check-in.
When web-hook is turned ON I can commit the Jenkins file through editor. What is the significance of this ON option?Will it trigger build on automatically?

Openldap authentication not working

Hi,
I have tried to setup the openldap with latest code base.
But login not succeeded.

2017-12-04 12:40:15 [http-nio-8443-exec-6] DEBUG c.m.v.resourcepool.BasicResourcePool - awaitAvailable(): [unknown]
2017-12-04 12:40:16 [http-nio-8443-exec-6] DEBUG c.c.b.domain.LDAPAuthentication - javax.naming.NotContextException: Not an instance of DirContext
2017-12-04 12:40:27 [DefaultQuartzScheduler_QuartzSchedulerThread] DEBUG o.quartz.core.QuartzSchedulerThread - batch acquisition of 0 triggers

Here's is my LDAP setttings

#LDAP
ldap.server=ldap://ldapserver:389
#For openLDAP anonymous user ldap.user and ldap.password set to empty.
#For LDAP set values - ldap.user and ldap.password
ldap.user=Manager
ldap.password=password
ldap.searchbase=dc=maxcrc,dc=com
ldap.distributionlist=
#For ldap isLDAP set to true
ldap.isLDAP=true
#For openldap isopenLDAP set to true
ldap.isopenLDAP=true

REST API option

Are the options in the webui, like setting scm repo, trigger buildon etc all exposed via REST or CLI options ?

Buildon is failing

Team,
I have installed buildon UI v1.2 with local DB authentication.
I'm using the latest image "devopsbasservice/buildonframework:buildonJenkinsfile2.0" in Jenkinsfile.
I'm able to configure SCM and buildon is failing with few errors. Attaching the buildonui & framework log for your reference
buildon_rollingfile.2017-11-28.0.log

framework.log

Buildon status is inprogress

I'm able to run buildon with latest code base and kubernetes 1.8.
The build status is showing as Inprogress
image

The DNS is resolving properly

ping ip-10-0-0-94
PING ip-10-0-0-94.ec2.internal (10.0.0.94) 56(84) bytes of data.
64 bytes from ip-10-0-0-94.ec2.internal (10.0.0.94): icmp_seq=1 ttl=64 time=0.030 ms

ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.036 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.029 ms

buildon_rollingfile.2017-12-01.4.log
framework.log
localhost.2017-12-01.log

Bitbucket Test connection failing

Hi,

I' ve setup Buildon with below configuration

Operating System: Centos 7.3
Tomcat : 8.0.39
Buildon: 1.2.2
Python: 2.7.5
K8S: v1.8.1
Postgres: v9.5.10

I'm using Bitbucket 5.7 as SCM tool with valid personal access token and getting exception on Test Connection

image

DEBUG c.c.buildon.domain.GitOperations - org.eclipse.jgit.api.errors.TransportException: http://[email protected]:7990/scm/seal/samplestudentproject.git: not authorized

Buildon log files attached.
buildon_rollingfile.2018-02-07.0.log

Any clue on this issue ?

LDAP authentication failing

I have followed the instructions provided in below link to setup BuildOn
https://onedevops.atlassian.net/wiki/spaces/OB/pages/11108353/Installation+of+BuildOn

I have enabled LDAP for authentication. But when I try to login to the buildon ui the authentication is failing with "invalid credentials" and shows below error on buildonui.log

07:26:25.663 [http-nio-8443-exec-9] DEBUG c.c.b.domain.LDAPAuthentication - javax.naming.InvalidNameException: [LDAP: error code 34 - invalid DN]
07:26:25.663 [http-nio-8443-exec-9] DEBUG c.c.b.domain.LDAPAuthentication - javax.naming.NotContextException: Not an instance of DirContext

My LDAP settings are

#LDAP
ldap.server=ldap://ldapserver:389
ldap.isLDAP=true
ldap.user=Manager
ldap.password=pass
ldap.searchbase=DC=maxcrc,DC=com
ldap.distributionlist=

I'm trying to login with e-mail id in build on ui. Is there any configurations I have missed out? Please help

openldap login fails

I have tried the latest code v1.2 with openLDAP configurations. I'm not able to login to the UI. Here's my ldap settings.

#LDAP
ldap.server=ldap://ldapserver:389/
#For openLDAP anonymous user ldap.user and ldap.password set to empty.
#For LDAP set values - ldap.user and ldap.password
ldap.user=
ldap.password=
ldap.searchbase=dc=maxcrc,dc=com
ldap.distributionlist=
#For ldap isLDAP set to true
ldap.isLDAP=true
#For openldap isopenLDAP set to true
ldap.isopenLDAP=true

This is the error in tomcat logs.

24-Nov-2017 09:57:47.950 SEVERE [http-nio-8443-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [com.cognizant.buildon.controller.AuthenticationWebController] in context with path [/buildon] threw exception
java.lang.NullPointerException
at com.cognizant.buildon.domain.LDAPAuthentication.getEmpId(LDAPAuthentication.java:294)
at com.cognizant.buildon.controller.AuthenticationWebController.doPost(AuthenticationWebController.java:289)

Any suggestions please?

Pipeline view is not working for buildon triggered from framework

Team,

The pipeline view is not working in historical reports for buildon triggered via github webhook framework.

image

I have found an exception on tomcat localhost log

11-Dec-2017 12:48:08.420 SEVERE [http-nio-8443-exec-9] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [com.cognizant.buildon.controller.HistoricCIWebController] in context with path [/buildon] threw exception
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:657)
at java.util.ArrayList.get(ArrayList.java:433)
at com.cognizant.buildon.domain.GitOperations.gethistoricalBranch(GitOperations.java:1229)
at com.cognizant.buildon.controller.HistoricCIWebController.doPost(HistoricCIWebController.java:277)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.