Gitlab BOT

How can I create a bot for the Gitlab CI, which will automatically get invoked and list all the variables and methods in the class which is committed?

Hi,

You’re likely talking about a specific programming language here, can you share the code, CI config and the repository content?

If you reach the step where the bot can print that via CI config, where would you like to see that content?

Cheers,
Michael

1 Like

I want to create a bot which can actually invoke a tool once a push has be initiated? Which programming language is suitable to design a bot. The bot should be invoked on a push ? Let’s say it invokes the static analysis tools to analyse the code or invokes a different java program which can list the variables and methods.

Hi,

I’d say you can look for inspiration in the GitLab Bot configuration: https://gitlab.com/gitlab-bot

Or you’ll look into other bots like https://beenje.github.io/blog/posts/building-a-gitlab-bot-using-gidgetlab-and-aiohttp/ or https://github.com/smarkets/marge-bot

Cheers,
Michael

1 Like