A
A
Ainur Shakirov2016-10-20 16:03:22
linux
Ainur Shakirov, 2016-10-20 16:03:22

jenkins + bitbucket. How to specify a different build directory?

Such a problem: I installed Jenkins, configured it to build by push from bitbucket. But it saves to the working directory in the workspace (located in /jenkins/workspace/projekt).
And it is necessary that in /site.ru/public_html.
When you try to edit the directory in the settings, and try to build, an error occurs that the path was not found.
PS This is my first time setting up a git environment..

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dmitriy, 2016-10-20
@dmitriylanets

you need to copy the code from /jenkins/workspace/projekt to /site.ru/public_html
this procedure is called deploy

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question