I am trying to integrate RTC server with BF Server for continuous integration of projects using ant scripts.
But somehow I am not able to connect them together.
I am refering this tutorial as a reference
https://jazz.net/library/article/607
Some information about my config :
RTC Server running on : 8.X.X.1
BF Server running on :8.X.X.2
BF agent running on : 8.X.X.3
Can anybody point me any tutorial or link for reference.
In reference to the above mentioned tutorial link , I have some questions.
Qns 1: In the tutorial I am not able to find out where ANT should be installed ?
Qns 2: Is RTC and JAZZ Source control are same thing ?
Qns 3: From the tutorial it is saying I have to use buildtoolkit , and its location is /jazz/buildsystem/buildtoolkit. But somehow I am not able to figure out rtc_install_Path. Can anybody help me in finding out the default location of RTC Install Path.
Qns 4 : What and How to configure RTC so that it can trigger the build in BF server as soon as some new code is checked in ?
Any help is appreciated.
Update :
I found answers for Qns 1 and Qns 3 , but for 2 and 4 , I am still searching
Qns 2: Is RTC and JAZZ Source control are same thing ?
Ans 2: Jazz Source Control (Jazz SCM) is part of RTC. RTC has also additional capabilities like working on workitems, plans etc.
For 4 I would reccommend you asking on jazz.net forum.
Ans 1 : Ant should be installed on the BF agent.
Ans 3 : When you install the buildtoolkit on the BF agent it will create a directory structure something like this /jazz/buildsystem/buildtoolkit under /opt/IBM.
Ans 4 :From the eclipse RTC client I have to schedule the build on a time basis(e.g every 60 mins) and after this it will check in every 60 mins for the new code checked in and trigger the build if there is any new code checked in last 60 mins.
Build Forge is not that smart that it can initiate the build as soon as somecode is checked in ,contrary it waits on the scheduled time to initiate the build.
Related
Been scratching my head for a while with this and I thought I would ask here. I am trying to run automated tests with tcm via command prompt. I have set up and configured a test controller and agent. Tcm is recognizing all the tests from tfs when I list etc. Created a test run and the results came back:
Total:128
Passed:0
Failed:128
Inconclusive:128
Does this have something to do with the Controller or Agent not being set up properly? Would tcm recognize the tests if they were not set up properly? I have set up a lab environment and I can access the controller PC.
Any help would be greatly appreciated.
Thanks
Russ
Based on the information that "The build directory of the test run either does not exist or access permission is required", from steps 6 and 7 of this MSDN documentation:
Create and Define a build definition
Copy a build directory with the relevant information into this solution
This may also have relevant information if the above doesn't work
I am attempting to build an SDN app with OpenDaylight. I use the Carbon (latest) release and the OpenFlow plugin. I am trying to use the genius package as it has a lot of support for installing flows and such. I expect multiple switches to connect so I have to specify the "datapath ID" (dpid) in installing the flow. How do I determine the "dpid" when the switch connects?
Have look at line number 88 in this file, we extract DP id from node connector
I was trying to migrate a VS Project from TFS 2013 on Premise to Visual Studio Team Services. Unfortunately i had an issue:
OH-SCM-009: Error occurred while sync. TF10131: The workspace name
OH_6_14572940012671457294001269-Diego Italo Castillo Castillo87664
contains more than 64 characters, contains one of the following
characters: "/:<>\|*?; or ends with a space. Type a valid name and
try again.
I was trying to migrate a project (Source Code Only) for about 8 hours and i was getting the error in an specific Changueset.
I cant find the real problem.
I Attached logs.
Logs: http://1drv.ms/1paQKu0
Problem Solved. I've changed my credentials Name (Shortly) in my Microsoft Account I was using in order to connect with my VSTS repository.
I am trying to run a test from the command line using the cmdline.bat file, as suggested in https://www-01.ibm.com/support/knowledgecenter/SS2HS7_8.6.0/com.ibm.rational.test.lt.common.doc/topics/truncmdln.html
It is not like I am not getting some activity, but I haven't been able to understand how it properly works.
This is my current command:
D:\Eclipse\eclipse\plugins\com.ibm.rational.test.lt.cmdlineexecute_
7.2.960.v20140710_1337>cmdline.bat -workspace C:\MobileFirstWorksp ace -project Test -eclipsehome D:\Eclipse\eclipse -plugins D:\Eclipse\eclipse\plugins -suite prueba2.testsuite -results
newResults
It runs for 45 to 72 seconds. My CommandLineLog.txt file shows the following:
Adaptador convertido en instancia con D:\Programacion\Eclipse\eclipse
log4j:WARN No appenders could be found for logger
(org.apache.http.impl.conn.PoolingClientConnectionManager). log4j:WARN
Please initialize the log4j system properly. 2015-04-08
17:18:20.810:INFO:oejs.Server:jetty-8.1.14.v20131031 2015-04-08
17:18:20.847:INFO:oejs.AbstractConnector:Started
SelectChannelConnector#0.0.0.0:7878 2015-04-08
17:18:20.849:INFO:oejs.AbstractConnector:Started
SelectChannelConnector#0.0.0.0:7080
But I can't find any results file, there are no results files in the directory I ran the command or either in the Test project folders. Does anyone know where should I find those files?
It seems you have not a device connected to your workbench.
In order to get a result :
You should first launch RTW in the classical way with the ui.
Then you have to launch a simulator or a device and connect it to your workbench through the iOS Native or Web client (Of course, the instrumented app should be installed on the simu/device).
Siwtch to the passive mode (on the client).
You could now close the workbench.
Finally just launch your command line as you did before.
The workbench will start and wait for a client to be connected, ... after 30 seconds maximum the iOS Client (native or web) will connect to the workbench and the playback should start.
Hope it will help you.
Best regards, Alexandre.
By default, the reports are generated in your workspace and have the extension .moebreport (it's an zipped XML file)
You can ask to export it at the CLI with a preference. Open the prefs and go in Test > Performance Test Reports > Export Reports and select Command Line and Mobile and Web UI
Thanks.
Dominique
I just installed derby and I followed the instructions from here the exact same way it told me to but replacing the paths with my paths. But for some reason why i try to create a connection to connect to create a Database and run my sql scripts to create the tables and populate them it gives me a few errors firstly is this one
ERROR 08001: No suitable driver found for jdbc:derby:SuperMarket;create=true
Then when my sql scripts run I get this error
IJ ERROR: Unable to establish connection
I dont see what I did wrong this is the line i used to set the class path
C:\> set CLASSPATH=%DERBY_INSTALL%\lib\derby.jar;%DERBY_INSTALL%\lib\derbytools.jar;.
I included the derby.jar file that was needed so I can't see the problem does anyone know what I did wrong? Also when I run
connect 'jdbc:derby://localhost:1527/MyDB';
The server starts fine
C:\Derbs\db-derby-10.10.2.0-bin\bin>startNetworkServer
Thu Jun 26 11:56:38 PDT 2014 : Security manager installed using the Basic server
security policy.
Thu Jun 26 11:56:39 PDT 2014 : Apache Derby Network Server - 10.10.2.0 - (158244
6) started and ready to accept connections on port 1527
There are many troubles when I start using DerbyDB. It is really painful to practice.
1. For example, I download Derby from http://db.apache.org/derby/derby_downloads.html#Latest+Official+Releases
2. Unzip to C:\tools\db-derby-10.11.1.1-bin.
3. Press Windows key + R, type: SystemPropertiesAdvanced, set up environment variables.
Reference: https://db.apache.org/derby/docs/10.0/manuals/getstart/gspr16.html
4. Run cmd,
We should run additional command:
C:\tools\db-derby-10.11.1.1-bin\bin\NetworkServerControl.bat
and type:
C:\tools\db-derby-10.11.1.1-bin\bin\ij.bat
then press Enter, and result:
5. We will put in-memory Derby database to D:\ directory. Folder vy1 must doesn't exit. We type command for creating new database named vy1:
connect 'jdbc:derby:D:\vy1;create=true';
Use Windows Explorer, go to directory D:\vy1, you will see new folder named vy1 just created.
then type command:
connect 'D:\vy1'
6. See SQL command to create database, table, insert, then read database like this:
(Open images in new web page is better for view. Note: This is my old screenshot when I use older version few months ago).
Come back to your question, focus at section 3, and commnand call NetworkServerControl.bat at section 4.
Good luck! :)