BuildForge::EX::APIException: A valid build class identifier must be specified.
I am running the following code on a CCCQBF v7 server which has the BF v7 Perl library installed. The $bf_server below right now is a BF v8 server. I've never seen the above error before, is it because the library version doesn't match? I have to use the BF v8 Perl library?
my $conn = new BuildForge::Services::Connection($bf_server, $bf_port);
$conn->authUser($bfid, 'APIUSR');
Generate IBM software compatibility report here: http://www-01.ibm.com/support/docview.wss?uid=swg21613499, but it's so hard to read, can't understand if CCCQv7 is compatible with BF v8.
|
3 answers
Some access groups groups defined for the API userids are lower than the CLASS definitions.
Changing the access group should work. |
The error message "A valid build class identifier must be specified." is usually seen if a user attempts to start a build but does not have access to the assigned build class for the project build in question.
The code snippet you provided only attempts to setup a connection and then authenticate as a user. Is your code attempting to start/restart a build? |
Getting BuildForge::Ex::APIException: API: Authentication Error. error message while running a staging script in BuildForge.
The perl script will take the latest baseline in clearcase and places the it in the staging area. facing issues while running the script.
Please suggest how to resolve this.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.