Connecting with Github.com repository

94 views
Skip to first unread message

Jainath Gupta

unread,
Jul 5, 2017, 1:59:01 AM7/5/17
to Drools Setup
Hi,
Every thing is Ok. But in the step 7 I create one folder with post-commit and paste #!/bin/sh git push origin master (same as in link with new line).And after, when am I making any changes in kie-workbench's .drl (Or create a new .drl) file and build & deploy this changes is not reflected in my github.com repository.

Thanks

Abhijit Humbe

unread,
Jul 5, 2017, 7:24:15 AM7/5/17
to drools...@googlegroups.com
did you see any exception in log file ? Make sure post-commit file as required permissions as mentioned in doc.Share log file with us


Abhijit Humbe

--
You received this message because you are subscribed to the Google Groups "Drools Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-setup+unsubscribe@googlegroups.com.
To post to this group, send email to drools...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/drools-setup/6f733014-e177-421c-ad5e-58ecb0d47fec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jainath Gupta

unread,
Jul 5, 2017, 11:17:29 AM7/5/17
to Drools Setup
Hi Abhijit,
 In log no any error. How can i give permission with rwxr--r-- in window 7 . I was just created one file with name of the post-commit and paste respective content.

On Wednesday, July 5, 2017 at 4:54:15 PM UTC+5:30, Abhijit Humbe wrote:
did you see any exception in log file ? Make sure post-commit file as required permissions as mentioned in doc.Share log file with us


Abhijit Humbe

On Wed, Jul 5, 2017 at 11:29 AM, Jainath Gupta <jaina...@gmail.com> wrote:
Hi,
Every thing is Ok. But in the step 7 I create one folder with post-commit and paste #!/bin/sh git push origin master (same as in link with new line).And after, when am I making any changes in kie-workbench's .drl (Or create a new .drl) file and build & deploy this changes is not reflected in my github.com repository.

Thanks

--
You received this message because you are subscribed to the Google Groups "Drools Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-setup...@googlegroups.com.

Abhijit Humbe

unread,
Jul 5, 2017, 11:41:26 AM7/5/17
to drools...@googlegroups.com

Such issues can be resolved after installing Git client and Cygwin (for windows) like softwares and ensuring that their installation path (e.g. /bin directory) is properly set in Windows environment's PATH variable (e.g. C:/cygwin/bin). In Windows OS requires Cygwin installed to make git hooks work properly.


Abhijit Humbe

To unsubscribe from this group and stop receiving emails from it, send an email to drools-setup+unsubscribe@googlegroups.com.

To post to this group, send email to drools...@googlegroups.com.

Jainath Gupta

unread,
Jul 6, 2017, 1:22:57 AM7/6/17
to Drools Setup
I had installed Cygwin and set the path C:\Program Files (x86)\MySQL\MySQL Server 5.1\bin;%MAVEN_HOME%\bin;%JAVA_HOME%\bin;D:\Project Software\Git\cmd;D:\cygwin64\bin;  But when I make any changes on workbench and save it (Also build & deploy) 
it showing some credential problem in log.
note:- When i clone repository in kie-workbench from github, I passed credential.
Thanks

server.log


