Giter Club home page Giter Club logo

cognizantonedevops / buildon Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.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%
buildon headless-jenkins jenkins-containers jenkins-docker-pipeline jenkins-kubernetes jenkinsfile-container jenkinsfile-kubernetes kubernetes-docker-cicd onedevops-buildon

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

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

REST API option

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

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

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

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?

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?

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 ?

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)

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

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.