Answer the question
In order to leave comments, you need to log in
Jenkins - how to do a partial build and add custom buttons to the project to run commands?
I'm just starting to use Jenkins + Phing, now the build consists of the following:
1. run syntax check, tests, bad code detectors, copy-paste and code-style,
2. build the deb package and upload it to the local repository.
The assembly is started manually.
The first question is, is it possible to somehow make it so that when starting the assembly manually, a full build goes through, and with periodic launches of the cron (built-in), only the first step is performed and, in case of failure, would write to the mail? You cannot start two projects, because > 30 projects are expected.
The second question is, how can I add my own buttons to the project, on which certain bash scripts would be executed? This is needed to manage packages on production servers.
Answer the question
In order to leave comments, you need to log in
You can try to make a parameterized build, and if the default parameters are selected, only 1 step is built.
And in the case of a manual launch, select an assembly with other parameters (full assembly).
The second question is not entirely understood. What is meant by buttons?
Again, you can resort to a parameterized assembly, where on the first page of the build launch you will select the "type of action" from the drop-down list.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question