2017-07-06 10:40:15,000 TRACE [org.jboss.security] (EJB default - 1) PBOX000354: Setting security roles ThreadLocal: {}
2017-07-06 10:40:15,063 TRACE [org.jboss.security] (EJB default - 1) PBOX000354: Setting security roles ThreadLocal: null
2017-07-06 10:40:16,708 INFO  [org.drools.compiler.kie.builder.impl.KieRepositoryImpl] (default task-33) KieModule was added: MemoryKieModule[releaseId=com.intellect:TestDelete:1.2]
2017-07-06 10:40:17,734 TRACE [org.jboss.security] (EJB default - 9) PBOX000354: Setting security roles ThreadLocal: {}
2017-07-06 10:40:17,799 TRACE [org.jboss.security] (EJB default - 9) PBOX000354: Setting security roles ThreadLocal: null
2017-07-06 10:40:18,000 TRACE [org.jboss.security] (EJB default - 5) PBOX000354: Setting security roles ThreadLocal: {}
2017-07-06 10:40:18,061 TRACE [org.jboss.security] (EJB default - 5) PBOX000354: Setting security roles ThreadLocal: null
2017-07-06 10:40:18,099 TRACE [org.jboss.security] (default task-33) PBOX000354: Setting security roles ThreadLocal: null
2017-07-06 10:40:18,106 TRACE [org.jboss.security] (default task-34) PBOX000200: Begin isValid, principal: org.wildfly.extension.undertow.security.AccountImpl$AccountPrincipal@92d5bc79, cache entry: org.jboss.security.authentication.JBossCachedAuthenticationManager$DomainInfo@76615004
2017-07-06 10:40:18,107 TRACE [org.jboss.security] (default task-34) PBOX000204: Begin validateCache, domainInfo: org.jboss.security.authentication.JBossCachedAuthenticationManager$DomainInfo@76615004, credential class: class [C
2017-07-06 10:40:18,107 TRACE [org.jboss.security] (default task-34) PBOX000205: End validateCache, result = true
2017-07-06 10:40:18,107 TRACE [org.jboss.security] (default task-34) PBOX000201: End isValid, result = true
2017-07-06 10:40:18,109 TRACE [org.jboss.security] (default task-34) PBOX000354: Setting security roles ThreadLocal: null
2017-07-06 10:40:18,118 TRACE [org.jboss.security] (default task-35) PBOX000200: Begin isValid, principal: org.wildfly.extension.undertow.security.AccountImpl$AccountPrincipal@92d5bc79, cache entry: org.jboss.security.authentication.JBossCachedAuthenticationManager$DomainInfo@76615004
2017-07-06 10:40:18,118 TRACE [org.jboss.security] (default task-35) PBOX000204: Begin validateCache, domainInfo: org.jboss.security.authentication.JBossCachedAuthenticationManager$DomainInfo@76615004, credential class: class [C
2017-07-06 10:40:18,118 TRACE [org.jboss.security] (default task-35) PBOX000205: End validateCache, result = true
2017-07-06 10:40:18,118 TRACE [org.jboss.security] (default task-35) PBOX000201: End isValid, result = true
2017-07-06 10:40:18,120 TRACE [org.jboss.security] (default task-35) PBOX000354: Setting security roles ThreadLocal: null
2017-07-06 10:40:20,734 TRACE [org.jboss.security] (EJB default - 8) PBOX000354: Setting security roles ThreadLocal: {}
2017-07-06 10:40:20,800 TRACE [org.jboss.security] (EJB default - 8) PBOX000354: Setting security roles ThreadLocal: null





On Wednesday, July 5, 2017 at 9:11:26 PM UTC+5:30, Abhijit Humbe wrote:

Such issues can be resolved after installing Git client and Cygwin (for windows) like softwares and ensuring that their installation path (e.g. /bin directory) is properly set in Windows environment's PATH variable (e.g. C:/cygwin/bin). In Windows OS requires Cygwin installed to make git hooks work properly.


Abhijit Humbe

On Wed, Jul 5, 2017 at 8:47 PM, Jainath Gupta <jaina...@gmail.com> wrote:
Hi Abhijit,
 In log no any error. How can i give permission with rwxr--r-- in window 7 . I was just created one file with name of the post-commit and paste respective content.

On Wednesday, July 5, 2017 at 4:54:15 PM UTC+5:30, Abhijit Humbe wrote:
did you see any exception in log file ? Make sure post-commit file as required permissions as mentioned in doc.Share log file with us


Abhijit Humbe

On Wed, Jul 5, 2017 at 11:29 AM, Jainath Gupta <jaina...@gmail.com> wrote:
Hi,
Every thing is Ok. But in the step 7 I create one folder with post-commit and paste #!/bin/sh git push origin master (same as in link with new line).And after, when am I making any changes in kie-workbench's .drl (Or create a new .drl) file and build & deploy this changes is not reflected in my github.com repository.

Thanks

--
You received this message because you are subscribed to the Google Groups "Drools Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-setup...@googlegroups.com.
To post to this group, send email to drools...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/drools-setup/6f733014-e177-421c-ad5e-58ecb0d47fec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Drools Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-setup...@googlegroups.com.
To post to this group, send email to drools...@googlegroups.com.

Jainath Gupta

unread,
Jul 6, 2017, 2:57:48 AM7/6/17
to Drools Setup
hey!
I am able to make changes in workbench and it's automatic reflected in github. I used SSL key and paste D:\cygwin64\home\jai.gupta\.ssh

Is it also possible to changes occur in github and it automatically reflect in workbench ???

Thanks Abhijit

Jainath Gupta

unread,
Jul 6, 2017, 8:51:37 AM7/6/17
to Drools Setup
Changes is happen. But in server.log it's showing error
2017-07-06 18:17:47,186 TRACE [org.jboss.security] (EJB default - 4) PBOX000354: Setting security roles ThreadLocal: {}
2017-07-06 18:17:47,252 TRACE [org.jboss.security] (EJB default - 4) PBOX000354: Setting security roles ThreadLocal: null
2017-07-06 18:17:48,000 TRACE [org.jboss.security] (EJB default - 3) PBOX000354: Setting security roles ThreadLocal: {}
2017-07-06 18:17:48,061 TRACE [org.jboss.security] (EJB default - 3) PBOX000354: Setting security roles ThreadLocal: null
2017-07-06 18:17:48,716 ERROR [stderr] (pool-26-thread-1) From ec2-54-156-80-179.compute-1.amazonaws.com:XponentGroup/DemoReposit

2017-07-06 18:17:48,716 ERROR [stderr] (pool-26-thread-1)  * branch            master     -> FETCH_HEAD

2017-07-06 18:17:48,920 TRACE [org.jboss.security] (Thread-84) PBOX000354: Setting security roles ThreadLocal: {}
2017-07-06 18:17:48,921 TRACE [org.jboss.security] (EJB default - 5) PBOX000354: Setting security roles ThreadLocal: {

Abhijit Humbe

unread,
Jul 6, 2017, 9:41:49 AM7/6/17
to drools...@googlegroups.com


Abhijit Humbe

On Thu, Jul 6, 2017 at 12:27 PM, Jainath Gupta <jaina...@gmail.com> wrote:
hey!
I am able to make changes in workbench and it's automatic reflected in github. I used SSL key and paste D:\cygwin64\home\jai.gupta\.ssh
Good to know it works.

Is it also possible to changes occur in github and it automatically reflect in workbench ???
I guess no. 
To unsubscribe from this group and stop receiving emails from it, send an email to drools-setup+unsubscribe@googlegroups.com.

To post to this group, send email to drools...@googlegroups.com.

Jainath Gupta

unread,
Jul 10, 2017, 5:52:31 AM7/10/17
to Drools Setup
Is it possible to write java API's for git push  origin master ? Please provide  example.


Abhijit Humbe

Reply all
Reply to author
Forward
0 new messages