It's all about the answers!

Ask a question

Error while running the jazz build AuthenticationException: CRJAZ0124I Invalid username or password.


Ashwath G (6623951) | asked Apr 04 '13, 6:42 a.m.
edited Apr 05 '13, 3:20 p.m. by Joseph Pesot (61)

Hello ,

We are running eclipse build on windows envirement, fetching files from the repository is sucessfull, but failing with error in log as

[echo] # --> This build ... runs on OS family "windows" started from "JazzBuildEngine"

[teamLastModified] .Not using a proxy to reach https:<host>:9443/ccm/

[teamLastModified] com.ibm.team.repositorycommon.TeamRepositoryException: Error logging in to repository https://<host>:rd.9443/ccm/. Verify that the repository address and credentials to log in are correct.

[teamLastModified] at com.ibm.team.build.ant.task.AbstractTeamBuildTask.initializeRepositoryManager(AbstractTeamBuildTask.java:324)

[teamLastModified] at com.ibm.team.build.ant.task.AbstractTeamBuildTask.getTeamRepository(AbstractTeamBuildTask.java:270)

[teamLastModified] at com.ibm.team.build.ant.task.TeamLastModifiedTask.doExecute(TeamLastModifiedTask.java:145)

[teamLastModified] at com.ibm.team.build.ant.task.AbstractTeamBuildTask.execute(AbstractTeamBuildTask.java:661)

[teamLastModified] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

[teamLastModified] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)

[teamLastModified] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[teamLastModified] at java.lang.reflect.Method.invoke(Method.java:597)

[teamLastModified] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

[teamLastModified] at org.apache.tools.ant.Task.perform(Task.java:348)

[teamLastModified] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)

[teamLastModified] at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)

[teamLastModified] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[teamLastModified] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

[teamLastModified] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[teamLastModified] at java.lang.reflect.Method.invoke(Method.java:597)

[teamLastModified] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

[teamLastModified] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)

[teamLastModified] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

[teamLastModified] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)

[teamLastModified] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[teamLastModified] at java.lang.reflect.Method.invoke(Method.java:597)

[teamLastModified] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

[teamLastModified] at org.apache.tools.ant.Task.perform(Task.java:348)

[teamLastModified] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)

[teamLastModified] at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:217)

[teamLastModified] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[teamLastModified] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

[teamLastModified] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[teamLastModified] at java.lang.reflect.Method.invoke(Method.java:597)

[teamLastModified] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

[teamLastModified] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)

[teamLastModified] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

[teamLastModified] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)

[teamLastModified] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[teamLastModified] at java.lang.reflect.Method.invoke(Method.java:597)

[teamLastModified] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

[teamLastModified] at org.apache.tools.ant.Task.perform(Task.java:348)

[teamLastModified] at org.apache.tools.ant.Target.execute(Target.java:390)

[teamLastModified] at org.apache.tools.ant.Target.performTasks(Target.java:411)

[teamLastModified] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)

[teamLastModified] at org.apache.tools.ant.Project.executeTarget(Project.java:1368)

[teamLastModified] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)

[teamLastModified] at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)

[teamLastModified] at org.apache.tools.ant.Project.executeTargets(Project.java:1251)

[teamLastModified] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:665)

[teamLastModified] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:537)

[teamLastModified] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[teamLastModified] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

[teamLastModified] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[teamLastModified] at java.lang.reflect.Method.invoke(Method.java:597)

[teamLastModified] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)

[teamLastModified] at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)

[teamLastModified] at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

[teamLastModified] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

[teamLastModified] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

[teamLastModified] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)

[teamLastModified] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

[teamLastModified] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[teamLastModified] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

[teamLastModified] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[teamLastModified] at java.lang.reflect.Method.invoke(Method.java:597)

[teamLastModified] at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)

[teamLastModified] at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)

[teamLastModified] at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

[teamLastModified] at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

[teamLastModified] Caused by: com.ibm.team.repository.transport.client.AuthenticationException: CRJAZ0124I Invalid username or password.

[teamLastModified] at com.ibm.team.repository.transport.client.ClientHttpUtil$FormAuthChallengeHandler.handleChallenge(ClientHttpUtil.java:832)

[teamLastModified] at com.ibm.team.repository.transport.client.ClientHttpUtil.handleAuthenticationChallenge(ClientHttpUtil.java:1174)

[teamLastModified] at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:359)

[teamLastModified] at com.ibm.team.repository.transport.client.ClientHttpUtil.access$10(ClientHttpUtil.java:324)

