Re: jenkins issue

2022-10-12 Thread pooja pooja
I tried above videos and  whatever suggestion avaialable in google but
still am getting same issue

On Wed, Oct 12, 2022, 2:22 PM Iván Fernández Calvo 
wrote:

> You do not pass any credentials around the script in the pipeline,
> So the command “git pull” failed because does not have a way to
> authenticate. Check the article and the video of my previous message, there
> is explained how to pass credentials to your script.
>
> El 12 oct 2022, a las 8:13, pooja pooja  escribió:
>
> 
> this is my deploy.sh file
> #!/bin/bash
>
> ssh ubuntu@65.0.256.137 < #cd /home/ubuntu/GJ_DEV/GJ_API
> cd  gj/pat
> sudo git pull
> pm2 restart all
> pm2 status
>
> pipeline script
> currentBuild.displayName = "gj-api-#"+currentBuild.number
> pipeline{
> agent any
> stages{
> stage("GITLAB_CHECKOUT"){
> steps{
> git branch: 'development', credentialsId: 'GITHUB1', url:'
> https://github.com/gj/pat.git'
> }
> }
> stage("pm2 start"){
> steps{
> sh 'chmod u+x ./scripts/deploy.sh'
> sh './scripts/deploy.sh'
> }
> }
> }
>
>
> can you guys tell me, where the script was wrong,am not able to find the
> error
>
>
>
> On Tue, Oct 11, 2022 at 10:00 PM Ivan Fernandez Calvo <
> kuisathave...@gmail.com> wrote:
>
>> one more thing to pass the Git credentials to your script you could check
>> this articles
>>
>> https://www.jenkins.io/blog/2021/07/27/git-credentials-binding-phase-1/
>> https://www.youtube.com/watch?v=HSA_mZoADSw
>>
>> El martes, 11 de octubre de 2022 a las 18:28:26 UTC+2, Ivan Fernandez
>> Calvo escribió:
>>
>>> The error is related to something your script is doing, it is not
>>> related to Jenkins at all. Try to review the code you are executing and
>>> figure out which line is and what is wrong. Googling the error seems
>>> related to configuring the git user and git email and the git
>>> authentication when you access GitHub using HTTPS URLs. It seems to be an
>>> error message from Ruby code. The solution seems to add the authentication
>>> to the URL or use an authentication store proper for your environment (I
>>> preferer to use gh see https://cli.github.com/manual/gh_auth_setup-git),
>>> but I am not sure depends on your script.
>>>
>>>
>>> https://stackoverflow.com/questions/54454853/fatal-could-not-read-username-for-https-github-com-no-such-device-or-addr
>>>
>>> https://stackoverflow.com/questions/69995273/access-organization-repo-on-github-using-personal-access-token-inside-bash-scrip
>>>
>>> https://itecnote.com/tecnote/ruby-on-rails-fatal-could-not-read-username-for-https-github-com-no-such-device-or-address/
>>> https://github.com/github/hub/issues/1644
>>>
>>> El martes, 11 de octubre de 2022 a las 13:37:53 UTC+2,
>>> pooja...@gmail.com escribió:
>>>
 Hi mark and Mithun,

 am getting error in jenkins
 [image: image.png]

 On Tue, Oct 11, 2022 at 9:59 AM pooja pooja  wrote:

> this is my exact issue
>
> [image: image.png]
>
> On Mon, Oct 10, 2022 at 7:15 PM Mithun Raj  wrote:
>
>> 1. Update your OS,
>>
>> 2. Check if the Git credentials are injected correctly,
>> If running from bastion host or jump box make sure your git hub or
>> enterprise hostnames and IP are updated (ask git admin) in the hosts file
>> under /etc/hosts
>>
>> 3. Update—env is the Git global env for git
>> You can either set or unset those in your Linux machine it’s your Git
>> ID and pass which you can set as global access. not recommended if you 
>> have
>> set it under Jenkins credentials.
>>
>>
>> On Mon, 10 Oct 2022 at 5:49 PM, pooja pooja 
>> wrote:
>>
>>> in jenkins am getting below error
>>> New release '22.04.1 LTS' available. Run 'do-release-upgrade' to
>>> upgrade to it.
>>>  fatal: could not read Username for 'https://github.com': No such
>>> device or address
>>>  Use --update-env to update environment variables
>>>
>>> --
>>> 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-use...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/cec7b2ee-88ba-417d-be66-95d4954dbbfen%40googlegroups.com
>>> 
>>> .
>>>
>> --
>> 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-use...@googlegroups.com.
>> To view this discussion on the web visit
>> 

Re: jenkins issue

2022-10-12 Thread Iván Fernández Calvo
You do not pass any credentials around the script in the pipeline,So the command “git pull” failed because does not have a way to authenticate. Check the article and the video of my previous message, there is explained how to pass credentials to your script.El 12 oct 2022, a las 8:13, pooja pooja  escribió:this is my deploy.sh file#!/bin/bashssh ubuntu@65.0.256.137 <#cd /home/ubuntu/GJ_DEV/GJ_APIcd  gj/patsudo git pullpm2 restart allpm2 statuspipeline scriptcurrentBuild.displayName = "gj-api-#"+currentBuild.numberpipeline{    agent any     stages{        stage("GITLAB_CHECKOUT"){            steps{                git branch: 'development', credentialsId: 'GITHUB1', url:'https://github.com/gj/pat.git'            }        }        stage("pm2 start"){            steps{                sh 'chmod u+x ./scripts/deploy.sh'                sh './scripts/deploy.sh'            }        }    }can you guys tell me, where the script was wrong,am not able to find the errorOn Tue, Oct 11, 2022 at 10:00 PM Ivan Fernandez Calvo  wrote:one more thing to pass the Git credentials to your script you could check this articleshttps://www.jenkins.io/blog/2021/07/27/git-credentials-binding-phase-1/https://www.youtube.com/watch?v=HSA_mZoADSwEl martes, 11 de octubre de 2022 a las 18:28:26 UTC+2, Ivan Fernandez Calvo escribió:The error is related to something your script is doing, it is not related to Jenkins at all. Try to review the code you are executing and figure out which line is and what is wrong. Googling the error seems related to configuring the git user and git email and the git authentication when you access GitHub using HTTPS URLs. It seems to be an error message from Ruby code. The solution seems to add the authentication to the URL or use an authentication store proper for your environment (I preferer to use gh see https://cli.github.com/manual/gh_auth_setup-git), but I am not sure depends on your script.https://stackoverflow.com/questions/54454853/fatal-could-not-read-username-for-https-github-com-no-such-device-or-addrhttps://stackoverflow.com/questions/69995273/access-organization-repo-on-github-using-personal-access-token-inside-bash-scriphttps://itecnote.com/tecnote/ruby-on-rails-fatal-could-not-read-username-for-https-github-com-no-such-device-or-address/https://github.com/github/hub/issues/1644El martes, 11 de octubre de 2022 a las 13:37:53 UTC+2, pooja...@gmail.com escribió:Hi mark and Mithun,am getting error in jenkins On Tue, Oct 11, 2022 at 9:59 AM pooja pooja  wrote:this is my exact issueOn Mon, Oct 10, 2022 at 7:15 PM Mithun Raj  wrote:1. Update your OS,2. Check if the Git credentials are injected correctly,If running from bastion host or jump box make sure your git hub or enterprise hostnames and IP are updated (ask git admin) in the hosts file under /etc/hosts3. Update—env is the Git global env for gitYou can either set or unset those in your Linux machine it’s your Git ID and pass which you can set as global access. not recommended if you have set it under Jenkins credentials.On Mon, 10 Oct 2022 at 5:49 PM, pooja pooja  wrote:in jenkins am getting below errorNew release '22.04.1 LTS' available.
Run 'do-release-upgrade' to upgrade to it. fatal: could not read Username for 'https://github.com': No such device or address Use --update-env to update environment variables



-- 
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/cec7b2ee-88ba-417d-be66-95d4954dbbfen%40googlegroups.com.




-- 
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANwMLksgv3L6S%2BGdZmXxq0fw8eOCJ_HW-3sbRqpDhnqsB6X71A%40mail.gmail.com.






-- 
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/d/msgid/jenkinsci-users/9bed72a1-5419-42fe-ae55-775f0793aa10n%40googlegroups.com.




-- 
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/4MFd7CVFD3U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

Re: jenkins issue

2022-10-12 Thread pooja pooja
this is my deploy.sh file
#!/bin/bash

ssh ubuntu@65.0.256.137  wrote:

> one more thing to pass the Git credentials to your script you could check
> this articles
>
> https://www.jenkins.io/blog/2021/07/27/git-credentials-binding-phase-1/
> https://www.youtube.com/watch?v=HSA_mZoADSw
>
> El martes, 11 de octubre de 2022 a las 18:28:26 UTC+2, Ivan Fernandez
> Calvo escribió:
>
>> The error is related to something your script is doing, it is not related
>> to Jenkins at all. Try to review the code you are executing and figure out
>> which line is and what is wrong. Googling the error seems related to
>> configuring the git user and git email and the git authentication when you
>> access GitHub using HTTPS URLs. It seems to be an error message from Ruby
>> code. The solution seems to add the authentication to the URL or use an
>> authentication store proper for your environment (I preferer to use gh see
>> https://cli.github.com/manual/gh_auth_setup-git), but I am not sure
>> depends on your script.
>>
>>
>> https://stackoverflow.com/questions/54454853/fatal-could-not-read-username-for-https-github-com-no-such-device-or-addr
>>
>> https://stackoverflow.com/questions/69995273/access-organization-repo-on-github-using-personal-access-token-inside-bash-scrip
>>
>> https://itecnote.com/tecnote/ruby-on-rails-fatal-could-not-read-username-for-https-github-com-no-such-device-or-address/
>> https://github.com/github/hub/issues/1644
>>
>> El martes, 11 de octubre de 2022 a las 13:37:53 UTC+2, pooja...@gmail.com
>> escribió:
>>
>>> Hi mark and Mithun,
>>>
>>> am getting error in jenkins
>>> [image: image.png]
>>>
>>> On Tue, Oct 11, 2022 at 9:59 AM pooja pooja  wrote:
>>>
 this is my exact issue

 [image: image.png]

 On Mon, Oct 10, 2022 at 7:15 PM Mithun Raj  wrote:

> 1. Update your OS,
>
> 2. Check if the Git credentials are injected correctly,
> If running from bastion host or jump box make sure your git hub or
> enterprise hostnames and IP are updated (ask git admin) in the hosts file
> under /etc/hosts
>
> 3. Update—env is the Git global env for git
> You can either set or unset those in your Linux machine it’s your Git
> ID and pass which you can set as global access. not recommended if you 
> have
> set it under Jenkins credentials.
>
>
> On Mon, 10 Oct 2022 at 5:49 PM, pooja pooja 
> wrote:
>
>> in jenkins am getting below error
>> New release '22.04.1 LTS' available. Run 'do-release-upgrade' to
>> upgrade to it.
>>  fatal: could not read Username for 'https://github.com': No such
>> device or address
>>  Use --update-env to update environment variables
>>
>> --
>> 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-use...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-users/cec7b2ee-88ba-417d-be66-95d4954dbbfen%40googlegroups.com
>> 
>> .
>>
> --
> 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-use...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CANwMLksgv3L6S%2BGdZmXxq0fw8eOCJ_HW-3sbRqpDhnqsB6X71A%40mail.gmail.com
> 
> .
>
 --
> 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/d/msgid/jenkinsci-users/9bed72a1-5419-42fe-ae55-775f0793aa10n%40googlegroups.com
> 
> .
>

-- 
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 

Re: jenkins issue

2022-10-11 Thread Ivan Fernandez Calvo
one more thing to pass the Git credentials to your script you could check 
this articles

https://www.jenkins.io/blog/2021/07/27/git-credentials-binding-phase-1/
https://www.youtube.com/watch?v=HSA_mZoADSw

El martes, 11 de octubre de 2022 a las 18:28:26 UTC+2, Ivan Fernandez Calvo 
escribió:

> The error is related to something your script is doing, it is not related 
> to Jenkins at all. Try to review the code you are executing and figure out 
> which line is and what is wrong. Googling the error seems related to 
> configuring the git user and git email and the git authentication when you 
> access GitHub using HTTPS URLs. It seems to be an error message from Ruby 
> code. The solution seems to add the authentication to the URL or use an 
> authentication store proper for your environment (I preferer to use gh see 
> https://cli.github.com/manual/gh_auth_setup-git), but I am not sure 
> depends on your script.
>
>
> https://stackoverflow.com/questions/54454853/fatal-could-not-read-username-for-https-github-com-no-such-device-or-addr
>
> https://stackoverflow.com/questions/69995273/access-organization-repo-on-github-using-personal-access-token-inside-bash-scrip
>
> https://itecnote.com/tecnote/ruby-on-rails-fatal-could-not-read-username-for-https-github-com-no-such-device-or-address/
> https://github.com/github/hub/issues/1644
>
> El martes, 11 de octubre de 2022 a las 13:37:53 UTC+2, pooja...@gmail.com 
> escribió:
>
>> Hi mark and Mithun,
>>
>> am getting error in jenkins 
>> [image: image.png]
>>
>> On Tue, Oct 11, 2022 at 9:59 AM pooja pooja  wrote:
>>
>>> this is my exact issue
>>>
>>> [image: image.png]
>>>
>>> On Mon, Oct 10, 2022 at 7:15 PM Mithun Raj  wrote:
>>>
 1. Update your OS,

 2. Check if the Git credentials are injected correctly,
 If running from bastion host or jump box make sure your git hub or 
 enterprise hostnames and IP are updated (ask git admin) in the hosts file 
 under /etc/hosts

 3. Update—env is the Git global env for git
 You can either set or unset those in your Linux machine it’s your Git 
 ID and pass which you can set as global access. not recommended if you 
 have 
 set it under Jenkins credentials.


 On Mon, 10 Oct 2022 at 5:49 PM, pooja pooja  wrote:

> in jenkins am getting below error
> New release '22.04.1 LTS' available. Run 'do-release-upgrade' to 
> upgrade to it.
>  fatal: could not read Username for 'https://github.com': No such 
> device or address
>  Use --update-env to update environment variables
>
> -- 
> 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-use...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/cec7b2ee-88ba-417d-be66-95d4954dbbfen%40googlegroups.com
>  
> 
> .
>
 -- 
 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-use...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/jenkinsci-users/CANwMLksgv3L6S%2BGdZmXxq0fw8eOCJ_HW-3sbRqpDhnqsB6X71A%40mail.gmail.com
  
 
 .

>>>

-- 
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/d/msgid/jenkinsci-users/9bed72a1-5419-42fe-ae55-775f0793aa10n%40googlegroups.com.


Re: jenkins issue

2022-10-11 Thread Ivan Fernandez Calvo
The error is related to something your script is doing, it is not related 
to Jenkins at all. Try to review the code you are executing and figure out 
which line is and what is wrong. Googling the error seems related to 
configuring the git user and git email and the git authentication when you 
access GitHub using HTTPS URLs. It seems to be an error message from Ruby 
code. The solution seems to add the authentication to the URL or use an 
authentication store proper for your environment (I preferer to use gh see 
https://cli.github.com/manual/gh_auth_setup-git), but I am not sure depends 
on your script.

https://stackoverflow.com/questions/54454853/fatal-could-not-read-username-for-https-github-com-no-such-device-or-addr
https://stackoverflow.com/questions/69995273/access-organization-repo-on-github-using-personal-access-token-inside-bash-scrip
https://itecnote.com/tecnote/ruby-on-rails-fatal-could-not-read-username-for-https-github-com-no-such-device-or-address/
https://github.com/github/hub/issues/1644

El martes, 11 de octubre de 2022 a las 13:37:53 UTC+2, pooja...@gmail.com 
escribió:

> Hi mark and Mithun,
>
> am getting error in jenkins 
> [image: image.png]
>
> On Tue, Oct 11, 2022 at 9:59 AM pooja pooja  wrote:
>
>> this is my exact issue
>>
>> [image: image.png]
>>
>> On Mon, Oct 10, 2022 at 7:15 PM Mithun Raj  wrote:
>>
>>> 1. Update your OS,
>>>
>>> 2. Check if the Git credentials are injected correctly,
>>> If running from bastion host or jump box make sure your git hub or 
>>> enterprise hostnames and IP are updated (ask git admin) in the hosts file 
>>> under /etc/hosts
>>>
>>> 3. Update—env is the Git global env for git
>>> You can either set or unset those in your Linux machine it’s your Git ID 
>>> and pass which you can set as global access. not recommended if you have 
>>> set it under Jenkins credentials.
>>>
>>>
>>> On Mon, 10 Oct 2022 at 5:49 PM, pooja pooja  wrote:
>>>
 in jenkins am getting below error
 New release '22.04.1 LTS' available. Run 'do-release-upgrade' to 
 upgrade to it.
  fatal: could not read Username for 'https://github.com': No such 
 device or address
  Use --update-env to update environment variables

 -- 
 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-use...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/jenkinsci-users/cec7b2ee-88ba-417d-be66-95d4954dbbfen%40googlegroups.com
  
 
 .

>>> -- 
>>> 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-use...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-users/CANwMLksgv3L6S%2BGdZmXxq0fw8eOCJ_HW-3sbRqpDhnqsB6X71A%40mail.gmail.com
>>>  
>>> 
>>> .
>>>
>>

-- 
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/d/msgid/jenkinsci-users/35f000ba-871c-4fb8-97b4-0df516b19028n%40googlegroups.com.


Re: jenkins issue

2022-10-10 Thread Mithun Raj
1. Update your OS,

2. Check if the Git credentials are injected correctly,
If running from bastion host or jump box make sure your git hub or
enterprise hostnames and IP are updated (ask git admin) in the hosts file
under /etc/hosts

3. Update—env is the Git global env for git
You can either set or unset those in your Linux machine it’s your Git ID
and pass which you can set as global access. not recommended if you have
set it under Jenkins credentials.


On Mon, 10 Oct 2022 at 5:49 PM, pooja pooja  wrote:

> in jenkins am getting below error
> New release '22.04.1 LTS' available. Run 'do-release-upgrade' to upgrade
> to it.
>  fatal: could not read Username for 'https://github.com': No such device
> or address
>  Use --update-env to update environment variables
>
> --
> 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/d/msgid/jenkinsci-users/cec7b2ee-88ba-417d-be66-95d4954dbbfen%40googlegroups.com
> 
> .
>

-- 
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/d/msgid/jenkinsci-users/CANwMLksgv3L6S%2BGdZmXxq0fw8eOCJ_HW-3sbRqpDhnqsB6X71A%40mail.gmail.com.


Re: jenkins issue

2022-10-10 Thread Mark Waite


On Monday, October 10, 2022 at 6:19:34 AM UTC-6 Pooja wrote:

> in jenkins am getting below error
> New release '22.04.1 LTS' available. Run 'do-release-upgrade' to upgrade 
> to it.
>

That message is displayed when you're running an older version of Ubuntu, 
like 20.04 or 18.04.  They are trying to encourage you to upgrade so that 
you can remain on a supported operating system version.
 

>  fatal: could not read Username for 'https://github.com': No such device 
> or address
>

https://stackoverflow.com/questions/40274484/fatal-could-not-read-username-for-https-github-com-device-not-configured
 
indicates that usually means you're not using a credential with an HTTPS 
private git repository.  A credential is required and the credential has 
not been provided or is no longer valid.

 Use --update-env to update environment variables
>

Sorry, I don't recognize that message

Mark Waite

-- 
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/d/msgid/jenkinsci-users/f80d74f9-adc5-4f70-a488-9a858a09dfb1n%40googlegroups.com.


jenkins issue

2022-10-10 Thread pooja pooja
in jenkins am getting below error
New release '22.04.1 LTS' available. Run 'do-release-upgrade' to upgrade to 
it.
 fatal: could not read Username for 'https://github.com': No such device or 
address
 Use --update-env to update environment variables

-- 
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/d/msgid/jenkinsci-users/cec7b2ee-88ba-417d-be66-95d4954dbbfen%40googlegroups.com.


Regarding jenkins issue.

2022-07-13 Thread Harsha Manikanta
Hi All,

i need a small information that is while sending testng reports via mail i 
need  build date and time to  displayed in the mail subject line ???
can any one rectify my issue please?

Thanks and regards,
Harsha


-- 
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/d/msgid/jenkinsci-users/8dddbb06-9e50-4ee8-b6be-67be666be1e2n%40googlegroups.com.


Property Transfer (SoapUI) For Jenkins Issue

2020-08-07 Thread Ramachandran Chandran
Hi All,

I am new to Jenkins and is in the process of on-boarding SoapUI test suite 
to Jenkins to run the SoapUi regression pack along with build.

I am using SoapUI TestRunner to run the suite in jenkins -  everything is 
working as expected in local instance.

WASP token generated dynamically is passed as a Property Transfer to the 
testcases in SoapUI and is working as expected in local instance; however,  
with Jenkins this WASP token property is now working as expected and 
getting 401 error.

Can somebody give any guidance. 

-- 
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/d/msgid/jenkinsci-users/90af1fb3-1865-4c92-83fa-1498e9917715o%40googlegroups.com.


Re: Jenkins issue on installing Email-ext plugin[--Urgent--]

2018-03-01 Thread iqbal md
Thanks all for your support.
The issue got resolved after upgrading Jenkins to the latest version i.e. 
2.89 along with latest plugins. All the plugins have been installed via 
Plugin Manager feature available in Jenkins.

-- 
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/d/msgid/jenkinsci-users/350dcc63-104b-4813-848d-afbafe57770a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins issue on installing Email-ext plugin[--Urgent--]

2018-02-26 Thread Slide
Several of the pipeline plugins have dependencies on plugins that require a
newer version of Jenkins, there is a warning in the plugin manager about
this when you are installing things. If you upgraded the pipeline plugins,
then this dependency was probably upgraded as well and requires at least
2.60.3 or something like that in order to run. You may need to upgrade to
that version at minimum.

On Mon, Feb 26, 2018 at 2:37 AM iqbal md  wrote:

> Hi Mark,
> I am using Jenkins 2.7.2.
> I tried installing the latest version of Pipeline:Job(workflow-job)
> plugins along with all the dependencies but still I am facing the same
> issue.
> Is it some problem with the Jenkins version, do I need to install the
> latest Jenkins version here or is it just the issue with plugins here?
>
> With Regards
> Iqbal
>
> --
> 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/d/msgid/jenkinsci-users/fc36d85d-e81e-4557-990f-990de2de080c%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/d/msgid/jenkinsci-users/CAPiUgVfq65BWRMQubMaQe2JevPtvXU2PALve47b1o53X0-VhOA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins issue on installing Email-ext plugin[--Urgent--]

2018-02-26 Thread iqbal md
Hi Mark,
I am using Jenkins 2.7.2.
I tried installing the latest version of Pipeline:Job(workflow-job) plugins 
along with all the dependencies but still I am facing the same issue.
Is it some problem with the Jenkins version, do I need to install the 
latest Jenkins version here or is it just the issue with plugins here?

With Regards
Iqbal

-- 
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/d/msgid/jenkinsci-users/fc36d85d-e81e-4557-990f-990de2de080c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins issue on installing Email-ext plugin[--Urgent--]

2018-02-24 Thread Daniel Beck

> On 24. Feb 2018, at 05:26, Mark Waite  wrote:
> 
> Installing a plugin by directly uploading an hpi file will not install any 
> additional dependencies, even if they are required.

This was fixed (for uploads through the UI) in Jenkins 2.1.

-- 
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/d/msgid/jenkinsci-users/45F901ED-245A-4E67-BDAA-F3244D1B3ED7%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins issue on installing Email-ext plugin[--Urgent--]

2018-02-23 Thread iqbal md
Thanks Mark.

Actually I have tried installing the plugins via Plugin Manager as well but 
that didn't resolve my issue.
I will try installing the latest workflow-job first followed by other 
plugins, will see if that addresses my issue, will keep you posted.

With Regards
Iqbal

-- 
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/d/msgid/jenkinsci-users/30405cbd-93f0-4054-bc61-3001c2f62d4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins issue on installing Email-ext plugin[--Urgent--]

2018-02-23 Thread Mark Waite
On Fri, Feb 23, 2018 at 9:16 PM iqbal md  wrote:

>  Thanks Mark.
>
> I am bit curious to understand how did you manage to avoid installing
> additional dependencies beyond the ones which you have already installed in
> your image. As far as am aware once you install any plugin via Plugin
> Manager or directly uploading a hpi file in the Advanced section it pulls
> all the dependencies automatically.
>
>
Installing a plugin through the plugin manager will also install all the
mandatory dependencies of that plugin.

Installing a plugin by directly uploading an hpi file will *not* install
any additional dependencies, even if they are required.  My concern with
your description of your earlier attempts was that you mentioned at least
one of your techniques was to upload plugins directly.  That does not
install additional dependencies.


> I have gone through you list of your plugins shared as part of docker
> image but couldn't find the email-ext/email-ext-template plugins there.
>
>
I installed the plugin during a running session.  I did not change my
Docker image definition to add email-ext, since I don't use that plugin.

I did not install the email-ext-template plugin earlier.  This is the first
I've seen mention of that plugin.  I installed it interactively just now
and it did not add any additional plugins to my Jenkins installation.


> And moreover I can find the version of workflow-job as 2.9 as part of
> maven dependency in email-ext-template(V1.0)->email-ext-template(V2.43)
> while in your repository it is workflow-job(V2.17).
>

When I use a plugin, I prefer to use the most recent released versions of
that plugin.  When a plugin depends on an earlier version, later plugin
versions can be used to satisfy the dependency.

Mark Waite


> As advised by you, will install the support-core plugin and will try
> generating the bundle for comparison sake.
>
> With Regards
> Iqbal
>
> --
> 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/d/msgid/jenkinsci-users/ed9d5e36-dff5-494a-b925-3a30a3ee9ce9%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/d/msgid/jenkinsci-users/CAO49JtHUK10JVJxaB3jEPfCVRibjYf44WiiGfGArnM-vHeD-Tw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins issue on installing Email-ext plugin[--Urgent--]

2018-02-23 Thread iqbal md
 Thanks Mark.
 
I am bit curious to understand how did you manage to avoid installing 
additional dependencies beyond the ones which you have already installed in 
your image. As far as am aware once you install any plugin via Plugin 
Manager or directly uploading a hpi file in the Advanced section it pulls 
all the dependencies automatically.

I have gone through you list of your plugins shared as part of docker image 
but couldn't find the email-ext/email-ext-template plugins there.

And moreover I can find the version of workflow-job as 2.9 as part of maven 
dependency in email-ext-template(V1.0)->email-ext-template(V2.43) while in 
your repository it is workflow-job(V2.17).

As advised by you, will install the support-core plugin and will try 
generating the bundle for comparison sake.

With Regards
Iqbal

-- 
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/d/msgid/jenkinsci-users/ed9d5e36-dff5-494a-b925-3a30a3ee9ce9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins issue on installing Email-ext plugin[--Urgent--]

2018-02-21 Thread Mark Waite
I continue to suspect that the problem is due to manually uploading plugins 
without satisfying all the dependencies.

You might try installing the support-core plugin.  Use it to generate a 
support bundle so that it can be compared with a working system.

As an experiment, I installed the email-ext plugin in my Jenkins and it did 
not include any additional dependencies beyond the plugins I already have 
installed.  The plugins I have installed are listed in my docker image 
, 
in case you want to compare my plugin list and yours. I did not attempt to 
send mail with the email-ext plugin, I only tested installing it to see if 
it would require additional dependencies that I do not already have.

Mark Waite

On Wednesday, February 21, 2018 at 7:28:51 PM UTC-7, iqbal md wrote:
>
> Hi Mark,
>
> Thanks for replying.
>
> I am using Oracle Java 1.8.
>
> I have tried installing the email-extension template from the "Manage 
> Plugins" section as well as installed the .hpi file. In both the cases it 
> installed the necessary dependencies, meaning I didn't observed any 
> difference there with respect to dependencies atleast.
>
> Yes, I keep restarting the Jenkins after each installation to make the 
> changes effective. 
>
> Can you please brief me over the Plugin Manager page here which you are 
> asking for verifying upon the satisfaction of dependencies. Is it the 
> "Updates" section available in the "Manage Plugins" section or is the 
> Jenkins Plugin link which mentions the Required/Optional dependencies.
>
> The moment I get plugins(workflow-job and workflow-support) installed as 
> part of the dependencies I start hitting this issue, otherwise until then 
> the pipeline runs absolutely fine just that the email feature is not able 
> to relay mails.
>
> With Regards
> Iqbal
>
> On Wednesday, 21 February 2018 10:16:34 UTC+5:30, Mark Waite wrote:
>>
>> The RunWithSCM class is part of Jenkins core.  The report of class not 
>> found for a class in Jenkins core is quite surprising.  You say that you're 
>> running "Java 1.8".  Are you running Oracle Java 1.8, OpenJDK 1.8, or IBM 
>> Java 1.8?  If you're using IBM Java 1.8, then there are known problems 
>> running Jenkins over the IBM Java Runtime Environment.  Switch to OpenJDK 
>> or Oracle JDK. 
>>
>> The missing class message for the mail related class seems to indicate 
>> that one or more required plugins might be missing from your installation.
>>
>> Have you checked the "Manage Plugins" page to see if it highlights any 
>> dependencies which are not satisfied?  Have you restarted the Jenkins 
>> server recently and reviewed the Plugin Manager page to confirm that 
>> required dependencies are satisfied?
>>
>> Did you install all the plugins using the plugin manager, or did you 
>> install some of them using the "Advanced" option to upload a specific 
>> plugin (instead of using the plugin manager)?  If you use the Advanced 
>> option, then you are responsible to upload all the required dependencies.
>>
>> Mark Waite
>>
>> On Tue, Feb 20, 2018 at 9:28 PM iqbal md  wrote:
>>
>>> I have been setting up pipeline job in Jenkins which is basically aimed 
>>> at checking out code from Subversion, build and deploy it into Weblogic, 
>>> run Cucumber test and then send out an email notification.
>>>
>>> PFB my environment related information:
>>> Java 1.8
>>> Weblogic 12c
>>> SMTP server(For mailing)
>>>
>>> My pipeline is running fine until executing Cucumber test but the job 
>>> meant for sending email is not working for me. I have tried sending email 
>>> as individual job also but no luck.
>>>
>>> I installed the email-ext template plugin thinking it will resolve my 
>>> issue around triggering emails. However this plugin mandates the email-ext 
>>> plugin to upgrade to 1.0 along with which workflow related 
>>> plugins(workflow-job and workflow-support) get installed as dependencies. 
>>> And then when I trigger any job I keep getting this error:
>>>
>>> FATAL: jenkins/scm/RunWithSCM
>>> java.lang.NoClassDefFoundError: jenkins/scm/RunWithSCM
>>> at java.lang.ClassLoader.defineClass1(Native Method)
>>> at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
>>> at 
>>> jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139)
>>> at 
>>> hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:878)
>>> at 
>>> jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310)
>>> at 
>>> jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
>>> at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
>>> at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>>> at 
>>> org.jenkinsci.plugins.workflow.job.WorkflowJob$SCMListenerImpl.onCheckout(WorkflowJob.java:651)
>>> at 
>>> 

Re: Jenkins issue on installing Email-ext plugin[--Urgent--]

2018-02-21 Thread iqbal md
Hi Mark,

Thanks for replying.

I am using Oracle Java 1.8.

I have tried installing the email-extension template from the "Manage 
Plugins" section as well as installed the .hpi file. In both the cases it 
installed the necessary dependencies, meaning I didn't observed any 
difference there with respect to dependencies atleast.

Yes, I keep restarting the Jenkins after each installation to make the 
changes effective. 

Can you please brief me over the Plugin Manager page here which you are 
asking for verifying upon the satisfaction of dependencies. Is it the 
"Updates" section available in the "Manage Plugins" section or is the 
Jenkins Plugin link which mentions the Required/Optional dependencies.

The moment I get plugins(workflow-job and workflow-support) installed as 
part of the dependencies I start hitting this issue, otherwise until then 
the pipeline runs absolutely fine just that the email feature is not able 
to relay mails.

With Regards
Iqbal

On Wednesday, 21 February 2018 10:16:34 UTC+5:30, Mark Waite wrote:
>
> The RunWithSCM class is part of Jenkins core.  The report of class not 
> found for a class in Jenkins core is quite surprising.  You say that you're 
> running "Java 1.8".  Are you running Oracle Java 1.8, OpenJDK 1.8, or IBM 
> Java 1.8?  If you're using IBM Java 1.8, then there are known problems 
> running Jenkins over the IBM Java Runtime Environment.  Switch to OpenJDK 
> or Oracle JDK. 
>
> The missing class message for the mail related class seems to indicate 
> that one or more required plugins might be missing from your installation.
>
> Have you checked the "Manage Plugins" page to see if it highlights any 
> dependencies which are not satisfied?  Have you restarted the Jenkins 
> server recently and reviewed the Plugin Manager page to confirm that 
> required dependencies are satisfied?
>
> Did you install all the plugins using the plugin manager, or did you 
> install some of them using the "Advanced" option to upload a specific 
> plugin (instead of using the plugin manager)?  If you use the Advanced 
> option, then you are responsible to upload all the required dependencies.
>
> Mark Waite
>
> On Tue, Feb 20, 2018 at 9:28 PM iqbal md  
> wrote:
>
>> I have been setting up pipeline job in Jenkins which is basically aimed 
>> at checking out code from Subversion, build and deploy it into Weblogic, 
>> run Cucumber test and then send out an email notification.
>>
>> PFB my environment related information:
>> Java 1.8
>> Weblogic 12c
>> SMTP server(For mailing)
>>
>> My pipeline is running fine until executing Cucumber test but the job 
>> meant for sending email is not working for me. I have tried sending email 
>> as individual job also but no luck.
>>
>> I installed the email-ext template plugin thinking it will resolve my 
>> issue around triggering emails. However this plugin mandates the email-ext 
>> plugin to upgrade to 1.0 along with which workflow related 
>> plugins(workflow-job and workflow-support) get installed as dependencies. 
>> And then when I trigger any job I keep getting this error:
>>
>> FATAL: jenkins/scm/RunWithSCM
>> java.lang.NoClassDefFoundError: jenkins/scm/RunWithSCM
>> at java.lang.ClassLoader.defineClass1(Native Method)
>> at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
>> at 
>> jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139)
>> at 
>> hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:878)
>> at 
>> jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310)
>> at 
>> jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
>> at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
>> at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>> at 
>> org.jenkinsci.plugins.workflow.job.WorkflowJob$SCMListenerImpl.onCheckout(WorkflowJob.java:651)
>> at 
>> hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
>> at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
>> at 
>> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
>> at hudson.model.Run.execute(Run.java:1741)
>> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
>> at hudson.model.ResourceController.execute(ResourceController.java:98)
>> at hudson.model.Executor.run(Executor.java:410)
>> Caused by: java.lang.ClassNotFoundException: jenkins.scm.RunWithSCM
>> at 
>> jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
>> at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
>> at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>> ... 17 more
>> Email was triggered for: Always
>> Sending email for trigger: Always
>> Sending email to: iqbal.m...@xx.com (sample, while actually 

Re: Jenkins issue on installing Email-ext plugin[--Urgent--]

2018-02-20 Thread Mark Waite
The RunWithSCM class is part of Jenkins core.  The report of class not
found for a class in Jenkins core is quite surprising.  You say that you're
running "Java 1.8".  Are you running Oracle Java 1.8, OpenJDK 1.8, or IBM
Java 1.8?  If you're using IBM Java 1.8, then there are known problems
running Jenkins over the IBM Java Runtime Environment.  Switch to OpenJDK
or Oracle JDK.

The missing class message for the mail related class seems to indicate that
one or more required plugins might be missing from your installation.

Have you checked the "Manage Plugins" page to see if it highlights any
dependencies which are not satisfied?  Have you restarted the Jenkins
server recently and reviewed the Plugin Manager page to confirm that
required dependencies are satisfied?

Did you install all the plugins using the plugin manager, or did you
install some of them using the "Advanced" option to upload a specific
plugin (instead of using the plugin manager)?  If you use the Advanced
option, then you are responsible to upload all the required dependencies.

Mark Waite

On Tue, Feb 20, 2018 at 9:28 PM iqbal md  wrote:

> I have been setting up pipeline job in Jenkins which is basically aimed at
> checking out code from Subversion, build and deploy it into Weblogic, run
> Cucumber test and then send out an email notification.
>
> PFB my environment related information:
> Java 1.8
> Weblogic 12c
> SMTP server(For mailing)
>
> My pipeline is running fine until executing Cucumber test but the job
> meant for sending email is not working for me. I have tried sending email
> as individual job also but no luck.
>
> I installed the email-ext template plugin thinking it will resolve my
> issue around triggering emails. However this plugin mandates the email-ext
> plugin to upgrade to 1.0 along with which workflow related
> plugins(workflow-job and workflow-support) get installed as dependencies.
> And then when I trigger any job I keep getting this error:
>
> FATAL: jenkins/scm/RunWithSCM
> java.lang.NoClassDefFoundError: jenkins/scm/RunWithSCM
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
> at
> jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139)
> at
> hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:878)
> at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310)
> at
> jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
> at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
> at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at
> org.jenkinsci.plugins.workflow.job.WorkflowJob$SCMListenerImpl.onCheckout(WorkflowJob.java:651)
> at
> hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
> at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
> at
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
> at hudson.model.Run.execute(Run.java:1741)
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
> at hudson.model.ResourceController.execute(ResourceController.java:98)
> at hudson.model.Executor.run(Executor.java:410)
> Caused by: java.lang.ClassNotFoundException: jenkins.scm.RunWithSCM
> at
> jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
> at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
> at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 17 more
> Email was triggered for: Always
> Sending email for trigger: Always
> Sending email to: iqbal.moham...@xx.com (sample,
> while actually I have configured valid email id)
> Finished: FAILURE
>
> *And for next consecutive run on the same job I get this error*:
>
> Building in workspace /opt/software/ngae_jenkins/workspace/SendMail
>
> FATAL: org/jenkinsci/plugins/workflow/job/WorkflowRun
>
> java.lang.NoClassDefFoundError:
> org/jenkinsci/plugins/workflow/job/WorkflowRun
>
> at
> org.jenkinsci.plugins.workflow.job.WorkflowJob$SCMListenerImpl.onCheckout(WorkflowJob.java:651)
>
> at
> hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
>
> at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
>
> at
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
>
> at hudson.model.Run.execute(Run.java:1741)
>
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
>
> at hudson.model.ResourceController.execute(ResourceController.java:98)
>
> at hudson.model.Executor.run(Executor.java:410)
>
> Email was triggered for: Always
>
> Sending email for trigger: Always
>
> Sending email to: iqbal.moham...@xx.com 
>
> Finished: FAILURE
>
>
> I have checked on all 

