Re: SharedLibrary, clone, using resources

2017-11-07 Thread Jakub Michalec
I have a bit different scenario, I don't use Jenkinsfile in this jobs, they're more like 'utility' jobs eq Clean Azure Env etc. So, I want to get pipeline groovy script which use Powershell in stages from folder scripts. Also, I use Stash (atlassian git). I decide to create new repo, just for

Re: SharedLibrary, clone, using resources

2017-11-06 Thread itchymuzzle
Sounds a little related: Provide lightweight checkout capability for bitbucket to avoid repo clone of rmulti-branch pipelinejobs link -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To

Re: SharedLibrary, clone, using resources

2017-11-03 Thread jerome
Jenkins checkout the Jenkinsfile first and then the scm inside the jenkins checkout. If you can, try to enable the Lightweight checkout on the jenkinsfile checkout. Side note, I for one make a repos for the jenkins file that is not the same as the code repos, so my server and build setup evolve

Re: SharedLibrary, clone, using resources

2017-11-03 Thread Mark Waite
On Fri, Nov 3, 2017 at 10:37 AM itchymuzzle wrote: > I have this same question. > I thought that the branch source plugins (GitHub, Gitea, and possibly Bitbucket) provide a technique to avoid the copy of the full repository to retrieve the Jenkinsfile. However, if you're trying to avoid cloning

Re: SharedLibrary, clone, using resources

2017-11-03 Thread itchymuzzle
I have this same question. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web vi

Re: SharedLibrary, clone, using resources

2017-11-03 Thread Jakub Michalec
W dniu piątek, 3 listopada 2017 16:26:08 UTC+1 użytkownik itchymuzzle napisał: > > Please post something which is readable. Thanks. > Hello, I have question regarding SharedLibrary, I put some powershell script (/scripts/…) in same repository and I want to use them during builds. Atm, I use

Re: SharedLibrary, clone, using resources

2017-11-03 Thread itchymuzzle
Please post something which is readable. Thanks. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this dis

SharedLibrary, clone, using resources

2017-11-03 Thread Jakub Michalec
Hello, I have question regarding SharedLibrary, I put some powershell script (/scripts/…) in same repository and I want to use them during builds. Atm, I use it like this @Library('JenkinsSharedLibrary') _ pipeline { agent { node { label 'azure' } } options { s