[teamLastModified] at com.ibm.team.repository.transport.client.ClientHttpUtil$JAuthChallengeHandler.handleChallenge(ClientHttpUtil.java:757)

[teamLastModified] at com.ibm.team.repository.transport.client.ClientHttpUtil.handleAuthenticationChallenge(ClientHttpUtil.java:1174)

[teamLastModified] at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:359)

[teamLastModified] at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:315)

[teamLastModified] at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:219)

[teamLastModified] at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:227)

[teamLastModified] at com.ibm.team.repository.transport.client.RemoteTeamService.executeCancelableHttpMethod(RemoteTeamService.java:553)

[teamLastModified] at com.ibm.team.repository.transport.client.RemoteTeamService.invokePost(RemoteTeamService.java:540)

[teamLastModified] at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:481)

[teamLastModified] at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:194)

[teamLastModified] at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)

[teamLastModified] at $Proxy0.describe(Unknown Source)

[teamLastModified] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[teamLastModified] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

[teamLastModified] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[teamLastModified] at java.lang.reflect.Method.invoke(Method.java:597)

[teamLastModified] at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:164)

[teamLastModified] at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:88)

[teamLastModified] at $Proxy0.describe(Unknown Source)

[teamLastModified] at com.ibm.team.repository.client.internal.TeamRepository$4.run(TeamRepository.java:1512)

[teamLastModified] at com.ibm.team.repository.client.internal.TeamRepository$4.run(TeamRepository.java:1)

[teamLastModified] at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1286)

[teamLastModified] at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:79)

[teamLastModified] at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1279)

[teamLastModified] at com.ibm.team.repository.client.internal.TeamRepository.internalLogin(TeamRepository.java:1505)

[teamLastModified] at com.ibm.team.repository.client.internal.TeamRepository.login(TeamRepository.java:638)

[teamLastModified] at com.ibm.team.build.internal.scm.RepositoryManager.login(RepositoryManager.java:275)

[teamLastModified] at com.ibm.team.build.ant.task.AbstractTeamBuildTask.initializeRepositoryManager(AbstractTeamBuildTask.java:322)

[teamLastModified] ... 65 more

BUILD FAILED

C:\buildroot\SRM_release_12.2\R20130404-1535\fetch\cec.build\common\build_generic_scripts.xml:267: com.ibm.team.repository.common.TeamRepositoryException: Error logging in to repository >

at com.ibm.team.build.ant.task.AbstractTeamBuildTask.getTeamRepository(AbstractTeamBuildTask.java:270)

at com.ibm.team.build.ant.task.TeamLastModifiedTask.doExecute(TeamLastModifiedTask.java:145)

at com.ibm.team.build.ant.task.AbstractTeamBuildTask.execute(AbstractTeamBuildTask.java:661)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

at org.apache.tools.ant.Task.perform(Task.java:348)

at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)

at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

at org.apache.tools.ant.Task.perform(Task.java:348)

at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)

at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:217)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

at org.apache.tools.ant.Task.perform(Task.java:348)

at org.apache.tools.ant.Target.execute(Target.java:390)

at org.apache.tools.ant.Target.performTasks(Target.java:411)

at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)

at org.apache.tools.ant.Project.executeTarget(Project.java:1368)

at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)

at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)

at org.apache.tools.ant.Project.executeTargets(Project.java:1251)

at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:665)

at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:537)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)

at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)

at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

Caused by: com.ibm.team.repository.transport.client.AuthenticationException: CRJAZ0124I Invalid username or password.

at com.ibm.team.repository.transport.client.ClientHttpUtil$FormAuthChallengeHandler.handleChallenge(ClientHttpUtil.java:832)

at com.ibm.team.repository.transport.client.ClientHttpUtil.handleAuthenticationChallenge(ClientHttpUtil.java:1174)

at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:359)

at com.ibm.team.repository.transport.client.ClientHttpUtil.access$10(ClientHttpUtil.java:324)

at com.ibm.team.repository.transport.client.ClientHttpUtil$JAuthChallengeHandler.handleChallenge(ClientHttpUtil.java:757)

at com.ibm.team.repository.transport.client.ClientHttpUtil.handleAuthenticationChallenge(ClientHttpUtil.java:1174)

at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:359)

at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:315)

at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:219)

at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:227)

at com.ibm.team.repository.transport.client.RemoteTeamService.executeCancelableHttpMethod(RemoteTeamService.java:553)