Jenkins issue on installing Email-ext plugin

2018-02-20 Thread iqbal md
I have been setting up pipeline job in Jenkins which is basically aimed at 
checking out code from Subversion, build and deploy it into Weblogic, run 
Cucumber test and then send out an email notification.

PFB my environment related information:
Java 1.8
Weblogic 12c
SMTP server(For mailing)

My pipeline is running fine until executing Cucumber test but the job meant 
for sending email is not working for me. I have tried sending email as 
individual job also but no luck.

I installed the email-ext template plugin thinking it will resolve my issue 
around triggering emails. However this plugin mandates the email-ext plugin 
to upgrade to 1.0 along with which workflow related plugins(workflow-job 
and workflow-support) get installed as dependencies. And then when I 
trigger any job I keep getting this error:

FATAL: jenkins/scm/RunWithSCM
java.lang.NoClassDefFoundError: jenkins/scm/RunWithSCM
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139)
at 
hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:878)
at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310)
at 
jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at 
org.jenkinsci.plugins.workflow.job.WorkflowJob$SCMListenerImpl.onCheckout(WorkflowJob.java:651)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
at hudson.model.Run.execute(Run.java:1741)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
Caused by: java.lang.ClassNotFoundException: jenkins.scm.RunWithSCM
at 
jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 17 more
Email was triggered for: Always
Sending email for trigger: Always
Sending email to: chaitanya.bharad...@xx.com(sample, while actually I have 
configured valid email id)
Finished: FAILURE

