The placement of the `checkout' step in `matrix' pipeline jobs

2020-09-01 Thread Anton Shepelev
Hello, all How is `matrix' supposed to interact with `checkout'? If I have several axes, of which some require change of agent (OS version), and some do not (Debug or Release mode), where shall place the `checkout' step? Currently, I have it at this path in my Jenkinsfile: pipeline -> st

Re: Piple line for multiple projects sharing the same SVN repository

2020-08-27 Thread Anton Shepelev
jeremy mordkoff: > otherwisethere is actually nothing that says the build > has to use the workspace checked out by jenkins. Well, I can't seem to set up an external directory in the `checkout' step. The option `local' (named "Local module directory") is required to point to a subdirectory of

Agent/remote root directory

2020-08-21 Thread Anton Shepelev
Hello, all The configuration page has a setting named "Remote root directory", but thoughout the documentation it is referred to as the "Agent root directory". This setting shall point to a local direcory in which the agent works. If you will consider renaming the setting to match the better term

Re: Multibranch Pipeline job creating multiple Checkout Directories in Workspace

2020-08-20 Thread Anton Shepelev
Bjorn Pedersen to Ven H: > > I have a Multibranch Pipeline job setup for SVN. In > > Trunk, I have a directory called Platform which has a > > Jenkins file. The workspace structure is something like > > Drive\Workspace_Dir\trunk%2FPlatform. > > > > After a few builds, I can see some strange things

Re: Piple line for multiple projects sharing the same SVN repository

2020-08-19 Thread Anton Shepelev
jeremy mordkoff: > You need 99 jobs for the 99 programs, but what about the > libraries? Yes, one job per project, and let MSBuild take care of building the libraries. Thankfully, I do not have to worry about it in Jenkins. The libraries will be available at their correct relative paths in the r

Re: Piple line for multiple projects sharing the same SVN repository

2020-08-19 Thread Anton Shepelev
jeremy mordkoff: > I'm having a little trouble understanding exactly what you > are asking. I am sorry for an insufficiently clear description. Let me try again. Since our .NET projects are highly interdependent, we maintain them in a single SVN repository with a strucure like this: trunk pr

Re: Newbie questions about the declarative syntax

2020-08-15 Thread Anton Shepelev
Mark Waite: > We've had many users that expected Jenkins Pipeline to be Groovy > (especially scripted Pipeline users) instead of being a domain > specific language that is based on Groovy. I fear that linking > to more details of Groovy syntax will tend to confuse those users > even more rather t

Piple line for multiple projects sharing the same SVN repository

2020-08-15 Thread Anton Shepelev
Hello, all We maintain hundreds of interdependent .NET libraries and programs that typically reference tenths of those libraries each in a single SVN repository. Maybe it is a non-standard, and even not a recommended approach, but creating a repository per program or library would introduce its ow

Re: Newbie questions about the declarative syntax

2020-08-15 Thread Anton Shepelev
Baptiste Mathus: > Backslash escape is because the parser needs to know you're not > trying to "despecialize" the following character. By default \ > *is* a special character. (E.g. "\to" would mean \t, which is a > tabulation, then the letter o). > So using \ because the second \, the parser just

Re: Newbie questions about the declarative syntax

2020-08-15 Thread Anton Shepelev
Gianluca: > take into account that the declarative syntax (and in general > Jenkins pipelines) are just a DSL > ( https://en.wikipedia.org/wiki/Domain-specific_language ) > heavily based on Groovy language > ( http://groovy-lang.org/index.html ). > So, many (really many) things you can do ... it's

Re: Newbie questions about the declarative syntax

2020-08-14 Thread Anton Shepelev
I wrote: > bat """ >chcp 1251 >c:\\path\\to\\program.exe > """ The backslashes should be doubled: c:\\path\\to\\program.exe Sorry for the typo. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and sto

Newbie questions about the declarative syntax

2020-08-14 Thread Anton Shepelev
Hello, all >From some examples in the internet I have found that a mulitline Windows batch script in Jenkins may be called with this step: bat """ chcp 1251 c:\path\to\program.exe """ Where is this syntax documented with regard to: 1. the backslash escapes, and 2. the triple quoatai