Re: Pull changes when a tag is created

2021-09-22 Thread Mark Waite
If you're running the default command line git version on CentOS 7, it does not accept partial globs in the refspec. The command line git documentation for refspec says: Since Git 2.6.0 you can use partial globs in the pattern to match multiple branches, so this works: fetch = +refs/heads/qa*:

Passing variable to launch command on job start

2021-09-22 Thread Matrix
We have configured a node to launch using a script in the launch command. Is it possible to read some variables from the groovy file in the repo being built after a job starts and pass that to the node launch command when the "node" block is reached? -- You received this message because you are

Re: Any way to construct a url to a particular file in the jenkins workspace?

2021-09-22 Thread David Karr
On Wed, Sep 22, 2021 at 8:16 AM 'Björn Pedersen' via Jenkins Users < jenkinsci-users@googlegroups.com> wrote: > > >> I'm not familiar with the archive process. If you could provide me some >> quick links for information, that would be useful. I'll also ask our >> internal ops team. >> >> > > Archi

Re: Any way to construct a url to a particular file in the jenkins workspace?

2021-09-22 Thread 'Björn Pedersen' via Jenkins Users
> > I'm not familiar with the archive process. If you could provide me some > quick links for information, that would be useful. I'll also ask our > internal ops team. > > Archiving is not something special, it's a standard feature. in a scripted pipeline: archiveArtifacts artifacts: '**/*.

Re: Any way to construct a url to a particular file in the jenkins workspace?

2021-09-22 Thread David Karr
On Wed, Sep 22, 2021 at 7:29 AM 'Björn Pedersen' via Jenkins Users < jenkinsci-users@googlegroups.com> wrote: > > > db...@cloudbees.com schrieb am Mittwoch, 22. September 2021 um 14:54:48 > UTC+2: > >> On Mon, Sep 13, 2021 at 5:49 PM Jerome Godbout >> wrote: >> >>> Humm, that would be hard and se

Re: Any way to construct a url to a particular file in the jenkins workspace?

2021-09-22 Thread 'Björn Pedersen' via Jenkins Users
db...@cloudbees.com schrieb am Mittwoch, 22. September 2021 um 14:54:48 UTC+2: > On Mon, Sep 13, 2021 at 5:49 PM Jerome Godbout > wrote: > >> Humm, that would be hard and security unwise. The executing node path >> aren't available to the web. > > > They are in the case of workspace files (t

Re: Any way to construct a url to a particular file in the jenkins workspace?

2021-09-22 Thread Daniel Beck
On Mon, Sep 13, 2021 at 5:49 PM Jerome Godbout < jerome.godbout.amo...@gmail.com> wrote: > Humm, that would be hard and security unwise. The executing node path > aren't available to the web. They are in the case of workspace files (to users with appropriate permissions). I think the problem is