*And for next consecutive run on the same job I get this error*:

Building in workspace /opt/software/ngae_jenkins/workspace/SendMail

FATAL: org/jenkinsci/plugins/workflow/job/WorkflowRun

java.lang.NoClassDefFoundError: 
org/jenkinsci/plugins/workflow/job/WorkflowRun

at 
org.jenkinsci.plugins.workflow.job.WorkflowJob$SCMListenerImpl.onCheckout(WorkflowJob.java:651)

at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)

at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)

at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)

at hudson.model.Run.execute(Run.java:1741)

at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)

at hudson.model.ResourceController.execute(ResourceController.java:98)

at hudson.model.Executor.run(Executor.java:410)

Email was triggered for: Always

Sending email for trigger: Always

Sending email to: chaitanya.bharad...@xx.com

Finished: FAILURE


I have checked on all available forums over internet but couldn't find 
anything helpful. I have bee trying multiple things but all in vain. Can 
you please suggest any way forward here.

-- 
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/d/msgid/jenkinsci-users/ca3718d6-7774-4ce2-a75b-e36bf7355c0c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins issue on installing Email-ext plugin[--Urgent--]

2018-02-20 Thread iqbal md
I have been setting up pipeline job in Jenkins which is basically aimed at 
checking out code from Subversion, build and deploy it into Weblogic, run 
Cucumber test and then send out an email notification.

