Nexus IQ <-> Gitlab-Token problems

Hello,

at first i want to say thanks for the last Bugfix in your 153 Release. Now it is possible for us to connect Nexus IQ and Gitlab.

I try to set up the configuration and created a token with API and WRITE_REPOISTORY rights in Gitlab:

image

Unfortainly, it seems not to work :

image

Over API:

{
    "configurationComplete": {
        "valid": true,
        "message": null
    },
    "repoPrivate": {
        "valid": true,
        "message": null
    },
    "tokenPermissions": {
        "valid": false,
        "message": "The access token requires two scopes: 'api' (confirmed) and 'write_repository' (it can be manually checked in GitLab at: 'User Settings' > 'Access Tokens')."
    },
    "sshConfiguration": {
        "valid": true,
        "message": null
    }
}

I run a gitlab pipeline in a merge request but it doesn´t create a comment. I think its because he think the token is not right.

Do you have any hints what i am doing wrong?

Greets Marcus

Hi @m588! This doc may be a good place to start: GitLab Configuration

Hi Maura,

i already followed the instructions contained in your link.

As you can see in my picture, i have created a Token with the needed permissions, but IQ say me the Token doesn´t have the right permissions.

Greets, Marcus

I would suggest opening a support ticket and someone can take a closer look! - an authorized support contact can reach out to Sonatype Support here to open a support ticket

HI @m588, did you find a Solution? I got the same Problem with Version 156.

Greetins,
Adrian

There is a (confirmed) bug opened by me internally about this, was not fixed yet.