0

First of all, sorry for my bad english.

I am currently working on workflow performance.

My Idea is, when I push changes from IntelliJ to a private GitLab Server; I would like that my GitLab instantly create a finished .jar file from new code and push it to my Nexus Repo Manager.

How can it be achieved?

Bsquare ℬℬ
  • 4,423
  • 11
  • 24
  • 44
Mienu
  • 1

1 Answers1

0

You could use a post-commit hook to run your build script.

See this link about custom hooks

The hook filename will be /path/to/your/<project>.git/custom_hooks/post-commit

And the contents of post-commit would launch your build script.

xtratic
  • 4,600
  • 2
  • 14
  • 32