PFB my environment related information:
Java 1.8
Weblogic 12c
SMTP server(For mailing)

My pipeline is running fine until executing Cucumber test but the job meant 
for sending email is not working for me. I have tried sending email as 
individual job also but no luck.

I installed the email-ext template plugin thinking it will resolve my issue 
around triggering emails. However this plugin mandates the email-ext plugin 
to upgrade to 1.0 along with which workflow related plugins(workflow-job 
and workflow-support) get installed as dependencies. And then when I 
trigger any job I keep getting this error:

FATAL: jenkins/scm/RunWithSCM
java.lang.NoClassDefFoundError: jenkins/scm/RunWithSCM
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139)
at 
hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:878)
at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310)
at 
jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at 
org.jenkinsci.plugins.workflow.job.WorkflowJob$SCMListenerImpl.onCheckout(WorkflowJob.java:651)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
at hudson.model.Run.execute(Run.java:1741)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
Caused by: java.lang.ClassNotFoundException: jenkins.scm.RunWithSCM
at 
jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 17 more
Email was triggered for: Always
Sending email for trigger: Always
Sending email to: iqbal.moham...@xx.com (sample, 
while actually I have configured valid email id)
Finished: FAILURE

*And for next consecutive run on the same job I get this error*:

Building in workspace /opt/software/ngae_jenkins/workspace/SendMail

FATAL: org/jenkinsci/plugins/workflow/job/WorkflowRun

java.lang.NoClassDefFoundError: 
org/jenkinsci/plugins/workflow/job/WorkflowRun

at 
org.jenkinsci.plugins.workflow.job.WorkflowJob$SCMListenerImpl.onCheckout(WorkflowJob.java:651)

at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)

at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)

at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)

at hudson.model.Run.execute(Run.java:1741)

at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)

at hudson.model.ResourceController.execute(ResourceController.java:98)

at hudson.model.Executor.run(Executor.java:410)

Email was triggered for: Always

Sending email for trigger: Always

Sending email to: iqbal.moham...@xx.com 

Finished: FAILURE


I have checked on all available forums over internet but couldn't find 
anything helpful. I have bee trying multiple things but all in vain. Can 
you please suggest any way forward here.

