more options like
>>> configuring Git SCM:
>>>
>>>
>>>
>>> checkout scm: [$class: 'GitSCM', branches: [[name: '*/test*']],
>>> userRemoteConfigs: [[url: 'git@hd1:testing']]]
>>>
>>>
>>>
&
pa <
> sharan@gmail.com>
> *Reply-To: *"jenkins...@googlegroups.com"
>
>
> *Date: *Thursday, January 26, 2017 at 4:03 AM
>
> *To: *Jenkins Users
>
>
> *Subject: *Re: Pipeline: wildcard for branch name
>
>
>
> Hi David,
>
>
>
> I am
; <
> jenkins...@googlegroups.com >
> *Date: *Thursday, January 26, 2017 at 4:03 AM
> *To: *Jenkins Users >
> *Subject: *Re: Pipeline: wildcard for branch name
>
>
>
> Hi David,
>
>
>
> I am new to continuous integration and Jenkins, so I need inputs to
igs: [[url: 'git@hd1:testing']]]
From: on behalf of Sharan Basappa
Reply-To: "jenkinsci-users@googlegroups.com"
Date: Thursday, January 26, 2017 at 4:03 AM
To: Jenkins Users
Subject: Re: Pipeline: wildcard for branch name
Hi David,
I am new to continuous integration and Jenki
You may find it easier to start with a freestyle job so that you can work
through the steps with a little more help from the Jenkins web interface.
A freestyle job will let you define the branch with a wild card and will
let you see your build results, see the summary of test results, etc. That
wi
Hi David,
I am new to continuous integration and Jenkins, so I need inputs to go in
the right direction.
My requirement is that users push branches with name test_id1/test_id2 etc.
I would like to build only when users have created branches with the above
name.
So, after seeing the responses, i
On Monday, January 23, 2017 at 9:37:01 AM UTC-8, Sharan Basappa wrote:
>
> Hi,
>
> I am trying to create pipeline script such that it only a certain branches
> following a naming style are built.
> However, pipeline bails out when I use the wildcard.
>
> The code snippet is below:
>
> stage 'build
]]
From: on behalf of Sharan Basappa
Reply-To: "jenkinsci-users@googlegroups.com"
Date: Tuesday, January 24, 2017 at 9:46 AM
To: Jenkins Users
Subject: Re: Pipeline: wildcard for branch name
Victor,
I tried all options as follows:
git url: 'git@hd1:testing', branch:
Victor,
I tried all options as follows:
git url: 'git@hd1:testing', branch: "test*"
git url: 'git@hd1:testing', branch: test*
git url: 'git@hd1:testing', branch: 'test*'
In all the 3 cases, Jenkins exits with error. I looked into the log again
and this is what I see:
Caused by: hudson.plug
Test property doesn't exist so, according to the doc:
- https://jenkins.io/doc/pipeline/steps/git/#git-git
-- branch is a string therefore you need to quote it otherwise it seems
it's recognised as a property
You can also try with the* generic scm step*, explained also in the same
page
Cheers
Hi,
I am trying to create pipeline script such that it only a certain branches
following a naming style are built.
However, pipeline bails out when I use the wildcard.
The code snippet is below:
stage 'build'
node {
git url: 'git@hd1:testing', branch: test*
sh "pwd"
sh "cat simple.csh"
sh
11 matches
Mail list logo