Hello :D I am a newbie in Pharo and have started to build my first application i.e. an offline text search application namely *searchQuick* which returns the list of file titles from the pre-loaded text files present in the resource folder when a string is searched for. You all are welcome to fork the code (https://github.com/jig08/sQuick_new) , try the infancy application and send in suggestions. Further, I would like to request to put up my application on the CI Automated Build server for Pharo. I have already registered on INRIA and my request to join 'Pharo Contribution' has also been approved. Further, I am searching for similiar projects as sQuick so that it would be easier to put for automated build using the existing build. It would be great if someone could guide me how to find similiar projects or exisiting templates. Regards Jigyasa
Jigyasa Grover <grover.jigyasa1@gmail.com> writes:
Further, I would like to request to put up my application on the CI Automated Build server for Pharo. I have already registered on INRIA and my request to join 'Pharo Contribution' has also been approved. Further, I am searching for similiar projects as sQuick so that it would be easier to put for automated build using the existing build.
click "New Job" in the top left corner of http://ci.inria.fr/pharo-contribution. Choose a name and select "Create from template". Choose TemplateJob (or JobTemplate, I forgot). -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill
Hi Damien Yes , Created using 'Job Template' I seek help to follow the steps to adapt the properties of build. As I have my project on GitHub, how do I tackle with "[URLTrigger] - Poll with a URL: set the proper URL of the source MC repository" ? Thank You Regards Jigyasa -- View this message in context: http://forum.world.st/Searching-for-similiar-projects-tp4837427p4837531.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
On 15-07-15 08:49, Jigyasa Grover wrote:
Hi Damien Yes , Created using 'Job Template'
I seek help to follow the steps to adapt the properties of build.
As I have my project on GitHub, how do I tackle with "[URLTrigger] - Poll with a URL: set the proper URL of the source MC repository" ?
Take a look at the configuration of Vidi. I've found it always much easier to not copy from a template, but from a real job. Stephan
Thanks Stephan. Well, I did look through the config of Vidi and applied it accordingly to my project sQuick (https://ci.inria.fr/pharo-contribution/job/sQuick/). Could you kindly go through it and guide about the next steps ? Regards Jigyasa -- View this message in context: http://forum.world.st/Searching-for-similiar-projects-tp4837427p4837622.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
On 15/07/15 12:36, Jigyasa Grover wrote:
Thanks Stephan.
Well, I did look through the config of Vidi and applied it accordingly to my project sQuick (https://ci.inria.fr/pharo-contribution/job/sQuick/). Could you kindly go through it and guide about the next steps ?
Take a look at the Console output to see what goes wrong. I have no experience with github based projects on ci. The checkout is failing: Started by user grover.jigyasa1@gmail.com Building remotely on pharo-contribution-winxp (32 win winxp) in workspace C:\builds\workspace\sQuick Deleting project workspace... done Cloning the remote Git repository Cloning repository https://github.com/jig08/sQuick_new Fetching upstream changes from https://github.com/jig08/sQuick_new Fetching upstream changes from https://github.com/jig08/sQuick_new Checking out Revision 16829b6a7349333c097e6ff36dd5595205ad2256 (origin/master) FATAL: Could not checkout null with start point 16829b6a7349333c097e6ff36dd5595205ad2256 hudson.plugins.git.GitException: Could not checkout null with start point 16829b6a7349333c097e6ff36dd5595205ad2256 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkoutBranch(CliGitAPIImpl.java:1212) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:309) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:290) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:249) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: hudson.plugins.git.GitException: Command "git checkout -f 16829b6a7349333c097e6ff36dd5595205ad2256" returned status code 1: stdout: stderr: error: unable to create file sQuick_new/resources/document/What is Pharo ? (Invalid argument) Note: checking out '16829b6a7349333c097e6ff36dd5595205ad2256'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at 16829b6... Display of file content. at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1086) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1063) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:900) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:910) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkout(CliGitAPIImpl.java:1186) at hudson.plugins.git.GitAPI.checkout(GitAPI.java:207) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkoutBranch(CliGitAPIImpl.java:1196)
Yes Stephan Though I am still not able to resolve the error. -- View this message in context: http://forum.world.st/Searching-for-similiar-projects-tp4837427p4837917.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Jigyasa Grover wrote
Though I am still not able to resolve the error.
In the job's console output, I see "stderr: error: unable to create file sQuick_new/resources/document/What is Pharo ? (Invalid argument)". Just a shot in the dark, maybe remove the "?" from the file name? ----- Cheers, Sean -- View this message in context: http://forum.world.st/Searching-for-similiar-projects-tp4837427p4837971.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
On 17-07-15 17:13, Sean P. DeNigris wrote:
Jigyasa Grover wrote
Though I am still not able to resolve the error.
In the job's console output, I see "stderr: error: unable to create file sQuick_new/resources/document/What is Pharo ? (Invalid argument)". Just a shot in the dark, maybe remove the "?" from the file name?
Hmm, yes that is worth a try. To get a first succesfull build, perhaps even not write a file at all. Writing to the file system on the build server has more limitations than on your normal machine. Stephan
Hi Stephan Okay, I got your point. But as the application searches within the text files, would it be a good idea removing the resources of the application ? Thanks Jigyasa -- View this message in context: http://forum.world.st/Searching-for-similiar-projects-tp4837427p4837985.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Hey Stephan I tried removing the text resources and building it afresh. The error still persists. Regards Jigyasa -- View this message in context: http://forum.world.st/Searching-for-similiar-projects-tp4837427p4837987.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Sean Yes, I tried removing '?' from the file name but the signal is still red. Thanks Jigyasa -- View this message in context: http://forum.world.st/Searching-for-similiar-projects-tp4837427p4837984.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Jigyasa Grover wrote
Yes, I tried removing '?' from the file name but the signal is still red.
Same color, different reason :) Check the error logs and you will see that the git repo gets cloned but there is a different error afterward https://ci.inria.fr/pharo-contribution/job/sQuick/11/PHARO=40,VERSION=stable... ----- Cheers, Sean -- View this message in context: http://forum.world.st/Searching-for-similiar-projects-tp4837427p4838004.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
participants (4)
-
Damien Cassou -
Jigyasa Grover -
Sean P. DeNigris -
Stephan Eggermont