-- 
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/d/msgid/jenkinsci-users/4bab9c19-d6cb-447e-8e29-2977200745b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins "Issue Tracker" Unable to login(https://issues.jenkins-ci.org)

2016-11-24 Thread easonjim1919
Thanks to Daniel Beck for your help.
I re-use Google mailbox registered an account, now Wiki and Jira can log on.
thank you very much.

On Thursday, November 24, 2016 at 4:09:48 PM UTC+8, Daniel Beck wrote:
>
>
> > On 21.11.2016, at 14:37, easonj...@gmail.com  wrote: 
> > 
> > userid:easonjim 
>
> Your account exists but it apparently wasn't synced to Jira. I'm still 
> working to figure out a solution, but if you can deal with a different user 
> name, you could just register a new account instead of waiting. 
>
>

-- 
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/d/msgid/jenkinsci-users/61ba9891-2476-4a04-983d-aa97cdf3a91b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins "Issue Tracker" Unable to login(https://issues.jenkins-ci.org)

2016-11-24 Thread Daniel Beck

> On 21.11.2016, at 14:37, easonjim1...@gmail.com wrote:
> 
> userid:easonjim

Your account exists but it apparently wasn't synced to Jira. I'm still working 
to figure out a solution, but if you can deal with a different user name, you 
could just register a new account instead of waiting.

-- 
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/d/msgid/jenkinsci-users/5C078FAB-D86A-4E17-839E-5224939628D6%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins "Issue Tracker" Unable to login(https://issues.jenkins-ci.org)

2016-11-21 Thread easonjim1919
Thank you very much for your reply
I have modified my account to send message email address
email:easonjim1...@gmail.com
userid:easonjim

On Monday, November 21, 2016 at 3:09:44 AM UTC+8, Daniel Beck wrote:
>
>
> > On 20.11.2016, at 19:53, easonj...@gmail.com  wrote: 
> > 
> > I am sure I have registered the account at this site(
> https://accounts.jenkins.io). 
>
> The email address you used to send this message is not used for an 
> account. Unless you provide more information, we cannot help 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 from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/3990357a-bc79-4388-b17f-15a2b3e3acb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins "Issue Tracker" Unable to login(https://issues.jenkins-ci.org)

2016-11-20 Thread easonjim1919
my userid:easonjim

在 2016年11月21日星期一 UTC+8上午3:31:59,easonj...@gmail.com写道:
>
> Thank you very much for your reply
> I have modified my account to send message email address
>
> 在 2016年11月21日星期一 UTC+8上午3:09:44,Daniel Beck写道:
>>
>>
>> > On 20.11.2016, at 19:53, easonj...@gmail.com wrote: 
>> > 
>> > I am sure I have registered the account at this site(
>> https://accounts.jenkins.io). 
>>
>> The email address you used to send this message is not used for an 
>> account. Unless you provide more information, we cannot help 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 from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/df998fec-588e-4a5f-9f78-ed63987ae6eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins "Issue Tracker" Unable to login(https://issues.jenkins-ci.org)

2016-11-20 Thread easonjim1919
Thank you very much for your reply
I have modified my account to send message email address

在 2016年11月21日星期一 UTC+8上午3:09:44,Daniel Beck写道:
>
>
> > On 20.11.2016, at 19:53, easonj...@gmail.com  wrote: 
> > 
> > I am sure I have registered the account at this site(
> https://accounts.jenkins.io). 
>
> The email address you used to send this message is not used for an 
> account. Unless you provide more information, we cannot help 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 from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/eb412c8f-3c11-47f1-b2a7-fbb3f8a0e9c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins "Issue Tracker" Unable to login(https://issues.jenkins-ci.org)

2016-11-20 Thread Daniel Beck

> On 20.11.2016, at 19:53, easonjim1...@gmail.com wrote:
> 
> I am sure I have registered the account at this 
> site(https://accounts.jenkins.io).

The email address you used to send this message is not used for an account. 
Unless you provide more information, we cannot help 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 from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/324103A3-11B5-4733-8C7E-BB041EE1C5AA%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


RE: P4 plugin jenkins issue

2014-11-14 Thread david.doughty
Russ,

It would appear that the problem has cleared; I’m now able to create a template 
workspace, and then run the p4plugin via Jenkins on any node.

It looks like my “hacking” of p4ce workspaces was to blame…..

Thanks again

dD

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Doughty, David : 
Corporate Banking
Sent: 13 November 2014 16:19
To: ru...@releasetools.org
Cc: jenkinsci-users@googlegroups.com
Subject: RE: P4 plugin jenkins issue

Thanks Russ….

Let me get that installed, and I’ll let you know how I progress

dD

From: Russ Tremain [mailto:ru...@releasetools.org]
Sent: 13 November 2014 13:14
To: Doughty, David : Corporate Banking
Cc: jenkinsci-users@googlegroups.com
Subject: Re: P4 plugin jenkins issue

Hi David,

offhand, looks like it might be a problem with the named client on the slave; 
the error you are getting is a standard client map error.

you might try using p4 command line on the slave to verify that the client spec 
(jenkins-machine-p4ce in your example) works there.

Btw, there is more complete documentation for the plugin here:
https://github.com/jenkinsci/p4-plugin

See also:  
http://www.perforce.com/perforce/doc.current/manuals/cmdref/p4_client.html

Section on AltRoots might be of interest.

Messages labeled P4JAVA are from the underlying java api for perforce.

-Russ


At 4:04 PM + 11/12/14, 
david.doug...@barclays.commailto:david.doug...@barclays.com wrote:
I've a new challenge, figuring out how to use perforce; specifically to run 
against our Jenkins CI system. When I fire off my P4test job (using the P4 
plugin) I get the following console output.

[EnvInject] - Loading node environment variables.
Building remotely on s in workspace /jenkins/workspace/p4ce
Connected to server: perforce.server.com:1666
Connected to client: jenkins-machine-p4ce
SCM Task: cleanup workspace: jenkins-machine-p4ce
SCM Task: reverting all pending and shelved revisions.
... [list] = revert
P4JAVA: Path 'D:/jenkins/workspace/p4ce/...' is not under client's root 
'/jenkins/workspace/p4ce'.
ERROR: Unable to update workspace: hudson.AbortException: P4JAVA: Error(s)
Finishedhttp://stacktrace.jenkins-ci.org/search?query=Finished: FAILURE

So, does anyone use the P4 plugin and have any guidance/comments they can 
provide?

I'm not hugely familiar with p4ce, so that may be a contributing factorŠ

Jenkins 1.532.2.2 and P4Plugin 1.0.16

Jenkins is configured with a RHEL master; windows 2k8 and RHEL slaves; the job 
is running on the windows slave(supposedly).


dD
This e-mail and any attachments are confidential and intended solely for the 
addressee and may also be privileged or exempt from disclosure under applicable 
law. If you are not the addressee, or have received this e-mail in error, 
please notify the sender immediately, delete it from your system and do not 
copy, disclose or otherwise act upon any part of this e-mail or its attachments.
Internet communications are not guaranteed to be secure or virus-free. The 
Barclays Group does not accept responsibility for any loss arising from 
unauthorised access to, or interference with, any Internet communications by 
any third party, or from the transmission of any viruses. Replies to this 
e-mail may be monitored by the Barclays Group for operational or business 
reasons.
Any opinion or other information in this e-mail or its attachments that does 
not relate to the business of the Barclays Group is personal to the sender and 
is not given or endorsed by the Barclays Group.
Barclays Bank PLC. Registered in England and Wales (registered no. 1026167). 
Registered Office: 1 Churchill Place, London, E14 5HP, United Kingdom. Barclays 
Bank PLC is authorised by the Prudential Regulation Authority and regulated by 
the Financial Conduct Authority and the Prudential Regulation Authority 
(Financial Services Register No. 122702).
--
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.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


This e-mail and any attachments are confidential and intended solely for the 
addressee and may also be privileged or exempt from disclosure under applicable 
law. If you are not the addressee, or have received this e-mail in error, 
please notify the sender immediately, delete it from your system and do not 
copy, disclose or otherwise act upon any part of this e-mail or its attachments.

Internet communications are not guaranteed to be secure or virus-free. The 
Barclays Group does not accept responsibility for any loss arising from 
unauthorised access to, or interference with, any Internet communications by 
any third party, or from the transmission of any viruses. Replies to this 
e-mail may be monitored by the Barclays Group

RE: P4 plugin jenkins issue

2014-11-13 Thread david.doughty
P4JAVA, I’ve no idea what that is, I assumed it came as part of the P4 Plugin 
from Perforce

dD

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Ginga, Dick
Sent: 12 November 2014 16:12
To: jenkinsci-users@googlegroups.com
Subject: RE: P4 plugin jenkins issue

We use Jenkins and the Perforce plugin (Jenkins 1.565.2 P4 1.3.26)

What are you using P4JAVA for?

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of 
david.doug...@barclays.com
Sent: Wednesday, November 12, 2014 11:04 AM
To: jenkinsci-users@googlegroups.com
Subject: P4 plugin jenkins issue

I’ve a new challenge, figuring out how to use perforce; specifically to run 
against our Jenkins CI system. When I fire off my P4test job (using the P4 
plugin) I get the following console output.

[EnvInject] - Loading node environment variables.
Building remotely on s in workspace /jenkins/workspace/p4ce
Connected to server: perforce.server.com:1666
Connected to client: jenkins-machine-p4ce
SCM Task: cleanup workspace: jenkins-machine-p4ce
SCM Task: reverting all pending and shelved revisions.
... [list] = revert
P4JAVA: Path 'D:/jenkins/workspace/p4ce/...' is not under client's root 
'/jenkins/workspace/p4ce'.
ERROR: Unable to update workspace: hudson.AbortException: P4JAVA: Error(s)
Finishedhttp://stacktrace.jenkins-ci.org/search?query=Finished: FAILURE

So, does anyone use the P4 plugin and have any guidance/comments they can 
provide?

I’m not hugely familiar with p4ce, so that may be a contributing factor…

Jenkins 1.532.2.2 and P4Plugin 1.0.16

Jenkins is configured with a RHEL master; windows 2k8 and RHEL slaves; the job 
is running on the windows slave(supposedly).


dD

This e-mail and any attachments are confidential and intended solely for the 
addressee and may also be privileged or exempt from disclosure under applicable 
law. If you are not the addressee, or have received this e-mail in error, 
please notify the sender immediately, delete it from your system and do not 
copy, disclose or otherwise act upon any part of this e-mail or its attachments.

Internet communications are not guaranteed to be secure or virus-free. The 
Barclays Group does not accept responsibility for any loss arising from 
unauthorised access to, or interference with, any Internet communications by 
any third party, or from the transmission of any viruses. Replies to this 
e-mail may be monitored by the Barclays Group for operational or business 
reasons.

Any opinion or other information in this e-mail or its attachments that does 
not relate to the business of the Barclays Group is personal to the sender and 
is not given or endorsed by the Barclays Group.

Barclays Bank PLC. Registered in England and Wales (registered no. 1026167). 
Registered Office: 1 Churchill Place, London, E14 5HP, United Kingdom. Barclays 
Bank PLC is authorised by the Prudential Regulation Authority and regulated by 
the Financial Conduct Authority and the Prudential Regulation Authority 
(Financial Services Register No. 122702).
--
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.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

This e-mail and any attachments are confidential and intended solely for the 
addressee and may also be privileged or exempt from disclosure under applicable 
law. If you are not the addressee, or have received this e-mail in error, 
please notify the sender immediately, delete it from your system and do not 
copy, disclose or otherwise act upon any part of this e-mail or its attachments.

Internet communications are not guaranteed to be secure or virus-free. The 
Barclays Group does not accept responsibility for any loss arising from 
unauthorised access to, or interference with, any Internet communications by 
any third party, or from the transmission of any viruses. Replies to this 
e-mail may be monitored by the Barclays Group for operational or business 
reasons.

Any opinion or other information in this e-mail or its attachments that does 
not relate to the business of the Barclays Group is personal to the sender and 
is not given or endorsed by the Barclays Group.

Barclays Bank PLC. Registered in England and Wales (registered no. 1026167). 
Registered Office: 1 Churchill Place, London, E14 5HP, United Kingdom. 

Barclays Bank PLC is authorised by the Prudential Regulation Authority and 
regulated

RE: P4 plugin jenkins issue

2014-11-13 Thread david.doughty
I should clarify, that I was trying to use the P4 plugin (perforce written) 
rather than the Perforce Plugin (community plugin).

It would appear that the community Plugin does work; but I can’t get the P4 
plugin to work…

dD

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Doughty, David : 
Corporate Banking
Sent: 13 November 2014 10:36
To: jenkinsci-users@googlegroups.com
Subject: RE: P4 plugin jenkins issue

P4JAVA, I’ve no idea what that is, I assumed it came as part of the P4 Plugin 
from Perforce

dD

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Ginga, Dick
Sent: 12 November 2014 16:12
To: jenkinsci-users@googlegroups.com
Subject: RE: P4 plugin jenkins issue

We use Jenkins and the Perforce plugin (Jenkins 1.565.2 P4 1.3.26)

What are you using P4JAVA for?

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of 
david.doug...@barclays.com
Sent: Wednesday, November 12, 2014 11:04 AM
To: jenkinsci-users@googlegroups.com
Subject: P4 plugin jenkins issue

I’ve a new challenge, figuring out how to use perforce; specifically to run 
against our Jenkins CI system. When I fire off my P4test job (using the P4 
plugin) I get the following console output.

[EnvInject] - Loading node environment variables.
Building remotely on s in workspace /jenkins/workspace/p4ce
Connected to server: perforce.server.com:1666
Connected to client: jenkins-machine-p4ce
SCM Task: cleanup workspace: jenkins-machine-p4ce
SCM Task: reverting all pending and shelved revisions.
... [list] = revert
P4JAVA: Path 'D:/jenkins/workspace/p4ce/...' is not under client's root 
'/jenkins/workspace/p4ce'.
ERROR: Unable to update workspace: hudson.AbortException: P4JAVA: Error(s)
Finishedhttp://stacktrace.jenkins-ci.org/search?query=Finished: FAILURE

So, does anyone use the P4 plugin and have any guidance/comments they can 
provide?

I’m not hugely familiar with p4ce, so that may be a contributing factor…

Jenkins 1.532.2.2 and P4Plugin 1.0.16

Jenkins is configured with a RHEL master; windows 2k8 and RHEL slaves; the job 
is running on the windows slave(supposedly).


dD

This e-mail and any attachments are confidential and intended solely for the 
addressee and may also be privileged or exempt from disclosure under applicable 
law. If you are not the addressee, or have received this e-mail in error, 
please notify the sender immediately, delete it from your system and do not 
copy, disclose or otherwise act upon any part of this e-mail or its attachments.

Internet communications are not guaranteed to be secure or virus-free. The 
Barclays Group does not accept responsibility for any loss arising from 
unauthorised access to, or interference with, any Internet communications by 
any third party, or from the transmission of any viruses. Replies to this 
e-mail may be monitored by the Barclays Group for operational or business 
reasons.

Any opinion or other information in this e-mail or its attachments that does 
not relate to the business of the Barclays Group is personal to the sender and 
is not given or endorsed by the Barclays Group.

Barclays Bank PLC. Registered in England and Wales (registered no. 1026167). 
Registered Office: 1 Churchill Place, London, E14 5HP, United Kingdom. Barclays 
Bank PLC is authorised by the Prudential Regulation Authority and regulated by 
the Financial Conduct Authority and the Prudential Regulation Authority 
(Financial Services Register No. 122702).
--
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.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

This e-mail and any attachments are confidential and intended solely for the 
addressee and may also be privileged or exempt from disclosure under applicable 
law. If you are not the addressee, or have received this e-mail in error, 
please notify the sender immediately, delete it from your system and do not 
copy, disclose or otherwise act upon any part of this e-mail or its attachments.

Internet communications are not guaranteed to be secure or virus-free. The 
Barclays Group does not accept responsibility for any loss arising from 
unauthorised access to, or interference with, any Internet communications by 
any third party, or from the transmission of any viruses. Replies to this 
e-mail may be monitored by the Barclays Group for operational

Re: P4 plugin jenkins issue

2014-11-13 Thread Russ Tremain

Hi David,

offhand, looks like it might be a problem with 
the named client on the slave; the error you are 
getting is a standard client map error.


you might try using p4 command line on the slave 
to verify that the client spec 
(jenkins-machine-p4ce in your example) works 
there.


Btw, there is more complete documentation for the plugin here:
https://github.com/jenkinsci/p4-plugin

See also: 
http://www.perforce.com/perforce/doc.current/manuals/cmdref/p4_client.html


Section on AltRoots might be of interest.

Messages labeled P4JAVA are from the underlying java api for perforce.

-Russ


At 4:04 PM + 11/12/14, david.doug...@barclays.com wrote:
I've a new challenge, figuring out how to use 
perforce; specifically to run against our 
Jenkins CI system. When I fire off my P4test job 
(using the P4 plugin) I get the following 
console output.


[EnvInject] - Loading node environment variables.
Building remotely on s in workspace /jenkins/workspace/p4ce
Connected to server: perforce.server.com:1666
Connected to client: jenkins-machine-p4ce
SCM Task: cleanup workspace: jenkins-machine-p4ce
SCM Task: reverting all pending and shelved revisions.
... [list] = revert
P4JAVA: Path 'D:/jenkins/workspace/p4ce/...' is 
not under client's root 
'/jenkins/workspace/p4ce'.

ERROR: Unable to update workspace: hudson.AbortException: P4JAVA: Error(s)
http://stacktrace.jenkins-ci.org/search?query=FinishedFinished: FAILURE

So, does anyone use the P4 plugin and have any 
guidance/comments they can provide?


I'm not hugely familiar with p4ce, so that may be a contributing factorŠ

Jenkins 1.532.2.2 and P4Plugin 1.0.16

Jenkins is configured with a RHEL master; 
windows 2k8 and RHEL slaves; the job is running 
on the windows slave(supposedly).



dD
This e-mail and any attachments are confidential 
and intended solely for the addressee and may 
also be privileged or exempt from disclosure 
under applicable law. If you are not the 
addressee, or have received this e-mail in 
error, please notify the sender immediately, 
delete it from your system and do not copy, 
disclose or otherwise act upon any part of this 
e-mail or its attachments.
Internet communications are not guaranteed to be 
secure or virus-free. The Barclays Group does 
not accept responsibility for any loss arising 
from unauthorised access to, or interference 
with, any Internet communications by any third 
party, or from the transmission of any viruses. 
Replies to this e-mail may be monitored by the 
Barclays Group for operational or business 
reasons.
Any opinion or other information in this e-mail 
or its attachments that does not relate to the 
business of the Barclays Group is personal to 
the sender and is not given or endorsed by the 
Barclays Group.
Barclays Bank PLC. Registered in England and 
Wales (registered no. 1026167). Registered 
Office: 1 Churchill Place, London, E14 5HP, 
United Kingdom. Barclays Bank PLC is authorised 
by the Prudential Regulation Authority and 
regulated by the Financial Conduct Authority and 
the Prudential Regulation Authority (Financial 
Services Register No. 122702).

--
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 
mailto:jenkinsci-users+unsubscr...@googlegroups.comjenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit 
https://groups.google.com/d/optouthttps://groups.google.com/d/optout.


--
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.
For more options, visit https://groups.google.com/d/optout.


RE: P4 plugin jenkins issue

2014-11-13 Thread Russ Tremain
http://repo1.maven.org/maven2/com/perforce/p4java/2013.2.788582/p4java 
is embedded in the jenkins p4-plugin.  the 
https://wiki.jenkins-ci.org/display/JENKINS/P4+Pluginnew 
plugin is pure java; the old plugin uses the 
perforce command-line interface.


At 1:39 PM + 11/13/14, Ginga, Dick wrote:

I don't see any p4java, so I guess you should switch to the other plugin

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On 
Behalf Of david.doug...@barclays.com

Sent: Thursday, November 13, 2014 5:54 AM
To: jenkinsci-users@googlegroups.com
Subject: RE: P4 plugin jenkins issue

I should clarify, that I was trying to use the 
P4 plugin (perforce written) rather than the 
Perforce Plugin (community plugin).


It would appear that the community Plugin does 
work; but I can't get the P4 plugin to workŠ


dD

From: 
mailto:jenkinsci-users@googlegroups.comjenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com] 
On Behalf Of Doughty, David : Corporate Banking

Sent: 13 November 2014 10:36
To: mailto:jenkinsci-users@googlegroups.comjenkinsci-users@googlegroups.com
Subject: RE: P4 plugin jenkins issue

P4JAVA, I've no idea what that is, I assumed it 
came as part of the P4 Plugin from Perforce


dD

From: 
mailto:jenkinsci-users@googlegroups.comjenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com] 
On Behalf Of Ginga, Dick

Sent: 12 November 2014 16:12
To: mailto:jenkinsci-users@googlegroups.comjenkinsci-users@googlegroups.com
Subject: RE: P4 plugin jenkins issue

We use Jenkins and the Perforce plugin (Jenkins 1.565.2 P4 1.3.26)

What are you using P4JAVA for?

From: 
mailto:jenkinsci-users@googlegroups.comjenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com] 
On Behalf Of 
mailto:david.doug...@barclays.comdavid.doug...@barclays.com

Sent: Wednesday, November 12, 2014 11:04 AM
To: mailto:jenkinsci-users@googlegroups.comjenkinsci-users@googlegroups.com
Subject: P4 plugin jenkins issue

I've a new challenge, figuring out how to use 
perforce; specifically to run against our 
Jenkins CI system. When I fire off my P4test job 
(using the P4 plugin) I get the following 
console output.


[EnvInject] - Loading node environment variables.
Building remotely on s in workspace /jenkins/workspace/p4ce
Connected to server: perforce.server.com:1666
Connected to client: jenkins-machine-p4ce
SCM Task: cleanup workspace: jenkins-machine-p4ce
SCM Task: reverting all pending and shelved revisions.
... [list] = revert
P4JAVA: Path 'D:/jenkins/workspace/p4ce/...' is 
not under client's root 
'/jenkins/workspace/p4ce'.

ERROR: Unable to update workspace: hudson.AbortException: P4JAVA: Error(s)
http://stacktrace.jenkins-ci.org/search?query=FinishedFinished: FAILURE

So, does anyone use the P4 plugin and have any 
guidance/comments they can provide?


I'm not hugely familiar with p4ce, so that may be a contributing factorŠ

Jenkins 1.532.2.2 and P4Plugin 1.0.16

Jenkins is configured with a RHEL master; 
windows 2k8 and RHEL slaves; the job is running 
on the windows slave(supposedly).



dD
This e-mail and any attachments are confidential 
and intended solely for the addressee and may 
also be privileged or exempt from disclosure 
under applicable law. If you are not the 
addressee, or have received this e-mail in 
error, please notify the sender immediately, 
delete it from your system and do not copy, 
disclose or otherwise act upon any part of this 
e-mail or its attachments.
Internet communications are not guaranteed to be 
secure or virus-free. The Barclays Group does 
not accept responsibility for any loss arising 
from unauthorised access to, or interference 
with, any Internet communications by any third 
party, or from the transmission of any viruses. 
Replies to this e-mail may be monitored by the 
Barclays Group for operational or business 
reasons.
Any opinion or other information in this e-mail 
or its attachments that does not relate to the 
business of the Barclays Group is personal to 
the sender and is not given or endorsed by the 
Barclays Group.
Barclays Bank PLC. Registered in England and 
Wales (registered no. 1026167). Registered 
Office: 1 Churchill Place, London, E14 5HP, 
United Kingdom. Barclays Bank PLC is authorised 
by the Prudential Regulation Authority and 
regulated by the Financial Conduct Authority and 
the Prudential Regulation Authority (Financial 
Services Register No. 122702).

--
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 
mailto:jenkinsci-users+unsubscr...@googlegroups.comjenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit 
https://groups.google.com/d/optouthttps://groups.google.com/d/optout.

--
You received this message because you

RE: P4 plugin jenkins issue

2014-11-13 Thread david.doughty
Thanks Russ

Let me get that installed, and I'll let you know how I progress

dD

From: Russ Tremain [mailto:ru...@releasetools.org]
Sent: 13 November 2014 13:14
To: Doughty, David : Corporate Banking
Cc: jenkinsci-users@googlegroups.com
Subject: Re: P4 plugin jenkins issue

Hi David,

offhand, looks like it might be a problem with the named client on the slave; 
the error you are getting is a standard client map error.

you might try using p4 command line on the slave to verify that the client spec 
(jenkins-machine-p4ce in your example) works there.

Btw, there is more complete documentation for the plugin here:
https://github.com/jenkinsci/p4-plugin

See also:  
http://www.perforce.com/perforce/doc.current/manuals/cmdref/p4_client.html

Section on AltRoots might be of interest.

Messages labeled P4JAVA are from the underlying java api for perforce.

-Russ


At 4:04 PM + 11/12/14, 
david.doug...@barclays.commailto:david.doug...@barclays.com wrote:
I've a new challenge, figuring out how to use perforce; specifically to run 
against our Jenkins CI system. When I fire off my P4test job (using the P4 
plugin) I get the following console output.

[EnvInject] - Loading node environment variables.
Building remotely on s in workspace /jenkins/workspace/p4ce
Connected to server: perforce.server.com:1666
Connected to client: jenkins-machine-p4ce
SCM Task: cleanup workspace: jenkins-machine-p4ce
SCM Task: reverting all pending and shelved revisions.
... [list] = revert
P4JAVA: Path 'D:/jenkins/workspace/p4ce/...' is not under client's root 
'/jenkins/workspace/p4ce'.
ERROR: Unable to update workspace: hudson.AbortException: P4JAVA: Error(s)
Finishedhttp://stacktrace.jenkins-ci.org/search?query=Finished: FAILURE

So, does anyone use the P4 plugin and have any guidance/comments they can 
provide?

I'm not hugely familiar with p4ce, so that may be a contributing factorŠ

Jenkins 1.532.2.2 and P4Plugin 1.0.16

Jenkins is configured with a RHEL master; windows 2k8 and RHEL slaves; the job 
is running on the windows slave(supposedly).


dD
This e-mail and any attachments are confidential and intended solely for the 
addressee and may also be privileged or exempt from disclosure under applicable 
law. If you are not the addressee, or have received this e-mail in error, 
please notify the sender immediately, delete it from your system and do not 
copy, disclose or otherwise act upon any part of this e-mail or its attachments.
Internet communications are not guaranteed to be secure or virus-free. The 
Barclays Group does not accept responsibility for any loss arising from 
unauthorised access to, or interference with, any Internet communications by 
any third party, or from the transmission of any viruses. Replies to this 
e-mail may be monitored by the Barclays Group for operational or business 
reasons.
Any opinion or other information in this e-mail or its attachments that does 
not relate to the business of the Barclays Group is personal to the sender and 
is not given or endorsed by the Barclays Group.
Barclays Bank PLC. Registered in England and Wales (registered no. 1026167). 
Registered Office: 1 Churchill Place, London, E14 5HP, United Kingdom. Barclays 
Bank PLC is authorised by the Prudential Regulation Authority and regulated by 
the Financial Conduct Authority and the Prudential Regulation Authority 
(Financial Services Register No. 122702).
--
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.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


This e-mail and any attachments are confidential and intended solely for the 
addressee and may also be privileged or exempt from disclosure under applicable 
law. If you are not the addressee, or have received this e-mail in error, 
please notify the sender immediately, delete it from your system and do not 
copy, disclose or otherwise act upon any part of this e-mail or its attachments.

Internet communications are not guaranteed to be secure or virus-free. The 
Barclays Group does not accept responsibility for any loss arising from 
unauthorised access to, or interference with, any Internet communications by 
any third party, or from the transmission of any viruses. Replies to this 
e-mail may be monitored by the Barclays Group for operational or business 
reasons.

Any opinion or other information in this e-mail or its attachments that does 
not relate to the business of the Barclays Group is personal to the sender and 
is not given or endorsed by the Barclays Group.

Barclays Bank PLC. Registered in England and Wales (registered no. 1026167). 
Registered Office: 1 Churchill Place, London, E14 5HP, United Kingdom. 

Barclays Bank PLC is authorised by the Prudential Regulation Authority and 
regulated by the Financial

P4 plugin jenkins issue

2014-11-12 Thread david.doughty
I’ve a new challenge, figuring out how to use perforce; specifically to run 
against our Jenkins CI system. When I fire off my P4test job (using the P4 
plugin) I get the following console output.

[EnvInject] - Loading node environment variables.
Building remotely on s in workspace /jenkins/workspace/p4ce
Connected to server: perforce.server.com:1666
Connected to client: jenkins-machine-p4ce
SCM Task: cleanup workspace: jenkins-machine-p4ce
SCM Task: reverting all pending and shelved revisions.
... [list] = revert
P4JAVA: Path 'D:/jenkins/workspace/p4ce/...' is not under client's root 
'/jenkins/workspace/p4ce'.
ERROR: Unable to update workspace: hudson.AbortException: P4JAVA: Error(s)
Finishedhttp://stacktrace.jenkins-ci.org/search?query=Finished: FAILURE

So, does anyone use the P4 plugin and have any guidance/comments they can 
provide?

I’m not hugely familiar with p4ce, so that may be a contributing factor…

Jenkins 1.532.2.2 and P4Plugin 1.0.16

Jenkins is configured with a RHEL master; windows 2k8 and RHEL slaves; the job 
is running on the windows slave(supposedly).


dD

This e-mail and any attachments are confidential and intended solely for the 
addressee and may also be privileged or exempt from disclosure under applicable 
law. If you are not the addressee, or have received this e-mail in error, 
please notify the sender immediately, delete it from your system and do not 
copy, disclose or otherwise act upon any part of this e-mail or its attachments.

Internet communications are not guaranteed to be secure or virus-free. The 
Barclays Group does not accept responsibility for any loss arising from 
unauthorised access to, or interference with, any Internet communications by 
any third party, or from the transmission of any viruses. Replies to this 
e-mail may be monitored by the Barclays Group for operational or business 
reasons.

Any opinion or other information in this e-mail or its attachments that does 
not relate to the business of the Barclays Group is personal to the sender and 
is not given or endorsed by the Barclays Group.

Barclays Bank PLC. Registered in England and Wales (registered no. 1026167). 
Registered Office: 1 Churchill Place, London, E14 5HP, United Kingdom. 

Barclays Bank PLC is authorised by the Prudential Regulation Authority and 
regulated by the Financial Conduct Authority and the Prudential Regulation 
Authority (Financial Services Register No. 122702).

-- 
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.
For more options, visit https://groups.google.com/d/optout.


RE: P4 plugin jenkins issue

2014-11-12 Thread Ginga, Dick
We use Jenkins and the Perforce plugin (Jenkins 1.565.2 P4 1.3.26)

What are you using P4JAVA for?

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of 
david.doug...@barclays.com
Sent: Wednesday, November 12, 2014 11:04 AM
To: jenkinsci-users@googlegroups.com
Subject: P4 plugin jenkins issue

I’ve a new challenge, figuring out how to use perforce; specifically to run 
against our Jenkins CI system. When I fire off my P4test job (using the P4 
plugin) I get the following console output.

[EnvInject] - Loading node environment variables.
Building remotely on s in workspace /jenkins/workspace/p4ce
Connected to server: perforce.server.com:1666
Connected to client: jenkins-machine-p4ce
SCM Task: cleanup workspace: jenkins-machine-p4ce
SCM Task: reverting all pending and shelved revisions.
... [list] = revert
P4JAVA: Path 'D:/jenkins/workspace/p4ce/...' is not under client's root 
'/jenkins/workspace/p4ce'.
ERROR: Unable to update workspace: hudson.AbortException: P4JAVA: Error(s)
Finishedhttp://stacktrace.jenkins-ci.org/search?query=Finished: FAILURE

So, does anyone use the P4 plugin and have any guidance/comments they can 
provide?

I’m not hugely familiar with p4ce, so that may be a contributing factor…

Jenkins 1.532.2.2 and P4Plugin 1.0.16

Jenkins is configured with a RHEL master; windows 2k8 and RHEL slaves; the job 
is running on the windows slave(supposedly).


dD

This e-mail and any attachments are confidential and intended solely for the 
addressee and may also be privileged or exempt from disclosure under applicable 
law. If you are not the addressee, or have received this e-mail in error, 
please notify the sender immediately, delete it from your system and do not 
copy, disclose or otherwise act upon any part of this e-mail or its attachments.

Internet communications are not guaranteed to be secure or virus-free. The 
Barclays Group does not accept responsibility for any loss arising from 
unauthorised access to, or interference with, any Internet communications by 
any third party, or from the transmission of any viruses. Replies to this 
e-mail may be monitored by the Barclays Group for operational or business 
reasons.

Any opinion or other information in this e-mail or its attachments that does 
not relate to the business of the Barclays Group is personal to the sender and 
is not given or endorsed by the Barclays Group.

Barclays Bank PLC. Registered in England and Wales (registered no. 1026167). 
Registered Office: 1 Churchill Place, London, E14 5HP, United Kingdom. Barclays 
Bank PLC is authorised by the Prudential Regulation Authority and regulated by 
the Financial Conduct Authority and the Prudential Regulation Authority 
(Financial Services Register No. 122702).
--
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.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: Git-Jenkins Issue

2014-01-09 Thread Aaron Golub
It was a version issue with GIT...I had Jenkins pointing to the wrong one. 
Thank you all for the help!
A

On Wednesday, January 8, 2014 12:23:33 PM UTC-8, slide wrote:

 This is just a guess, but your Git version looks pretty old, so perhaps it 
 doesn't support the --progress option at all.


 On Wed, Jan 8, 2014 at 1:21 PM, Aaron Golub oldba...@gmail.comjavascript:
  wrote:

 I'm having a hell of a time getting Jenkins to work with Git.  I'm on 
 Ubuntu 10.04, Jenkins 1.545, Git 1.7.9.5.  I've installed the  Jenkins Git 
 Client 1.6, Jenkins Git 2.0 plugins as well as a few others that I use for 
 ANT and SVN integrations

 I've tried setting up jobs to pull from both a local and remote Git repos 
 using both Git and Stash Git repos.  I've tried all kinds of different 
 security set-up...including public access, access using no security at 
 all.  The problem is that every time I try to run a job I get an error 
 saying stderr: error: unknown option `progress' The complete Console 
 Output follows. Can anyone explain whats going on here and why I'm seeing 
 this error?

 Console Output:


 Started by user AG
 Building in workspace 
 /var/lib/jenkins/jobs/Info_test_Git-Test_Devgit2/workspace
 Fetching changes from the remote Git repository
 Fetching upstream changes from 
 file:///home/homer/gitrepo/infotest/infotest.git
 FATAL: Failed to fetch from 
 file:///home/homer/gitrepo/infotest/infotest.git
 hudson.plugins.git.GitException: Failed to fetch from 
 file:///home/homer/gitrepo/infotest/infotest.git
 at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:612)
  at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:836)
 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861)
  at hudson.model.AbstractProject.checkout(AbstractProject.java:1414)
 at 
 hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652)
  at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
 at 
 hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561)
  at hudson.model.Run.execute(Run.java:1678)
 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
 at hudson.model.ResourceController.execute(ResourceController.java:88)
  at hudson.model.Executor.run(Executor.java:231)
 Caused by: hudson.plugins.git.GitException: Command git fetch --tags 
 --progress file:///home/homer/gitrepo/infotest/infotest.git 
 +refs/heads/*:refs/remotes/origin/* returned status code 129:
 stdout: 
 stderr: error: unknown option `progress'
 usage: git fetch [options] [repository refspec...]
or: git fetch [options] group
or: git fetch --multiple [options] [repository | group]...
or: git fetch --all [options]

 -v, --verbose be more verbose
 -q, --quiet   be more quiet
 --all fetch from all remotes
 -a, --append  append to .git/FETCH_HEAD instead of overwriting
 --upload-pack PATH  path to upload pack on remote end
 -f, --force   force overwrite of local branch
 -m, --multiplefetch from multiple remotes
 -t, --tagsfetch all tags and associated objects
 -ndo not fetch all tags (--no-tags)
 -p, --prune   prune tracking branches no longer on remote
 --dry-run dry run
 -k, --keepkeep downloaded pack
 -u, --update-head-ok  allow updating of HEAD ref
 --depth DEPTH   deepen history of shallow clone


 at 
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1099)
 at 
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:985)
  at 
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:69)
 at 
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:218)
  at 
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:224)
 at hudson.plugins.git.GitAPI.fetch(GitAPI.java:229)
  at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:610)
 ... 10 more

 -- 
 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-use...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.




 -- 
 Website: http://earl-of-code.com 


-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Git-Jenkins Issue

2014-01-08 Thread Aaron Golub
I'm having a hell of a time getting Jenkins to work with Git.  I'm on 
Ubuntu 10.04, Jenkins 1.545, Git 1.7.9.5.  I've installed the  Jenkins Git 
Client 1.6, Jenkins Git 2.0 plugins as well as a few others that I use for 
ANT and SVN integrations

I've tried setting up jobs to pull from both a local and remote Git repos 
using both Git and Stash Git repos.  I've tried all kinds of different 
security set-up...including public access, access using no security at 
all.  The problem is that every time I try to run a job I get an error 
saying stderr: error: unknown option `progress' The complete Console 
Output follows. Can anyone explain whats going on here and why I'm seeing 
this error?

Console Output:


Started by user AG
Building in workspace 
/var/lib/jenkins/jobs/Info_test_Git-Test_Devgit2/workspace
Fetching changes from the remote Git repository
Fetching upstream changes from 
file:///home/homer/gitrepo/infotest/infotest.git
FATAL: Failed to fetch from file:///home/homer/gitrepo/infotest/infotest.git
hudson.plugins.git.GitException: Failed to fetch from 
file:///home/homer/gitrepo/infotest/infotest.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:612)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:836)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1414)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561)
at hudson.model.Run.execute(Run.java:1678)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)
Caused by: hudson.plugins.git.GitException: Command git fetch --tags 
--progress file:///home/homer/gitrepo/infotest/infotest.git 
+refs/heads/*:refs/remotes/origin/* returned status code 129:
stdout: 
stderr: error: unknown option `progress'
usage: git fetch [options] [repository refspec...]
   or: git fetch [options] group
   or: git fetch --multiple [options] [repository | group]...
   or: git fetch --all [options]

-v, --verbose be more verbose
-q, --quiet   be more quiet
--all fetch from all remotes
-a, --append  append to .git/FETCH_HEAD instead of overwriting
--upload-pack PATH  path to upload pack on remote end
-f, --force   force overwrite of local branch
-m, --multiplefetch from multiple remotes
-t, --tagsfetch all tags and associated objects
-ndo not fetch all tags (--no-tags)
-p, --prune   prune tracking branches no longer on remote
--dry-run dry run
-k, --keepkeep downloaded pack
-u, --update-head-ok  allow updating of HEAD ref
--depth DEPTH   deepen history of shallow clone


at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1099)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:985)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:69)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:218)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:224)
at hudson.plugins.git.GitAPI.fetch(GitAPI.java:229)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:610)
... 10 more

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Git-Jenkins Issue

