Check this link https://plugins.jenkins.io/git-parameter/
Git parameter doesnt know from which repo(shared repo or project repo), it
fetches the branch from shared repo. Follow the below steps to solve this
issue
If in the task are defined multiple repositories, this option specifies
which the
Which plugins are those?
Multibranch is this one: https://plugins.jenkins.io/workflow-multibranch/
and multipipeline plugin?
Thank you.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails
Have you installed the multibranch and multipipeline plugins that will help.
The other thing is were you want to set the git repo information in jenkins
cred’s jenkins golbal or in the jenkinsfile
don’t mix and match
--
Regards,
Vince Bailey
Live long and prosper !!!
> On 3 Mar 2020, at 16
Yes, finally I used "String parameter" but that was, what I was trying to
avoid... I wanted to help anyone selecting their branch and not typing it.
Thank you for your support :)
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe
If you need to clone two repositories and can't get the branch names from a
git parameter, you could use a string parameter and list the choice of
branches yourself. Or, you could experiment with the git parameter plugin
to see if you can find a way to resolve the issue that you're seeing.
On Tue
Hello Mark,
I need to clone 2 repositories, so I can´t place the Jenkinsfile in one
repository or another.
I need to place the code directly in the Jenkinsfile inside the job.
The thing is that branches are not loaded in the git paramater.
Is there any workaround to fix this?
Thank you.
--
I'd call it a misunderstanding more than an incompatibility. The git
parameter is providing a filter which can *limit* the set of branches which
might be included. The git parameter *cannot expand* the set of branches
which might be included. The multibranch pipeline job definition controls
--
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 visit
https://groups.google.com
Hello,
I have the following pipeline that uses a method called "getServiceVersion"
from a Shared Library.
#!/usr/bin/env groovy
@Library('mycom')
import com.mycom.*
// Declarative pipeline //
properties([[$class: 'JiraProjectProperty'], buildDiscarder(logRotator(
artifactDaysToKeepStr: '',
Hello,
I have the following pipeline that uses a method called "getServiceVersion"
from a Shared Library.
#!/usr/bin/env groovy
@Library('mycom')
import com.mycom.*
// Declarative pipeline //
properties([[$class: 'JiraProjectProperty'], buildDiscarder(logRotator(
artifactDaysToKeepStr: '',
10 matches
Mail list logo