at com.ibm.team.repository.transport.client.RemoteTeamService.invokePost(RemoteTeamService.java:540)

at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:481)

at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:194)

at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)

at $Proxy0.describe(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:164)

at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:88)

at $Proxy0.describe(Unknown Source)

at com.ibm.team.repository.client.internal.TeamRepository$4.run(TeamRepository.java:1512)

at com.ibm.team.repository.client.internal.TeamRepository$4.run(TeamRepository.java:1)

at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1286)

at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:79)

at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1279)

at com.ibm.team.repository.client.internal.TeamRepository.internalLogin(TeamRepository.java:1505)

at com.ibm.team.repository.client.internal.TeamRepository.login(TeamRepository.java:638)

at com.ibm.team.build.internal.scm.RepositoryManager.login(RepositoryManager.java:275)

at com.ibm.team.build.ant.task.AbstractTeamBuildTask.initializeRepositoryManager(AbstractTeamBuildTask.java:322)

... 65 more

4 answers



permanent link
Ralph Schoon (63.4k33646) | answered Apr 04 '13, 6:49 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The pre build action is driven by the JBE using the repository URL and the user and password it was started with.

While running the build script itself you need to provide the repository URI, User ID and Password of the build user for build activities and communication with the CCM Server. See http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m1/topic/com.ibm.team.build.doc/topics/r_ant-tasks.html and the required parameters for the tasks. My best guess is you provide a wrong user/password.

You can look into the Sample Project that comes with RTC. Look into any stream, look into the Build component into JKEBuildScripts/sample.jke.build/build.xml

permanent link
Spencer Murata (2.3k115971) | answered Apr 05 '13, 11:30 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
 This actually looks like a problem with your Ant script, not the JBE.  The Ant script looks like it has a bad user/password for the teamLastModified task.  If there are other tasks that have run correctly in your script, check the user/password information for those tasks.

~Spencer

permanent link
Sudarshan Narayanan (133) | answered Feb 11 '14, 4:15 a.m.
I have the defined the UserId and the passwordFile in my ant script. But still the same issue.

    <!-- All necessary Property declaration for the Build-->
    <property name="passwordFilePath" location="C:\Build\pass.txt"/>
    <property name="buildRequesterUserId" value="abc@xx.xx.com"/>

This is the task:
        <startBuildActivity activityIdProperty="setActivity"
        label="PMQ 2.0 Build Completed..."
        buildResultUUID="${buildResultUUID}"
        repositoryAddress="${repositoryAddress}"
        userId="${buildRequesterUserId}"
        passwordFile="${passwordFilePath}" />

The same script works fine when we trigger a manual build this error occurs only when we schedule a build.

Comments
Spencer Murata commented Feb 11 '14, 8:21 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

If you schedule the build you should not use the buildRequesterUserId.  For the scheduled build that will be done as the ADMIN user.  Manually will be as whichever user you are.  Generally for build scripts the best practice is to set up a dedicated build user and use that user for doing all the contribution tasks.


~Spencer 


Sudarshan Narayanan commented Feb 11 '14, 12:15 p.m.

yes I have a dedicated user ID called abc@xx.xxx.com. But what is the difference between the Admin User and buildRequesterUserId. What needs to be provided in the Build script.


Ralph Schoon commented Feb 11 '14, 12:27 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

You need to provide the user ID and password of the build user. The build user is a special technical resource that you create and that has a special license "Build System" which enables it to use SCM to load. In addition, the build user needs to be member of the project area with sufficient permission to access the SCM data.

This has nothing to do with an admin user, neither with repository role, nor with being an admin in a project. On a test system try out the JKE banking sample, which sets up everything as needed. The only thing the example does not do, is providing the license to the build user.


Spencer Murata commented Feb 12 '14, 8:15 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

The difference is you are providing

userId="${buildRequesterUserId}" 
But that will change depending on how the build is started.  It will NOT use the dedicated build user, but rather whoever started the build on the UI.  This could also be the ADMIN user if the scheduler starts the build.  So rather than buildRequestUserId, it should be set to your dedicated build user.

~Spencer


permanent link
Sunil Gajula (6) | answered Feb 11 '14, 1:10 p.m.
Hi Ralph,

Even I am facing the same issue.

Could you let me on how to get the Special License to the Build User?

Thanks for your help in advance.

Comments
Spencer Murata commented Feb 12 '14, 8:24 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

The build user licenses are included with the RTC server.  They are the Build System client licenses.  See more information here:


~Spencer

Your answer


Register or to post 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.