2014-01-08 Thread Slide
This is just a guess, but your Git version looks pretty old, so perhaps it
doesn't support the --progress option at all.


On Wed, Jan 8, 2014 at 1:21 PM, Aaron Golub oldbatt...@gmail.com wrote:

 I'm having a hell of a time getting Jenkins to work with Git.  I'm on
 Ubuntu 10.04, Jenkins 1.545, Git 1.7.9.5.  I've installed the  Jenkins Git
 Client 1.6, Jenkins Git 2.0 plugins as well as a few others that I use for
 ANT and SVN integrations

 I've tried setting up jobs to pull from both a local and remote Git repos
 using both Git and Stash Git repos.  I've tried all kinds of different
 security set-up...including public access, access using no security at
 all.  The problem is that every time I try to run a job I get an error
 saying stderr: error: unknown option `progress' The complete Console
 Output follows. Can anyone explain whats going on here and why I'm seeing
 this error?

 Console Output:


 Started by user AG
 Building in workspace
 /var/lib/jenkins/jobs/Info_test_Git-Test_Devgit2/workspace
 Fetching changes from the remote Git repository
 Fetching upstream changes from
 file:///home/homer/gitrepo/infotest/infotest.git
 FATAL: Failed to fetch from
 file:///home/homer/gitrepo/infotest/infotest.git
 hudson.plugins.git.GitException: Failed to fetch from
 file:///home/homer/gitrepo/infotest/infotest.git
 at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:612)
 at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:836)
 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861)
 at hudson.model.AbstractProject.checkout(AbstractProject.java:1414)
 at
 hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652)
 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
 at
 hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561)
 at hudson.model.Run.execute(Run.java:1678)
 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
 at hudson.model.ResourceController.execute(ResourceController.java:88)
 at hudson.model.Executor.run(Executor.java:231)
 Caused by: hudson.plugins.git.GitException: Command git fetch --tags
 --progress file:///home/homer/gitrepo/infotest/infotest.git
 +refs/heads/*:refs/remotes/origin/* returned status code 129:
 stdout:
 stderr: error: unknown option `progress'
 usage: git fetch [options] [repository refspec...]
or: git fetch [options] group
or: git fetch --multiple [options] [repository | group]...
or: git fetch --all [options]

 -v, --verbose be more verbose
 -q, --quiet   be more quiet
 --all fetch from all remotes
 -a, --append  append to .git/FETCH_HEAD instead of overwriting
 --upload-pack PATH  path to upload pack on remote end
 -f, --force   force overwrite of local branch
 -m, --multiplefetch from multiple remotes
 -t, --tagsfetch all tags and associated objects
 -ndo not fetch all tags (--no-tags)
 -p, --prune   prune tracking branches no longer on remote
 --dry-run dry run
 -k, --keepkeep downloaded pack
 -u, --update-head-ok  allow updating of HEAD ref
 --depth DEPTH   deepen history of shallow clone


 at
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1099)
 at
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:985)
 at
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:69)
 at
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:218)
 at
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:224)
 at hudson.plugins.git.GitAPI.fetch(GitAPI.java:229)
 at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:610)
 ... 10 more

 --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Website: http://earl-of-code.com

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Git-Jenkins Issue

2014-01-08 Thread Mark Waite
That is correct.  Configure another git in Jenkins, using jgit, and sewer
of that will work in your case without changing your installed git.

Mark Waite
On Jan 8, 2014 1:23 PM, Slide slide.o@gmail.com wrote:

 This is just a guess, but your Git version looks pretty old, so perhaps it
 doesn't support the --progress option at all.


 On Wed, Jan 8, 2014 at 1:21 PM, Aaron Golub oldbatt...@gmail.com wrote:

 I'm having a hell of a time getting Jenkins to work with Git.  I'm on
 Ubuntu 10.04, Jenkins 1.545, Git 1.7.9.5.  I've installed the  Jenkins Git
 Client 1.6, Jenkins Git 2.0 plugins as well as a few others that I use for
 ANT and SVN integrations

 I've tried setting up jobs to pull from both a local and remote Git repos
 using both Git and Stash Git repos.  I've tried all kinds of different
 security set-up...including public access, access using no security at
 all.  The problem is that every time I try to run a job I get an error
 saying stderr: error: unknown option `progress' The complete Console
 Output follows. Can anyone explain whats going on here and why I'm seeing
 this error?

 Console Output:


 Started by user AG
 Building in workspace
 /var/lib/jenkins/jobs/Info_test_Git-Test_Devgit2/workspace
 Fetching changes from the remote Git repository
 Fetching upstream changes from
 file:///home/homer/gitrepo/infotest/infotest.git
 FATAL: Failed to fetch from
 file:///home/homer/gitrepo/infotest/infotest.git
 hudson.plugins.git.GitException: Failed to fetch from
 file:///home/homer/gitrepo/infotest/infotest.git
 at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:612)
  at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:836)
 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861)
  at hudson.model.AbstractProject.checkout(AbstractProject.java:1414)
 at
 hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652)
  at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
 at
 hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561)
  at hudson.model.Run.execute(Run.java:1678)
 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
 at hudson.model.ResourceController.execute(ResourceController.java:88)
  at hudson.model.Executor.run(Executor.java:231)
 Caused by: hudson.plugins.git.GitException: Command git fetch --tags
 --progress file:///home/homer/gitrepo/infotest/infotest.git
 +refs/heads/*:refs/remotes/origin/* returned status code 129:
 stdout:
 stderr: error: unknown option `progress'
 usage: git fetch [options] [repository refspec...]
or: git fetch [options] group
or: git fetch --multiple [options] [repository | group]...
or: git fetch --all [options]

 -v, --verbose be more verbose
 -q, --quiet   be more quiet
 --all fetch from all remotes
 -a, --append  append to .git/FETCH_HEAD instead of overwriting
 --upload-pack PATH  path to upload pack on remote end
 -f, --force   force overwrite of local branch
 -m, --multiplefetch from multiple remotes
 -t, --tagsfetch all tags and associated objects
 -ndo not fetch all tags (--no-tags)
 -p, --prune   prune tracking branches no longer on remote
 --dry-run dry run
 -k, --keepkeep downloaded pack
 -u, --update-head-ok  allow updating of HEAD ref
 --depth DEPTH   deepen history of shallow clone


 at
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1099)
 at
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:985)
  at
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:69)
 at
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:218)
  at
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:224)
 at hudson.plugins.git.GitAPI.fetch(GitAPI.java:229)
  at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:610)
 ... 10 more

 --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.




 --
 Website: http://earl-of-code.com

 --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Git-Jenkins Issue

2014-01-08 Thread Mark Waite
Aaron,

My apologies for the poorly phrased answer from my phone.  There are two
different base implementations of Git which can be used by the Git plugin.

The command line implementation is the default implementation.  It assumes
you have git 1.7.10 or newer and requires that git is installed locally.

The pure Java implementation uses JGit and does not require a local git
installation.  However, it has fewer features than the command line
implementation and is still somewhat of a work in progress.

The simplest solution for you is probably an upgrade to a more recent
version of git.

http://adammonsen.com/post/665 gives hints how to upgrade git while keeping
the rest of your system at Ubuntu 10.04.

http://stackoverflow.com/questions/11170623/trying-to-install-git-in-ubuntu-lucid-10-04-lts
mentions
the same technique as that blog posting.

Mark Waite


On Wed, Jan 8, 2014 at 2:12 PM, Mark Waite mark.earl.wa...@gmail.comwrote:

 That is correct.  Configure another git in Jenkins, using jgit, and sewer
 of that will work in your case without changing your installed git.

 Mark Waite
 On Jan 8, 2014 1:23 PM, Slide slide.o@gmail.com wrote:

 This is just a guess, but your Git version looks pretty old, so perhaps
 it doesn't support the --progress option at all.


 On Wed, Jan 8, 2014 at 1:21 PM, Aaron Golub oldbatt...@gmail.com wrote:

 I'm having a hell of a time getting Jenkins to work with Git.  I'm on
 Ubuntu 10.04, Jenkins 1.545, Git 1.7.9.5.  I've installed the  Jenkins Git
 Client 1.6, Jenkins Git 2.0 plugins as well as a few others that I use for
 ANT and SVN integrations

 I've tried setting up jobs to pull from both a local and remote Git
 repos using both Git and Stash Git repos.  I've tried all kinds of
 different security set-up...including public access, access using no
 security at all.  The problem is that every time I try to run a job I get
 an error saying stderr: error: unknown option `progress' The complete
 Console Output follows. Can anyone explain whats going on here and why I'm
 seeing this error?

 Console Output:


 Started by user AG
 Building in workspace
 /var/lib/jenkins/jobs/Info_test_Git-Test_Devgit2/workspace
 Fetching changes from the remote Git repository
 Fetching upstream changes from
 file:///home/homer/gitrepo/infotest/infotest.git
 FATAL: Failed to fetch from
 file:///home/homer/gitrepo/infotest/infotest.git
 hudson.plugins.git.GitException: Failed to fetch from
 file:///home/homer/gitrepo/infotest/infotest.git
 at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:612)
  at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:836)
 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861)
  at hudson.model.AbstractProject.checkout(AbstractProject.java:1414)
 at
 hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652)
  at
 jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
 at
 hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561)
  at hudson.model.Run.execute(Run.java:1678)
 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
 at hudson.model.ResourceController.execute(ResourceController.java:88)
  at hudson.model.Executor.run(Executor.java:231)
 Caused by: hudson.plugins.git.GitException: Command git fetch --tags
 --progress file:///home/homer/gitrepo/infotest/infotest.git
 +refs/heads/*:refs/remotes/origin/* returned status code 129:
 stdout:
 stderr: error: unknown option `progress'
 usage: git fetch [options] [repository refspec...]
or: git fetch [options] group
or: git fetch --multiple [options] [repository | group]...
or: git fetch --all [options]

 -v, --verbose be more verbose
 -q, --quiet   be more quiet
 --all fetch from all remotes
 -a, --append  append to .git/FETCH_HEAD instead of
 overwriting
 --upload-pack PATH  path to upload pack on remote end
 -f, --force   force overwrite of local branch
 -m, --multiplefetch from multiple remotes
 -t, --tagsfetch all tags and associated objects
 -ndo not fetch all tags (--no-tags)
 -p, --prune   prune tracking branches no longer on remote
 --dry-run dry run
 -k, --keepkeep downloaded pack
 -u, --update-head-ok  allow updating of HEAD ref
 --depth DEPTH   deepen history of shallow clone


 at
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1099)
 at
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:985)
  at
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:69)
 at
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:218)
  at
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:224)
 at hudson.plugins.git.GitAPI.fetch(GitAPI.java:229)
  at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:610)
 ... 

Re: HelloWorld program build using cygwin in Jenkins - issue while building

2012-03-01 Thread Sami Tikka
Can you execute the same commands in a Command Prompt window as
Jenkins did and does it work?

Can you do the same in the same directory where Jenkins tried to do it
and does it work?

Does it work if you change Jenkins service to run as some other user,
e.g. yourself?

-- Sami

2012/3/1 RENJITH G gopinadhanrenj...@gmail.com:
 I just noted the cosole output and finalised it was not built due the
 sentence I saw
 Build step 'Execute shell' marked build as failure
 Finished: FAILURE

 Now I checked in the workspace also and didn't see any out file.

 I searched the error message in google and didn't get any valid results.Also
 I posted in #jenkins IRC and didn't get any inputs.
 I tried to dig into the error log but no more details on the issue is found

 Expecting some more inputs from the team.

 Many kind regards
 /renjith_g


 On Thu, Mar 1, 2012 at 8:01 AM, Sami Tikka sjti...@gmail.com wrote:

 Have you considered the possibility that your build really failed? An
 error in the compiler or cygwin is not really jenkins's fault. What kind of
 steps have you taken to investigate the problem?

 -- Sami

 Kanu gopinadhanrenj...@gmail.com kirjoitti 29.2.2012 kello 8.35:

  Hi all,
 
  I have the Jenkins setup in my machine and I have configured the
  settings with the below options.
 
  1.In 'Execute shell' tab under Hello world project settings:-  c:/
  cygwin/bin/bash -xe c:/test/build.sh
 
  2.In Manage Jenkins under 'shell executable' tab:- C:\cygwin\bin\bash
 
  3.This is my build.sh file content.
                   #!/bin/sh
                   c:/cygwin/bin/gcc -g helloworld.c
 
  4.I have the cygwin installed under c:\cygwin
 
  This is my error log when I tried to build using the Jenkins set up
 
  Console Output
  Started by user anonymous
  Building in workspace C:\Program Files\Jenkins\workspace\Helloworld
  [Helloworld] $ C:\cygwin\bin\bash -xe C:\WINDOWS\TEMP
  \hudson9092646218282923936.sh
  + c:/cygwin/bin/bash -xe c:/test/build.sh
  + c:/cygwin/bin/gcc -g helloworld.c
  Build step 'Execute shell' marked build as failure
  Finished: FAILURE
 
 
  Many kind regards,
  /Kanu