Re: Getting error while using BUILD_LOG_REGEX in emailext

2023-06-23 Thread Alex Earl
I believe you can use $ as the substText parameter, e.g. have a
capturing part of your regex and $1 would be the first capture group, $2
would be the second capture group, etc.

On Fri, Jun 23, 2023 at 10:09 AM Jyoti singhal  wrote:

> Hi Alex,
>
> Apologies from my side. Its working with single quotes now, I was giving
> the wrong syntax,
>
> Wanted to check one thing right now it's extracting this whole line, Is
> there any way to just get this link in email?
> [image: image.png]
>
> On Fri, Jun 23, 2023 at 9:38 PM Alex Earl  wrote:
>
>> Can you share your single quote version? I just want to make sure you are
>> doing what I expect.
>>
>> On Fri, Jun 23, 2023 at 7:16 AM Jyoti singhal 
>> wrote:
>>
>>> i have tried with Single quotes as well , it takes it as a text and
>>> print the complete line as it is.
>>>
>>> Thanks,
>>> Jyoti
>>>
>>> On Fri, 23 Jun, 2023, 18:16 Alex Earl,  wrote:
>>>
>>>> When you use double quotes in pipeline, the groovy engine will try and
>>>> interpolate the variables it sees. You should try using single quotes
>>>> around the body value.
>>>>
>>>> On Fri, Jun 23, 2023, 04:13 Jyoti singhal  wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> I am trying to get one line from build logs and sending in email for
>>>>> that i tied to use BUILD_LOG_REGEX in emailext but its throwing me this
>>>>> error
>>>>>
>>>>> *CodCode:*
>>>>> *```*
>>>>> { emailext (
>>>>> mimeType: 'text/html',
>>>>> attachLog: true,
>>>>> subject: "Jenkins Build ${currentBuild.currentResult}: Job ${
>>>>> env.JOB_NAME}",
>>>>> body: "${BUILD_LOG_REGEX, regex="Check out job at", maxMatches=2,
>>>>> showTruncatedLines=false}",
>>>>> to: 'jyoti2xx'
>>>>> *```*
>>>>> *Error:*
>>>>> 6:10:26
>>>>>  org.codehaus.groovy.control.MultipleCompilationErrorsException: startup
>>>>> failed:
>>>>> 16:10:26  WorkflowScript: 38: unexpected token: BUILD_LOG_REGEX @ line
>>>>> 38, column 15.
>>>>> 16:10:26  body: "${BUILD_LOG_REGEX, regex="Check out job at",
>>>>> maxMatches=2, showTruncatedLines=false}",
>>>>> 16:10:26
>>>>>
>>>>>
>>>>> Any idea how to fix this issue?
>>>>>
>>>>> Thanks,
>>>>> Jyoti
>>>>>
>>>>> --
>>>>> 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/b64d7b8d-1595-40bd-8096-f88da3e2e81cn%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/jenkinsci-users/b64d7b8d-1595-40bd-8096-f88da3e2e81cn%40googlegroups.com?utm_medium=email_source=footer>
>>>>> .
>>>>>
>>>> --
>>>> 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/CAPiUgVefUjn8GLFfaY%3DBmzyd428bbT08e2R5i%3D1e5_TdRq3A0g%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVefUjn8GLFfaY%3DBmzyd428bbT08e2R5i%3D1e5_TdRq3A0g%40mail.gmail.com?utm_medium=email_source=footer>
>>>> .
>>>>
>>> --
>>> 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/CA%2BC7GVyxERm9u9qO0703457Gpj97NfuTbGQZgz3078rx%3Dbs43g%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/jenkinsci-users/CA%2BC7GVyxERm9u9qO0703457Gpj97NfuTbGQZgz3078rx%3Dbs43g%40mail.gmail.com?utm_medi

Re: Getting error while using BUILD_LOG_REGEX in emailext

2023-06-23 Thread Alex Earl
Can you share your single quote version? I just want to make sure you are
doing what I expect.

On Fri, Jun 23, 2023 at 7:16 AM Jyoti singhal  wrote:

> i have tried with Single quotes as well , it takes it as a text and print
> the complete line as it is.
>
> Thanks,
> Jyoti
>
> On Fri, 23 Jun, 2023, 18:16 Alex Earl,  wrote:
>
>> When you use double quotes in pipeline, the groovy engine will try and
>> interpolate the variables it sees. You should try using single quotes
>> around the body value.
>>
>> On Fri, Jun 23, 2023, 04:13 Jyoti singhal  wrote:
>>
>>> Hi All,
>>>
>>> I am trying to get one line from build logs and sending in email for
>>> that i tied to use BUILD_LOG_REGEX in emailext but its throwing me this
>>> error
>>>
>>> *CodCode:*
>>> *```*
>>> { emailext (
>>> mimeType: 'text/html',
>>> attachLog: true,
>>> subject: "Jenkins Build ${currentBuild.currentResult}: Job ${
>>> env.JOB_NAME}",
>>> body: "${BUILD_LOG_REGEX, regex="Check out job at", maxMatches=2,
>>> showTruncatedLines=false}",
>>> to: 'jyoti2xx'
>>> *```*
>>> *Error:*
>>> 6:10:26  org.codehaus.groovy.control.MultipleCompilationErrorsException:
>>> startup failed:
>>> 16:10:26  WorkflowScript: 38: unexpected token: BUILD_LOG_REGEX @ line
>>> 38, column 15.
>>> 16:10:26  body: "${BUILD_LOG_REGEX, regex="Check out job at",
>>> maxMatches=2, showTruncatedLines=false}",
>>> 16:10:26
>>>
>>>
>>> Any idea how to fix this issue?
>>>
>>> Thanks,
>>> Jyoti
>>>
>>> --
>>> 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/b64d7b8d-1595-40bd-8096-f88da3e2e81cn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/jenkinsci-users/b64d7b8d-1595-40bd-8096-f88da3e2e81cn%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
>> 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/CAPiUgVefUjn8GLFfaY%3DBmzyd428bbT08e2R5i%3D1e5_TdRq3A0g%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVefUjn8GLFfaY%3DBmzyd428bbT08e2R5i%3D1e5_TdRq3A0g%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
> --
> 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/CA%2BC7GVyxERm9u9qO0703457Gpj97NfuTbGQZgz3078rx%3Dbs43g%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CA%2BC7GVyxERm9u9qO0703457Gpj97NfuTbGQZgz3078rx%3Dbs43g%40mail.gmail.com?utm_medium=email_source=footer>
> .
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVeOAVMr8QnY-%2B-H2Bp7uivy0FYmiBcCZGWctnLwYk1ofw%40mail.gmail.com.


Re: Getting error while using BUILD_LOG_REGEX in emailext

2023-06-23 Thread Alex Earl
When you use double quotes in pipeline, the groovy engine will try and
interpolate the variables it sees. You should try using single quotes
around the body value.

On Fri, Jun 23, 2023, 04:13 Jyoti singhal  wrote:

> Hi All,
>
> I am trying to get one line from build logs and sending in email for that
> i tied to use BUILD_LOG_REGEX in emailext but its throwing me this error
>
> *CodCode:*
> *```*
> { emailext (
> mimeType: 'text/html',
> attachLog: true,
> subject: "Jenkins Build ${currentBuild.currentResult}: Job ${env.JOB_NAME}
> ",
> body: "${BUILD_LOG_REGEX, regex="Check out job at", maxMatches=2,
> showTruncatedLines=false}",
> to: 'jyoti2xx'
> *```*
> *Error:*
> 6:10:26  org.codehaus.groovy.control.MultipleCompilationErrorsException:
> startup failed:
> 16:10:26  WorkflowScript: 38: unexpected token: BUILD_LOG_REGEX @ line 38,
> column 15.
> 16:10:26  body: "${BUILD_LOG_REGEX, regex="Check out job at",
> maxMatches=2, showTruncatedLines=false}",
> 16:10:26
>
>
> Any idea how to fix this issue?
>
> Thanks,
> Jyoti
>
> --
> 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/b64d7b8d-1595-40bd-8096-f88da3e2e81cn%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/CAPiUgVefUjn8GLFfaY%3DBmzyd428bbT08e2R5i%3D1e5_TdRq3A0g%40mail.gmail.com.


Re: How to set ssh key exchange algorithm when using Publish Over SSH plugin?

2023-06-01 Thread Alex Earl
You are correct, the plugin does not use either config file (or any config
file for that matter). It looks like Jsch (the SSH library used) does not
support ssh-rsa anymore. You would need to setup one of the other host key
types (ssh-ed25519 would probably be best) on the server.

On Thu, Jun 1, 2023 at 10:12 AM zil...@gmail.com  wrote:

> I'm using the Publish Over SSH
>  plugin t6o upload files to
> our SFTP site. I'm getting this error
>
> ERROR: Exception when publishing, exception message [Failed to connect and
> initialize SSH connection. Message: [Failed to connect session for config [
> ftp.company.com]. Message [Algorithm negotiation fail:
> algorithmName="server_host_key"
> jschProposal="ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256"
> serverProposal="ssh-rsa"]]]
>
>
> In spite of me having this in C:\Users\myUser\.ssh\config
> and in C:\Windows\system32\...\.ssh\config
>
> Host ftp.company.com
> User myUser
> HostName ftp.company.com
> HostKeyAlgorithms=+ssh-rsa
>
> One explanation is the plugin doesn't use either config file. What am I
> missing? TIA
>
> Chris
>
> --
> 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/bb93300f-68ee-46e9-9ae7-f4ed7ec12306n%40googlegroups.com
> 
> .
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVd7WaNPWRZxw%3DDWHwTfGL0764FHOjiXYnmU%3DLzLYf67AQ%40mail.gmail.com.


Re: email-extension: using extended email template in a pipeline job by template name

2023-05-22 Thread Alex Earl
I think you need to use:

body: '${SCRIPT, template="default_email_template"}'

On Mon, May 22, 2023 at 2:48 PM Mike MBS  wrote:

> Hi,
>
> I asked this question on StackOverflow – but seems there is a lack of
> engagement regarding Jenkins there..so I am asking here as well:
>
>
>
> I've created a template named 'default_email_template' by going to Manage
> Jenkins -> Editable Email Notification Templates -> Add New Template.
> I've also provided the content for default Recipients,  Subject and Body. I
> now would simply like to have my multiple pipeline job use that template as
> is. the following does not work:
>
> *Code:*
>
> def sendEmail() {
>
> emailext(
>
>   '${SCRIPT, template="default_email_template"}',
>
>   subject: "'Job ${env.JOB_NAME} [${env.BUILD_NUMBER}]'",
>
> )
>
> }
>
>
>
> *Exception:*
>
> java.lang.IllegalArgumentException: Expected named arguments but got
> [{subject='Job testJob [12]'}, ${SCRIPT, template="default_email_template"}]
>
> at org.jenkinsci.plugins.workflow.cps.DSL.parseArgs(DSL.java:712)
>
> at org.jenkinsci.plugins.workflow.cps.DSL.parseArgs(DSL.java:644)
>
> at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:237)
>
> at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:196)
>
> at
> org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:124)
>
> at
> org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:47)
>
> at
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
>
> at
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
>
> at
> com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:20)
>
> at WorkflowScript.sendEmail(WorkflowScript:160)
>
> at WorkflowScript.run(WorkflowScript:122)
>
>
>
> What is the proper way to reference a template created by using this
> extension?  Any help would be appreciated.
>
>
>
> Thanks much
>
> --
> 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/e1de2635-211f-48d7-aab4-7a4b4f2cff62n%40googlegroups.com
> 
> .
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVcj1CG91uco-TeAz07eiwerWu%2BaAC5zVn7F4DWWniYFVg%40mail.gmail.com.


Re: Not able to build scripts from local machine onto jenkins

2023-04-07 Thread Alex Earl
We need more information about your setup. How did you configure your job?
What does the job actually look like? Without more information we can't
really help that much.

On Fri, Apr 7, 2023, 01:23 Biswajit Patnaik 
wrote:

> I have created a simple python file project.py on my desktop in ubuntu
> 22.04.2
>
> I tried to build a simple free project on Jenkins and in the execution
> shell I wrote the location of the python file then apply and saved it.
>
> When building it showed failure. What is the reason and what should I
> write in the execution shell.
>
> I have given the required file permission with chmod 777
>
> Error msg-
>
> Build step Execution shell mark build as failure
>
> permission denied
>
> Its not just happening for python file but also if I create a simple text
> file in my ubuntu local machine it still does not builds.
>
> What to do?
>
> --
> 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/6dcdab31-12f3-43c8-9ed5-5536605cb99fn%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/CAPiUgVerqHK8LqRc%2BUAtd3UxY_TftwfPyawCpGx_2piwZTtffg%40mail.gmail.com.


Re: Jenkins LTS Debian signing key?

2023-03-30 Thread Alex Earl
I take that back, it only works for the weekly release, not the stable.

On Thu, Mar 30, 2023 at 10:36 AM Alex Earl  wrote:

> I just ran into the same thing, I updated to the new key and it works fine
> now.
>
> On Thu, Mar 30, 2023 at 10:13 AM alan.l...@gmail.com <
> alan.l.spa...@gmail.com> wrote:
>
>> Tried to build a Jenkins image here this morning and getting signing
>> errors on the repo:
>>
>> W: An error occurred during the signature verification. The repository is
>> not updated and the previous index files will be used. GPG error:
>> https://pkg.jenkins.io/debian-stable binary/ Release: The following
>> signatures were invalid: EXPKEYSIG FCEF32E745F2C3D5 Jenkins Project <
>> jenkinsci-bo...@googlegroups.com>
>> W: Failed to fetch http://pkg.jenkins.io/debian-stable/binary/Release.gpg
>>  The following signatures were invalid: EXPKEYSIG FCEF32E745F2C3D5 Jenkins
>> Project 
>> W: Some index files failed to download. They have been ignored, or old
>> ones used instead.
>>
>> I see a post on the Jenkins blog about the key changing, but it says
>> April 5, and we're not then yet.  What has changed for Ubuntu users?  the
>> old key doesn't seem to work, nor does the new one.  I'm using the same
>> repo configuration:
>> deb https://pkg.jenkins.io/debian-stable binary/
>>
>> What has changed?
>>
>> Following instructions for 2.387.1at:
>>
>> https://www.jenkins.io/doc/book/installing/linux/#long-term-support-release
>>
>> --
>> 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/54ae60e4-9408-482f-844d-5abb50abc4den%40googlegroups.com
>> <https://groups.google.com/d/msgid/jenkinsci-users/54ae60e4-9408-482f-844d-5abb50abc4den%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>
>
> --
> Website: http://earl-of-code.com
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVf-sUow_82Kk0_ChFA_9LbuJHASmY6FpF50Aiv_EMM6dA%40mail.gmail.com.


Re: Jenkins LTS Debian signing key?

2023-03-30 Thread Alex Earl
I just ran into the same thing, I updated to the new key and it works fine
now.

On Thu, Mar 30, 2023 at 10:13 AM alan.l...@gmail.com <
alan.l.spa...@gmail.com> wrote:

> Tried to build a Jenkins image here this morning and getting signing
> errors on the repo:
>
> W: An error occurred during the signature verification. The repository is
> not updated and the previous index files will be used. GPG error:
> https://pkg.jenkins.io/debian-stable binary/ Release: The following
> signatures were invalid: EXPKEYSIG FCEF32E745F2C3D5 Jenkins Project <
> jenkinsci-bo...@googlegroups.com>
> W: Failed to fetch http://pkg.jenkins.io/debian-stable/binary/Release.gpg
>  The following signatures were invalid: EXPKEYSIG FCEF32E745F2C3D5 Jenkins
> Project 
> W: Some index files failed to download. They have been ignored, or old
> ones used instead.
>
> I see a post on the Jenkins blog about the key changing, but it says April
> 5, and we're not then yet.  What has changed for Ubuntu users?  the old key
> doesn't seem to work, nor does the new one.  I'm using the same repo
> configuration:
> deb https://pkg.jenkins.io/debian-stable binary/
>
> What has changed?
>
> Following instructions for 2.387.1at:
> https://www.jenkins.io/doc/book/installing/linux/#long-term-support-release
>
> --
> 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/54ae60e4-9408-482f-844d-5abb50abc4den%40googlegroups.com
> 
> .
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVd%2BM4NXwkkL7htcRVMyf8enrPz1QiBwtMTMn4vDs0Ug5w%40mail.gmail.com.


Re: windows as slaves with java web start where Jenkins is based on Java 11

2023-03-28 Thread Alex Earl
If you launch it from a command line on the agent, it will allow it to run
UI tests.

On Tue, Mar 28, 2023 at 8:41 AM Kumar, Ashwath 
wrote:

> Hi,
>
> Yes it will connect if we start using Java command. But launching the
> slave with this way won't allow to run the UI based tests on slave.
>
> Regards
> Ashwath Kumar
>
> On Tue, 28 Mar, 2023, 20:27 Alex Earl,  wrote:
>
>> You can start the agent directly using the Java command displayed in the
>> agent launch page. You could have it as a start up application for the user
>> that you need to run as.
>>
>> On Mon, Mar 27, 2023, 23:03 Kumar, Ashwath 
>> wrote:
>>
>>> Hello,
>>>
>>> Can anybody help with adding windows as slaves with java web start where
>>> Jenkins is hosted with Java 11, Is there a way to add to run UI tests on
>>> Windows VM?
>>>
>>> --
>>>
>>>
>>> Regards
>>> Ashwath Kumar
>>>
>>> --
>>> 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/CAOCuqUdWm6TaJ5aBN643upxFiEE_wJ3RXON4P9EOTX9JKh2OzQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/jenkinsci-users/CAOCuqUdWm6TaJ5aBN643upxFiEE_wJ3RXON4P9EOTX9JKh2OzQ%40mail.gmail.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
>> 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/CAPiUgVcfgCOFj%3D6bSbnCxniRA2f2fsUkehsQwvhberxCWz%2BiPg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVcfgCOFj%3D6bSbnCxniRA2f2fsUkehsQwvhberxCWz%2BiPg%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
> --
> 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/CAOCuqUecD03o24t0f%3DKBv%2B4pos4Eo_Qp_xNVHam8uV6hoLdLdw%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CAOCuqUecD03o24t0f%3DKBv%2B4pos4Eo_Qp_xNVHam8uV6hoLdLdw%40mail.gmail.com?utm_medium=email_source=footer>
> .
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVfcVszdd7AGPqozyojT3VCt43%3DHDK1aTXwS2gyVrypZrg%40mail.gmail.com.


Re: windows as slaves with java web start where Jenkins is based on Java 11

2023-03-28 Thread Alex Earl
You can start the agent directly using the Java command displayed in the
agent launch page. You could have it as a start up application for the user
that you need to run as.

On Mon, Mar 27, 2023, 23:03 Kumar, Ashwath  wrote:

> Hello,
>
> Can anybody help with adding windows as slaves with java web start where
> Jenkins is hosted with Java 11, Is there a way to add to run UI tests on
> Windows VM?
>
> --
>
>
> Regards
> Ashwath Kumar
>
> --
> 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/CAOCuqUdWm6TaJ5aBN643upxFiEE_wJ3RXON4P9EOTX9JKh2OzQ%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/CAPiUgVcfgCOFj%3D6bSbnCxniRA2f2fsUkehsQwvhberxCWz%2BiPg%40mail.gmail.com.


Re: Regarding unable to view the jobs in jenkins

2023-03-24 Thread Alex Earl
2.176.1 is almost 4 years old. Why are you using such old releases?

On Thu, Mar 23, 2023 at 8:31 PM Ashok Reddy  wrote:

> Is it okay to use 2.176.1 version?
>
> I am trying to install the 2.176.1 version . But I have been facing issues
> as class not found exception matrix authorization strategy plugin .
>
> Can you please help out?
>
> Thanks in advance for your help.
>
> On Fri, 24 Mar 2023 at 5:34 AM, Ullrich Hafner 
> wrote:
>
>> This version is not supported. Please use a more recent Jenkins LTS
>> release.
>>
>> Am 23.03.2023 um 12:33 schrieb Ashok Reddy :
>>
>> I am using jenkins2.138.1 verstion we used to see a jobs under view but
>> now we are unable to see the jobs under views.
>>
>> On Thu, 23 Mar 2023 at 7:27 PM, gaurav thosani 
>> wrote:
>>
>>> Could you share some more details about the issue at hand with following
>>> questions answered
>>>
>>> 1 - the job is not visible when you visit your Jenkins url only ?  Yes
>>> 2 - the job is not visible in specific view on your Jenkins ?
>>> 3 - is RBAC turned on your Jenkins using
>>> https://plugins.jenkins.io/role-strategy/ ?  Yes
>>> 4 - is anyone else facing same issue on your Jenkins ? Yes no one can’t
>>> see the jobs under view
>>>
>>> With RBAC enabled, you have to review job name/ pattern mapping to your
>>> configured access role by going to Jenkins manage settings and clicking
>>> Manage roles and access ( may not be quoting exact words )
>>>
>>> Thank you
>>> Gaurav Thosani
>>>
>>> On Mar 23, 2023, at 1:24 AM, Ashok Reddy  wrote:
>>>
>>> Hi Team,
>>>
>>>
>>> I have the jobs in jenkins server and couldn’t be able to view the jobs
>>> in jenkins dashboard.
>>>
>>> Can some one help me?
>>>
>>> --
>>> 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/CAKRLcHhWiY8y2gP87Ys9qN12LFQiEHCuB61fp7ZShjeMBwnG6A%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/CADC4002-725B-4643-A7EA-C9D9E087A011%40gmail.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/CAKRLcHiHs0fdw5e1JgqKCHxkrH-Svjc8n0R7%3Dk2-_NwEmTp_jw%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/75C33341-8069-499A-AA96-39A39A430FB3%40gmail.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/CAKRLcHiGJC9bpcyUgm_ALdXvznnjEpTgZa8_%3DM8H1JVJNoiyGQ%40mail.gmail.com
> 
> .
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVd-vK0QSFigtXycsaGn280WSsDVnpWjjhTpe55bmxJiPw%40mail.gmail.com.


Re: Issue with the Jenkins Plugin emailext Plugin.

2023-02-15 Thread Alex Earl
Can you check the Jenkins logs and see if there is a full exception trace
in the log?

On Wed, Feb 15, 2023 at 11:01 AM Chetan  wrote:

> Hi
>
> Yes the failure.html will created in workspace before calling the
> emailext. Also it will not happen everytime.
>
> I'm trying to figure out does it somehow depend on the nodes we use. Also
> i believe the content of failure.html might be causing the issue as it will
> have many logs lines entries.
>
> On Wed, 15 Feb, 2023, 7:23 am Alex Earl,  wrote:
>
>> Does failure.html exist in the root of the workspace?
>>
>> On Fri, Feb 3, 2023, 03:35 Chetan  wrote:
>>
>>> Hi Jenkins Experts
>>>
>>> I get the below error message sometime only when i use the html file as
>>> email.
>>>
>>> Jenkins Code:
>>>
>>>  emailext (
>>> mimeType: 'text/html',
>>> subject: 'Compilation Varification Failed for
>>> Gerrit',
>>> attachLog: true,
>>> attachmentsPattern: 'Errors/*.log,BTLD/Errors/*.log'
>>> ,
>>> body: '${FILE, path="failure.html"}',
>>> from: 'tbui...@harman.com',
>>> to :
>>> '$GERRIT_CHANGE_OWNER_EMAIL,$GERRIT_PATCHSET_UPLOADER_EMAIL'
>>> )
>>>
>>> *Error: *
>>> *[Error replacing 'FILE' - Error processing tokens]*
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Thanks & Best Regars
>>>
>>> *Chetan B*
>>>
>>> --
>>> 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/CA%2B6q8-5vQ7Z430Mi6pqCUL8pP7n%3DR04MFUTCGifBMPyTQcLtEw%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/jenkinsci-users/CA%2B6q8-5vQ7Z430Mi6pqCUL8pP7n%3DR04MFUTCGifBMPyTQcLtEw%40mail.gmail.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
>> 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/CAPiUgVfoxQ%3D47qUiyVMv0gdyHCRPaZdh_nOkfpNCZ6RN%3Dqh-5Q%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVfoxQ%3D47qUiyVMv0gdyHCRPaZdh_nOkfpNCZ6RN%3Dqh-5Q%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
> --
> 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/CA%2B6q8-7AP16183Ghyx0GFvFot5%3Ddqr4NvD1JU37Fuk00RMgp9Q%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CA%2B6q8-7AP16183Ghyx0GFvFot5%3Ddqr4NvD1JU37Fuk00RMgp9Q%40mail.gmail.com?utm_medium=email_source=footer>
> .
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVezfgoR3T643m90cX8_MbTB%3DBMCHh8%3DacW9fUWbazZfpg%40mail.gmail.com.


Re: Issue with the Jenkins Plugin emailext Plugin.

2023-02-14 Thread Alex Earl
Does failure.html exist in the root of the workspace?

On Fri, Feb 3, 2023, 03:35 Chetan  wrote:

> Hi Jenkins Experts
>
> I get the below error message sometime only when i use the html file as
> email.
>
> Jenkins Code:
>
>  emailext (
> mimeType: 'text/html',
> subject: 'Compilation Varification Failed for Gerrit',
> attachLog: true,
> attachmentsPattern: 'Errors/*.log,BTLD/Errors/*.log',
> body: '${FILE, path="failure.html"}',
> from: 'tbui...@harman.com',
> to :
> '$GERRIT_CHANGE_OWNER_EMAIL,$GERRIT_PATCHSET_UPLOADER_EMAIL'
> )
>
> *Error: *
> *[Error replacing 'FILE' - Error processing tokens]*
>
>
>
>
>
>
>
>
> Thanks & Best Regars
>
> *Chetan B*
>
> --
> 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/CA%2B6q8-5vQ7Z430Mi6pqCUL8pP7n%3DR04MFUTCGifBMPyTQcLtEw%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/CAPiUgVfoxQ%3D47qUiyVMv0gdyHCRPaZdh_nOkfpNCZ6RN%3Dqh-5Q%40mail.gmail.com.


Re: Jenkins error when running the project on Mac but not on windows

2023-02-13 Thread Alex Earl
It looks like your workspace is not setup correctly on your Mac agent. Does
your pipeline reference a specific path? The path setup will be completely
different on Windows vs. Mac.

On Mon, Feb 13, 2023 at 1:47 PM John Patrick  wrote:

> Try installing gitbash on the windows machine, then in global
> configurations define where git is located.
> I've had similar, as it's trying to access /usr/bin/git which won't exist
> at that location on windows.
>
>
> On Mon, 13 Feb 2023 at 18:55, Andrei Suslov  wrote:
>
>> I have two nodes: win and mac. On windows, my pipeline script runs fine,
>> and on mac it gives me this error:
>> java.io.IOException: CreateProcess error=2, The system cannot find the
>> file specifiedat java.base/java.lang.ProcessImpl.create(Native Method)
>>at java.base/java.lang.ProcessImpl.(ProcessImpl.java:494)at
>> java.base/java.lang.ProcessImpl.start(ProcessImpl.java:159)at
>> java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1110) Caused:
>> java.io.IOException: Cannot run program "/usr/bin/git" (in directory
>> "C:\Users\administrator.BSI\AppData\Local\Jenkins\.jenkins\caches\git-bde1e1064a79b70e5586f2d6a66af68e"):
>> CreateProcess error=2, The system cannot find the file specified
>>
>> What can I do to run the pipeline script successfully on Mac?
>>
>> --
>> 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/cf990163-29bb-44e4-8004-a5b0a66c628bn%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/CAH9u10kSiQvU5XDO0ZhUDCJRt%2BmyX52OWwduA5URLtqK1m3x2w%40mail.gmail.com
> 
> .
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVf4Z%3DmkjxjJV7NrbqnUTd%2BtPyAoCnY7Bethz61J5meqAw%40mail.gmail.com.


Re: Send file path as a link in email body after Jenkins Scripted pipe line run

2023-02-06 Thread Alex Earl
Also, you will need to use a file:// link, not just the path. Be aware
though that unless everyone is running from the same C: drive mount, then
your link won't work at all for people clicking on it from their account.

On Mon, Feb 6, 2023 at 9:05 AM Ivan Fernandez Calvo 
wrote:

> Two things here, one the whole body must be and HTML page to be sent as
> HTML, and you need the email ext plugin installed, check the documentation
> of the plugin for more details
>
> https://plugins.jenkins.io/email-ext/
> El lunes, 6 de febrero de 2023 a las 15:50:22 UTC+1,
> sunil.does...@gmail.com escribió:
>
>> Can anyone tell me how to add a link to a file location in the email body?
>> I have the below email body and I want to send the highlighted/bold
>> bit( ) as a link in  the email body after every run,
>> so, that users can click on the link from email to be take to the location,
>> but it doesn't work. .:-
>>
>> emailext attachLog: true, attachmentsPattern: 'target',
>> subject: "Jenkins Build Report
>>  ${currentBuild.currentResult}: Job ${env.JOB_NAME} build
>> ${env.BUILD_NUMBER}",
>> body: "${currentBuild.currentResult}: Job ${env.JOB_NAME}
>> \n Link: ${env.BUILD_URL} \n Drop folders can be found at
>> **",
>>   mimeType: 'text/html',
>> to: testEmailGroup
>>
> --
> 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/9df81503-fa0b-4fff-a9bb-9f9d09cfe0b8n%40googlegroups.com
> 
> .
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVcbfqkAS72jFWZ%2B22NJ2OPcsBi2zU55_VxtiT7kWAUFnQ%40mail.gmail.com.


Re: Help with Publish Over SSH plugin?

2023-02-02 Thread Alex Earl
Actually, I looked at the code again and it looks like PO-SSH should not be
doing host key checking, can you share the build log?

On Wed, Feb 1, 2023 at 2:29 PM zil...@gmail.com  wrote:

> ...and logged in as user "Administrator", I can connect to the SFTP server
> manually. My plugin uses the "devops" user too.
>
> sftp dev...@ftp.company.com
>
> ...prompts me for the p/w, and once entered, I connect.
>
> Thanks
>
> On Wednesday, February 1, 2023 at 4:14:51 PM UTC-5 zil...@gmail.com wrote:
>
>> My agent is currently running under the "Administrator" account, so I did
>> update its known_hosts file to no avail.
>>
>> Thanks
>>
>> On Wednesday, February 1, 2023 at 2:39:06 PM UTC-5 slide wrote:
>>
>>> What user is your agent/controller running as? If you are running the
>>> controller as Local System, it would be the second path, but I would highly
>>> recommend that you setup a service account just for Jenkins and run Jenkins
>>> as that user.
>>>
>>> On Wed, Feb 1, 2023 at 12:03 PM zil...@gmail.com 
>>> wrote:
>>>
>>>> When using the Publish Over SSH plugin in a job, what "known_hosts"
>>>> file is it using? I see one in "c:\Users\myUser\.ssh\known_hosts" but also
>>>> in  "c:\Windows\system32\config\systemprofile\.ssh\known_hosts"
>>>>
>>>> On Wednesday, February 1, 2023 at 1:42:12 AM UTC-5 dheinric wrote:
>>>>
>>>>> Am Dienstag, dem 31.01.2023 um 14:00 -0700 schrieb Alex Earl:
>>>>>
>>>>> None of the other SSH plugins do a copy over SSH.
>>>>>
>>>>>
>>>>> Yes, of course not. They were meant as examples how host key
>>>>> verification is handled differently by other plugins that make use of SSH.
>>>>> AFAIK the "publish-over-*" plugins don't use the same underlying SSH
>>>>> library plugin and tus don't have the same capabilities. IIRR they also
>>>>> don't use Jenkins' credentials provider...
>>>>>
>>>>> Bye...
>>>>>
>>>>> Dirk
>>>>>
>>>>> --
>>>>>
>>>>> *Dirk Heinrichs*
>>>>> Senior Systems Engineer, Delivery Pipeline
>>>>> OpenText ™ Discovery | Recommind
>>>>> *Phone*: +49 2226 15966 18 <+49%202226%201596618>
>>>>> *Email*: dhei...@opentext.com
>>>>> *Website*: www.recommind.de
>>>>> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
>>>>> Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu
>>>>> Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn,
>>>>> Registernummer HRB 10646
>>>>> This e-mail may contain confidential and/or privileged information. If
>>>>> you are not the intended recipient (or have received this e-mail in error)
>>>>> please notify the sender immediately and destroy this e-mail. Any
>>>>> unauthorized copying, disclosure or distribution of the material in this
>>>>> e-mail is strictly forbidden
>>>>> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
>>>>> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
>>>>> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
>>>>> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
>>>>> Weitergabe dieser Mail sind nicht gestattet.
>>>>>
>>>> --
>>>>
>>> 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/d317c501-823b-4f22-b262-1e8dd3e727e1n%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/jenkinsci-users/d317c501-823b-4f22-b262-1e8dd3e727e1n%40googlegroups.com?utm_medium=email_source=footer>
>>>> .
>>>>
>>>
>>>
>>> --
>>> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/3287abc8-974d-49f5-8269-582d29f98f4fn%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/3287abc8-974d-49f5-8269-582d29f98f4fn%40googlegroups.com?utm_medium=email_source=footer>
> .
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVfEXPZqYuZGi6dADNn2g5z0b8GXP4vanAjE4OF3U9PqdQ%40mail.gmail.com.


Re: Help with Publish Over SSH plugin?

2023-02-01 Thread Alex Earl
What user is your agent/controller running as? If you are running the
controller as Local System, it would be the second path, but I would highly
recommend that you setup a service account just for Jenkins and run Jenkins
as that user.

On Wed, Feb 1, 2023 at 12:03 PM zil...@gmail.com  wrote:

> When using the Publish Over SSH plugin in a job, what "known_hosts" file
> is it using? I see one in "c:\Users\myUser\.ssh\known_hosts" but also in
> "c:\Windows\system32\config\systemprofile\.ssh\known_hosts"
>
> On Wednesday, February 1, 2023 at 1:42:12 AM UTC-5 dheinric wrote:
>
>> Am Dienstag, dem 31.01.2023 um 14:00 -0700 schrieb Alex Earl:
>>
>> None of the other SSH plugins do a copy over SSH.
>>
>>
>> Yes, of course not. They were meant as examples how host key verification
>> is handled differently by other plugins that make use of SSH. AFAIK the
>> "publish-over-*" plugins don't use the same underlying SSH library plugin
>> and tus don't have the same capabilities. IIRR they also don't use Jenkins'
>> credentials provider...
>>
>> Bye...
>>
>> Dirk
>>
>> --
>>
>> *Dirk Heinrichs*
>> Senior Systems Engineer, Delivery Pipeline
>> OpenText ™ Discovery | Recommind
>> *Phone*: +49 2226 15966 18 <+49%202226%201596618>
>> *Email*: dhei...@opentext.com
>> *Website*: www.recommind.de
>> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
>> Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan,
>> Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
>> This e-mail may contain confidential and/or privileged information. If
>> you are not the intended recipient (or have received this e-mail in error)
>> please notify the sender immediately and destroy this e-mail. Any
>> unauthorized copying, disclosure or distribution of the material in this
>> e-mail is strictly forbidden
>> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
>> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
>> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
>> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
>> Weitergabe dieser Mail sind nicht gestattet.
>>
> --
> 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/d317c501-823b-4f22-b262-1e8dd3e727e1n%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/d317c501-823b-4f22-b262-1e8dd3e727e1n%40googlegroups.com?utm_medium=email_source=footer>
> .
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVc6YJ%3DDLPT6uWG8yexJ4XYvU67wpVfTVmZkL3poQQ-FGA%40mail.gmail.com.


Re: Help with Publish Over SSH plugin?

2023-01-31 Thread Alex Earl
None of the other SSH plugins do a copy over SSH.

On Tue, Jan 31, 2023 at 9:32 AM zil...@gmail.com  wrote:

> Thanks. I use the SSH agent plugin, but that's not strictly for FTP? I
> mean I have to script out pushing to an SFTP server? I'll look at the EC2
> Cloud plugin, though we're not an AWS shop (on prem).
>
> On Tuesday, January 31, 2023 at 1:34:47 AM UTC-5 dheinric wrote:
>
>> Am Montag, dem 30.01.2023 um 19:11 -0800 schrieb zil...@gmail.com:
>>
>> What other plugin would y'all recommend, that had the option to update
>> the known_hosts file, or have a "No strict host check" option?
>>
>>
>> There are other plugins that use SSH, for example the SSH Agent plugin or
>> the EC2 Cloud plugin. Both connect to agents using SSH and they offer 4
>> options for host key handling, from "strict" to "no check at all".
>>
>> Bye...
>>
>> Dirk
>>
>> --
>>
>> *Dirk Heinrichs*
>> Senior Systems Engineer, Delivery Pipeline
>> OpenText ™ Discovery | Recommind
>> *Phone*: +49 2226 15966 18 <+49%202226%201596618>
>> *Email*: dhei...@opentext.com
>> *Website*: www.recommind.de
>> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
>> Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan,
>> Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
>> This e-mail may contain confidential and/or privileged information. If
>> you are not the intended recipient (or have received this e-mail in error)
>> please notify the sender immediately and destroy this e-mail. Any
>> unauthorized copying, disclosure or distribution of the material in this
>> e-mail is strictly forbidden
>> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
>> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
>> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
>> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
>> Weitergabe dieser Mail sind nicht gestattet.
>>
> --
> 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/d9cc2a65-c521-449b-97d5-d7d84a7343c1n%40googlegroups.com
> 
> .
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVfci%3D_vfbLYdJ8_sSod%2Bi2_7XzNStbfR9i4ECAzDVGgjw%40mail.gmail.com.


Re: Help with Publish Over SSH plugin?

2023-01-30 Thread Alex Earl
Yes, but it would be nice if the plugin had different options like other
plugins do. I am not sure if there is a maintainer for that plugin right
now.

On Mon, Jan 30, 2023 at 1:27 PM 'christop...@googlemail.com' via Jenkins
Users  wrote:

>
> Wouldn't a proper entry in the known-hosts file help here?
>
> zil...@gmail.com schrieb am Montag, 30. Januar 2023 um 17:25:49 UTC+1:
>
>> Bummer, thanks!
>>
>> On Monday, January 30, 2023 at 10:50:58 AM UTC-5 slide wrote:
>>
>>> I don't think the PO SSH plugin supports different methods of host key
>>> checking. You can see here that strict host key checking is always enabled
>>> and there is no setting to disable it:
>>> https://github.com/jenkinsci/publish-over-ssh-plugin/blob/3ffc0d5b1131611ef030d28d37fb4f8415574b37/src/main/java/jenkins/plugins/publish_over_ssh/BapSshHostConfiguration.java#L406
>>>
>>> On Fri, Jan 27, 2023 at 11:27 AM zil...@gmail.com 
>>> wrote:
>>>
 Sorry if this is not the correct forum for plugins help.

 I use https://plugins.jenkins.io/publish-over-ssh/ to upload to a
 secure FTP server. Is there a way to set it disable "Strict host key
 checking"? At least it's not obvious to me. By this I mean, when you SSH to
 a machine (the plugin uses SSH), it'll as you

 "The authenticity of host 'ftp.company.com (12.70.x.x)' can't be
 established.

 RSA key fingerprint is SHA256:x.

 Are you sure you want to continue connecting (yes/no/[fingerprint])? yes

 Warning: Permanently added 'ftp.company.com,12.70.x.x' (RSA) to the
 list of known hosts."

 I created a test job, and working with our IT person, we don't even see
 it proceed to the username/password authentication, so I'm "guessing" it's
 stuck with the above

 TIA,

 Chris

 --
 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/397f4fc4-698b-457f-96e0-19c85d411b8bn%40googlegroups.com
 
 .

>>>
>>>
>>> --
>>> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/a996ced4-3b01-49f5-b94d-02b3a1544a0an%40googlegroups.com
> 
> .
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVeigtjcJdCpyVjGSEETmCNhjwordPYF1NcUmJ9-ZOh%3DMg%40mail.gmail.com.


Re: Help with Publish Over SSH plugin?

2023-01-30 Thread Alex Earl
I don't think the PO SSH plugin supports different methods of host key
checking. You can see here that strict host key checking is always enabled
and there is no setting to disable it:
https://github.com/jenkinsci/publish-over-ssh-plugin/blob/3ffc0d5b1131611ef030d28d37fb4f8415574b37/src/main/java/jenkins/plugins/publish_over_ssh/BapSshHostConfiguration.java#L406

On Fri, Jan 27, 2023 at 11:27 AM zil...@gmail.com  wrote:

> Sorry if this is not the correct forum for plugins help.
>
> I use https://plugins.jenkins.io/publish-over-ssh/ to upload to a secure
> FTP server. Is there a way to set it disable "Strict host key checking"? At
> least it's not obvious to me. By this I mean, when you SSH to a machine
> (the plugin uses SSH), it'll as you
>
> "The authenticity of host 'ftp.company.com (12.70.x.x)' can't be
> established.
>
> RSA key fingerprint is SHA256:x.
>
> Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
>
> Warning: Permanently added 'ftp.company.com,12.70.x.x' (RSA) to the list
> of known hosts."
>
> I created a test job, and working with our IT person, we don't even see it
> proceed to the username/password authentication, so I'm "guessing" it's
> stuck with the above
>
> TIA,
>
> Chris
>
> --
> 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/397f4fc4-698b-457f-96e0-19c85d411b8bn%40googlegroups.com
> 
> .
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVc96x4CwghBt5WL5EHJTeZsWhcGC6zR1fhTMi0ErcsFGQ%40mail.gmail.com.


Re: SFTP Publisher plugin?

2023-01-12 Thread Alex Earl
Do you have the plugin installed? This is what I see in the snippet
generator:

[image: image.png]

On Thu, Jan 12, 2023 at 10:24 AM zil...@gmail.com  wrote:

> I did look at that, and https:/YOURJENKINS/pipeline-syntax, but no mention
> of `SSH Publisher
>
> On Thursday, January 12, 2023 at 12:09:36 PM UTC-5 slide wrote:
>
>> I would recommend always using the declarative generator that is
>> available on your Jenkins instance, it allows you to use a UI to generate
>> the proper pipeline syntax. https:/YOURJENKINS/directive-generator/
>>
>> On Thu, Jan 12, 2023 at 9:54 AM zil...@gmail.com 
>> wrote:
>>
>>> Ha. I'm not alone re: the Publish over SSH plugin
>>>
>>>
>>> https://www.reddit.com/r/jenkinsci/comments/ef5bkh/copying_files_via_sftp_using_declaritive_andor/
>>>
>>> Chris
>>>
>>> On Thursday, January 12, 2023 at 11:04:17 AM UTC-5 zil...@gmail.com
>>> wrote:
>>>
 Nice. How do I use it in a pipeline? The plugin page just shows
 point-and-click UI setup options. I use the FTP publisher plugin this way
 for example

 dir($WORKSPACE) {
 timeout(time: 5) { // timeout in mins
 ftpPublisher: // options
 }
 }


 On Thursday, January 12, 2023 at 10:54:16 AM UTC-5 slide wrote:

> There is the Publish Over SSH plugin that is similar to the one you
> are using. https://plugins.jenkins.io/publish-over-ssh/
>
> On Thu, Jan 12, 2023 at 8:46 AM zil...@gmail.com 
> wrote:
>
>> Sorry I'm using Publish Over FTP
>> 
>>
>> On Thursday, January 12, 2023 at 10:42:20 AM UTC-5 zil...@gmail.com
>> wrote:
>>
>>> I'm currently using the FTP Publisher
>>>  plugin to publish to an
>>> FTP server. However, IT moved to a secure FTP server. Is there an
>>> equivalent SFTP Plugin? I did look to no avail.
>>>
>>> My Jenkins jobs are running on Windows build nodes.
>>>
>>> TIA,
>>> Chris
>>>
>> --
>> 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/66f8a274-5c18-45d6-bc6a-71563571750en%40googlegroups.com
>> 
>> .
>>
>
>
> --
> 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-use...@googlegroups.com.
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/ee62f76e-23fb-4585-80c3-df444a84bf1bn%40googlegroups.com
>>> 
>>> .
>>>
>>
>>
>> --
>> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/ee6d45ba-e71e-4aa6-b7eb-fca5bfd3ef9bn%40googlegroups.com
> 
> .
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVfBzvLyeyhp7_Nq72KDpWGFUYTUdqKphEwikk-4wqa1gQ%40mail.gmail.com.


Re: SFTP Publisher plugin?

2023-01-12 Thread Alex Earl
I would recommend always using the declarative generator that is available
on your Jenkins instance, it allows you to use a UI to generate the proper
pipeline syntax. https:/YOURJENKINS/directive-generator/

On Thu, Jan 12, 2023 at 9:54 AM zil...@gmail.com  wrote:

> Ha. I'm not alone re: the Publish over SSH plugin
>
>
> https://www.reddit.com/r/jenkinsci/comments/ef5bkh/copying_files_via_sftp_using_declaritive_andor/
>
> Chris
>
> On Thursday, January 12, 2023 at 11:04:17 AM UTC-5 zil...@gmail.com wrote:
>
>> Nice. How do I use it in a pipeline? The plugin page just shows
>> point-and-click UI setup options. I use the FTP publisher plugin this way
>> for example
>>
>> dir($WORKSPACE) {
>> timeout(time: 5) { // timeout in mins
>> ftpPublisher: // options
>> }
>> }
>>
>>
>> On Thursday, January 12, 2023 at 10:54:16 AM UTC-5 slide wrote:
>>
>>> There is the Publish Over SSH plugin that is similar to the one you are
>>> using. https://plugins.jenkins.io/publish-over-ssh/
>>>
>>> On Thu, Jan 12, 2023 at 8:46 AM zil...@gmail.com 
>>> wrote:
>>>
 Sorry I'm using Publish Over FTP
 

 On Thursday, January 12, 2023 at 10:42:20 AM UTC-5 zil...@gmail.com
 wrote:

> I'm currently using the FTP Publisher
>  plugin to publish to an
> FTP server. However, IT moved to a secure FTP server. Is there an
> equivalent SFTP Plugin? I did look to no avail.
>
> My Jenkins jobs are running on Windows build nodes.
>
> TIA,
> Chris
>
 --
 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/66f8a274-5c18-45d6-bc6a-71563571750en%40googlegroups.com
 
 .

>>>
>>>
>>> --
>>> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/ee62f76e-23fb-4585-80c3-df444a84bf1bn%40googlegroups.com
> 
> .
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVc6OoH%2BMnurdef3tAc_aJT-ebKdqfoxhERL5rx-5J%2BrdQ%40mail.gmail.com.


Re: SFTP Publisher plugin?

2023-01-12 Thread Alex Earl
There is the Publish Over SSH plugin that is similar to the one you are
using. https://plugins.jenkins.io/publish-over-ssh/

On Thu, Jan 12, 2023 at 8:46 AM zil...@gmail.com  wrote:

> Sorry I'm using Publish Over FTP
> 
>
> On Thursday, January 12, 2023 at 10:42:20 AM UTC-5 zil...@gmail.com wrote:
>
>> I'm currently using the FTP Publisher
>>  plugin to publish to an FTP
>> server. However, IT moved to a secure FTP server. Is there an equivalent
>> SFTP Plugin? I did look to no avail.
>>
>> My Jenkins jobs are running on Windows build nodes.
>>
>> TIA,
>> Chris
>>
> --
> 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/66f8a274-5c18-45d6-bc6a-71563571750en%40googlegroups.com
> 
> .
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVfHNb8JvFDwia%2Bxrr_ZwbObEByjqdftEPdxPyXxTJiFEA%40mail.gmail.com.


Re: Running Jenkins as a Service in RHEL 8

2022-12-05 Thread Alex Earl
Jenkins switched to systemd "recently" check this page for how to change
env variables and such
https://www.jenkins.io/doc/book/system-administration/systemd-services/

On Mon, Dec 5, 2022 at 8:40 AM eric@gmail.com 
wrote:

> Changing the JENKINS_HOME directory in that config file didn't work.  I
> got the same error some it's using that link somewhere else...
>
> Thanks,
> Eric
>
> On Monday, December 5, 2022 at 8:09:31 AM UTC-7 eric@gmail.com wrote:
>
>> Hi All,
>>
>> I'm running into an issue running Jenkins as a service in RHEL 8 with
>> SELINUX running (I don't have a choice).  It seems since /var/lib/jenkins
>> is a symbolic link to /opt/jenkins, SELINUX doesn't want to allow running
>> the service from there.  Would it be acceptable to just change the value
>> for JENKINS_HOME to /opt/jenkins in /etc/sysconfig/jenkins?  Thanks!
>>
>>
>> ]# journalctl -xe
>>
>>You can generate a
>> local policy module to allow this access.
>>
>>Do
>>
>>allow this access for
>> now by executing:
>>
>># ausearch -c
>> '(jenkins)' --raw | audit2allow -M my-jenkins
>>
>># semodule -X 300 -i
>> my-jenkins.pp
>>
>>
>>
>> Dec 02 10:45:03 nd655bd001 setroubleshoot[144816]: AnalyzeThread.run():
>> Set alarm timeout to 10
>>
>> Dec 02 10:45:03 nd655bd001 setroubleshoot[144816]: AnalyzeThread.run():
>> Cancel pending alarm
>>
>> Dec 02 10:45:07 nd655bd001 setroubleshoot[144816]: SELinux is preventing
>> /usr/lib/systemd/systemd from read access on the lnk_file /var/lib/jenkins.
>> For com>
>>
>> Dec 02 10:45:07 nd655bd001 setroubleshoot[144816]: SELinux is preventing
>> /usr/lib/systemd/systemd from read access on the lnk_file /var/lib/jenkins.
>>
>>
>>
>>*  Plugin
>> catchall_labels (83.8 confidence) suggests   ***
>>
>>
>>
>>If you want to allow
>> systemd to have read access on the jenkins lnk_file
>>
>>Then you need to
>> change the label on /var/lib/jenkins
>>
>>Do
>>
>># semanage fcontext -a
>> -t FILE_TYPE '/var/lib/jenkins'
>>
>>where FILE_TYPE is one
>> of the following: NetworkManager_etc_rw_t, NetworkManager_etc_t,
>> NetworkManager_un>
>>
>>Then execute:
>>
>>restorecon -v
>> '/var/lib/jenkins'
>>
>>
>>
>>
>>
>>*  Plugin catchall
>> (17.1 confidence) suggests   **
>>
>>
>>
>>If you believe that
>> systemd should be allowed read access on the jenkins lnk_file by default.
>>
>>Then you should report
>> this as a bug.
>>
>>You can generate a
>> local policy module to allow this access.
>>
>>Do
>>
>>allow this access for
>> now by executing:
>>
>># ausearch -c
>> '(jenkins)' --raw | audit2allow -M my-jenkins
>>
>># semodule -X 300 -i
>> my-jenkins.pp
>>
>>
>>
>> Dec 02 10:45:07 nd655bd001 setroubleshoot[144816]: AnalyzeThread.run():
>> Set alarm timeout to 10
>>
>> Dec 02 10:45:18 nd655bd001 systemd[1]: setroubleshootd.service: Succeeded.
>>
>> -- Subject: Unit succeeded
>>
>> -- Defined-By: systemd
>>
>> -- Support: https://access.redhat.com/support
>> 
>>
>> --
>>
>> -- The unit setroubleshootd.service has successfully entered the 'dead'
>> state.
>>
>> lines 5338-5376/5376 (END)
>>
> --
> 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/0c57cbc8-8b60-4f6b-852a-bc892b97af38n%40googlegroups.com
> 

Re: I need to fail jenkins job if any linux command return error message

2022-11-22 Thread Alex Earl
This is the default for Jenkins, if a command exits with a non-zero exit
code, then the job should already fail.

On Tue, Nov 22, 2022 at 5:41 AM Praju  wrote:

> Hi ,
> I need to fail jenkins job if any linux command return error message ,
> could any one help one this
>
> Thank you
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails 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/16344cad-dadf-4c55-a41f-a32acb3b82d9n%40googlegroups.com
> 
> .
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVcnmew6ZDK_MbpBjwD9E6N_Nqxja%2B2h2SuQi-xwV7jMFA%40mail.gmail.com.


Re: Jenkins Won't start after latest ugrade

2022-09-14 Thread Alex Earl
The latest weekly releases dropped support for Java 8, so you will need to
update to Java 11 at a minimum. You may need to look if there is a separate
yum package for Java 11 (e.g., if Java 8 is still the default in your OS,
then yum update java may not update to Java 11, it may just update to the
latest Java 8).

On Wed, Sep 14, 2022 at 8:59 AM eric@gmail.com 
wrote:

> Here's what I did:
>
> yum update jenkins
>
> Here's what's happening trying to get version info after upgrade.  Also
> won't start with systemctl start jenkins.
>
> [root@nd645bd001 ~]# /bin/jenkins -version
> Sep 14, 2022 10:56:24 AM executable.Main verifyJavaVersion
> SEVERE: Running with Java class version 52, which is older than the
> Minimum required version 55. See https://jenkins.io/redirect/java-support/
> java.lang.UnsupportedClassVersionError: 52.0
> at executable.Main.verifyJavaVersion(Main.java:145)
> at executable.Main.main(Main.java:109)
>
> Jenkins requires Java versions [17, 11] but you are running with Java 1.8
> from /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.342.b07-1.el7_9.x86_64/jre
> java.lang.UnsupportedClassVersionError: 52.0
> at executable.Main.verifyJavaVersion(Main.java:145)
> at executable.Main.main(Main.java:109)
>
> Seems I need to upgrade java, but jenkins doesn't control java.  Please
> advise.  Should I just yum update java?
>
> Thanks,
> Eric
>
> --
> 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/63ddfcc2-b01e-4f44-8c6e-9ee40f923905n%40googlegroups.com
> 
> .
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVfxf_OYP566faNU1adY%3DHkDtn1ppcPYTTT6PAJONCEetw%40mail.gmail.com.


Re: copy artificate slave server to master server in jenkins pipeline

2022-08-17 Thread Alex Earl
Please use the updated terminology

master -> controller
slave -> agent

On Wed, Aug 17, 2022 at 8:32 AM Prasant singh 
wrote:

> Hi All,
> can you please help how to cop artifacts on master server without using cp
> orscp command on master Jenkins server?
>
> --
> 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/65f60716-2a2f-4811-8192-a9c00ab9dcd6n%40googlegroups.com
> 
> .
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVeOFajXgrxpNqTgisyp8WL_Z4dCmcUKdbzRPiUgiNc4wQ%40mail.gmail.com.


Re: IAR (EWARM) failure to build on Jenkins

2022-07-19 Thread Alex Earl
Is it a Jenkins agent that you are running this on, or the controller? If
an agent, are you running as a Windows service, or using something like
SSH? If the controller, what user is the controller running as? You need to
figure out what user account the command is being run as. If it is
different from the user you are currently running the command as on
cmd.exe, then you need to try as the user that Jenkins is using to run the
command. There could be some different in environment between the two which
could be causing the problem.

On Tue, Jul 19, 2022 at 8:02 AM Faisal Tariq  wrote:

>
> Hi Slide,
> Good suggestion on checking the environment variable.
>
> I am not sure how to do what you stated above:"Anothing thing to try
> would be (if you are not already) run the command as the same user the
> Jenkins agent (or controller) is running as and see if you see the same
> behavior".  Could you kindly elaborate .
>
> Thanks
>
> Faisal
> 
> 
>
> On Monday, July 18, 2022 at 9:34:51 PM UTC-5 slide wrote:
>
>> In the command window (cmd.exe) that you are running the command from,
>> can you run the "set" command to get a list of env variables and do the
>> same thing as part of your Jenkins run and see if there are any environment
>> variables are missing from the Jenkins run? Generally, Jenkins will not
>> have all of the environment variables that you might have in your user
>> account. Anothing thing to try would be (if you are not already) run the
>> command as the same user the Jenkins agent (or controller) is running as
>> and see if you see the same behavior.
>>
>> On Mon, Jul 18, 2022 at 4:37 PM Faisal Tariq  wrote:
>>
>>> Hi Slide,
>>>
>>> Yes, the command line that I am using matches "exactly" in both the cmd
>>> and Jenkins (I am sure of that).  What is being called "argument" is
>>> present in the project (*.ewp) file which the IAR build environment knows
>>> what to replace it with i.e. C:\...\.  However when run
>>> through Jenkins, it fails to recognize this and does not know what to
>>> replace it with and displays the error?
>>>
>>> Thanks
>>> Faisal
>>>
>>> On Monday, July 18, 2022 at 5:55:49 PM UTC-5 slide wrote:
>>>
 Does the command line you are using in Jenkins match exactly to what
 you are running in Jenkins? Are you using a Jenkinsfile? The argument looks
 more like a bash variable specification than one that would run in cmd.exe.

 On Mon, Jul 18, 2022 at 3:42 PM Faisal Tariq  wrote:

> Hello,
>
> I would like to know who all are using IAR EWARM to build on Jenkins
> without any issues?  Please read on to see my issue.
>
> I am running an IAR IDE build script to build an example file. When I
> run it locally through a Windows “cmd” screen, it evokes IAR IDE and does 
> a
> build successfully. However, when I run the same script through Jenkins I
> get an error message, as follows:
>
> The unknown argument variable
> “${CMSIS_PACK_PATH_Maxim#MAX32670#1.0.3}$” was encountered while loading
> the project “C:\IAR_Examples\MAX32670_Example_TEST\DMA\IAR\DMA.ewp”.
>
> The above path is where the pack gets installed. Has anyone
> encountered anything similar where the script runs fine in Windows “cmd”
> screen, but fails when evoked through Jenkins?
>
> Also, this may not be related, but the complete error message was as
> follows with the SLF4J: in both cases (i.e. in Windows Cmd screen and
> Jenkins). However the one that I ran through cmd did not complain about 
> the
> $(CMSIS_PACK_PATH… and built successfully.
>
> SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See SLF4J Error Codes
>  for further
> details.
> The unknown argument variable
> “${CMSIS_PACK_PATH_Maxim#MAX32670#1.0.3}$” was encountered while loading
> the project “C:\IAR_Examples\MAX32670_Example_TEST\DMA\IAR\DMA.ewp”.
>
> Thank you all in advance. Please let me know if you need any
> additional information.
>
> --
> 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/0f65d2f1-aea9-40dc-9a2f-8c92d6e8a9a6n%40googlegroups.com
> 
> .
>


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

Re: IAR (EWARM) failure to build on Jenkins

2022-07-18 Thread Alex Earl
In the command window (cmd.exe) that you are running the command from, can
you run the "set" command to get a list of env variables and do the same
thing as part of your Jenkins run and see if there are any environment
variables are missing from the Jenkins run? Generally, Jenkins will not
have all of the environment variables that you might have in your user
account. Anothing thing to try would be (if you are not already) run the
command as the same user the Jenkins agent (or controller) is running as
and see if you see the same behavior.

On Mon, Jul 18, 2022 at 4:37 PM Faisal Tariq  wrote:

> Hi Slide,
>
> Yes, the command line that I am using matches "exactly" in both the cmd
> and Jenkins (I am sure of that).  What is being called "argument" is
> present in the project (*.ewp) file which the IAR build environment knows
> what to replace it with i.e. C:\...\.  However when run
> through Jenkins, it fails to recognize this and does not know what to
> replace it with and displays the error?
>
> Thanks
> Faisal
>
> On Monday, July 18, 2022 at 5:55:49 PM UTC-5 slide wrote:
>
>> Does the command line you are using in Jenkins match exactly to what you
>> are running in Jenkins? Are you using a Jenkinsfile? The argument looks
>> more like a bash variable specification than one that would run in cmd.exe.
>>
>> On Mon, Jul 18, 2022 at 3:42 PM Faisal Tariq  wrote:
>>
>>> Hello,
>>>
>>> I would like to know who all are using IAR EWARM to build on Jenkins
>>> without any issues?  Please read on to see my issue.
>>>
>>> I am running an IAR IDE build script to build an example file. When I
>>> run it locally through a Windows “cmd” screen, it evokes IAR IDE and does a
>>> build successfully. However, when I run the same script through Jenkins I
>>> get an error message, as follows:
>>>
>>> The unknown argument variable “${CMSIS_PACK_PATH_Maxim#MAX32670#1.0.3}$”
>>> was encountered while loading the project
>>> “C:\IAR_Examples\MAX32670_Example_TEST\DMA\IAR\DMA.ewp”.
>>>
>>> The above path is where the pack gets installed. Has anyone encountered
>>> anything similar where the script runs fine in Windows “cmd” screen, but
>>> fails when evoked through Jenkins?
>>>
>>> Also, this may not be related, but the complete error message was as
>>> follows with the SLF4J: in both cases (i.e. in Windows Cmd screen and
>>> Jenkins). However the one that I ran through cmd did not complain about the
>>> $(CMSIS_PACK_PATH… and built successfully.
>>>
>>> SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.
>>> SLF4J: Defaulting to no-operation (NOP) logger implementation
>>> SLF4J: See SLF4J Error Codes
>>>  for further
>>> details.
>>> The unknown argument variable “${CMSIS_PACK_PATH_Maxim#MAX32670#1.0.3}$”
>>> was encountered while loading the project
>>> “C:\IAR_Examples\MAX32670_Example_TEST\DMA\IAR\DMA.ewp”.
>>>
>>> Thank you all in advance. Please let me know if you need any additional
>>> information.
>>>
>>> --
>>> 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/0f65d2f1-aea9-40dc-9a2f-8c92d6e8a9a6n%40googlegroups.com
>>> 
>>> .
>>>
>>
>>
>> --
>> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/65dafad4-e8b2-4ac6-9367-3398be3679b2n%40googlegroups.com
> 
> .
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVeG2K1eVU93ZAYnqzXu1NbRqFGkPQxBL%2BZVDaDkHAv_vQ%40mail.gmail.com.


Re: IAR (EWARM) failure to build on Jenkins

2022-07-18 Thread Alex Earl
Does the command line you are using in Jenkins match exactly to what you
are running in Jenkins? Are you using a Jenkinsfile? The argument looks
more like a bash variable specification than one that would run in cmd.exe.

On Mon, Jul 18, 2022 at 3:42 PM Faisal Tariq  wrote:

> Hello,
>
> I would like to know who all are using IAR EWARM to build on Jenkins
> without any issues?  Please read on to see my issue.
>
> I am running an IAR IDE build script to build an example file. When I run
> it locally through a Windows “cmd” screen, it evokes IAR IDE and does a
> build successfully. However, when I run the same script through Jenkins I
> get an error message, as follows:
>
> The unknown argument variable “${CMSIS_PACK_PATH_Maxim#MAX32670#1.0.3}$”
> was encountered while loading the project
> “C:\IAR_Examples\MAX32670_Example_TEST\DMA\IAR\DMA.ewp”.
>
> The above path is where the pack gets installed. Has anyone encountered
> anything similar where the script runs fine in Windows “cmd” screen, but
> fails when evoked through Jenkins?
>
> Also, this may not be related, but the complete error message was as
> follows with the SLF4J: in both cases (i.e. in Windows Cmd screen and
> Jenkins). However the one that I ran through cmd did not complain about the
> $(CMSIS_PACK_PATH… and built successfully.
>
> SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See SLF4J Error Codes
>  for further details.
> The unknown argument variable “${CMSIS_PACK_PATH_Maxim#MAX32670#1.0.3}$”
> was encountered while loading the project
> “C:\IAR_Examples\MAX32670_Example_TEST\DMA\IAR\DMA.ewp”.
>
> Thank you all in advance. Please let me know if you need any additional
> information.
>
> --
> 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/0f65d2f1-aea9-40dc-9a2f-8c92d6e8a9a6n%40googlegroups.com
> 
> .
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVdWKaELY-%2BakhKByezduBGHb8P0toMLiJEjCapGgiKYKQ%40mail.gmail.com.


Re: Multiple Instances on one server with Java 11

2022-07-11 Thread Alex Earl
Is there any crash log in either the apache or jenkins logs? I would look
for exception dumps in the logs, it might help narrow down where the issue
is occurring.

On Mon, Jul 11, 2022 at 5:35 AM Matt Wilson  wrote:

> For a few years I've been running multiple (independent) Jenkins instances
> on one server.  Each server runs under its own apache instance.
> SiteA
> SiteB
> SiteC
> This has worked perfectly fine for a few years with no problems.
> Last week I upgraded all three servers to 2.346.1.  two of the three
> servers had been updated regularly so this wasn't a huge jump, that third
> server has a year and a bit behind so it was a bigger jump (siteB).
> All three sites upgraded fine.
> All three sites got upgraded to Java 11.  That went fine.
> All three sites run independently with no problems.
> When I start all three sites, I have one site that crashes.  The crash
> seems to be triggered in particular when you access the management page on
> one particular server.
> so like this
> Site A is fine no matter what
> Site B crashes when site C accesses its manage Jenkins page
>
> I've double checked my settings, I can't find any port conflicts or
> Jenkins home conflicts.
> I've tried running all three sites on separate Java installs.  Still
> crashes
> The only thing that seems to stop the crash so far is if I run site C back
> on Java 8.
>
> Any thoughts on what I could be missing here config wise?
>
> --
> 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/de1049d2-cbe0-462e-9bce-1f9656ba6018n%40googlegroups.com
> 
> .
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVd85uFBeRqUSSdsG1TzhQunMBAD%2BG5BvoMYv_uvnqwARA%40mail.gmail.com.


Re: Teamcity to jenkins migration

2022-06-15 Thread Alex Earl
I don't know of any automated process, what format are TeamCity builds in?
Is it yaml or something similar? How complex are your builds?

On Wed, Jun 15, 2022, 06:52 sivakumar vaddi 
wrote:

> I am looking help for the same task so wanted to check the process if any
>
> On Wednesday, June 8, 2022 at 4:39:43 PM UTC+5:30 adharsh...@gmail.com
> wrote:
>
>> Hi,
>> We are still migrating the teamcity builds manually, is there any
>> automation to migrate to jenkins?
>>
>> On Wed, 8 Jun 2022, 3:29 pm sivakumar vaddi, 
>> wrote:
>>
>>> HI Adharsh,
>>>
>>> Are you able to migrate?
>>>
>>> On Monday, December 6, 2021 at 3:39:58 PM UTC+5:30 adharsh...@gmail.com
>>> wrote:
>>>


 On Wed, 24 Nov 2021, 4:05 pm Adharsha sri, 
 wrote:

> Hi Team,
>
> We want to migrate the teamcity builds to jenkins. As of now, we are
> configuring the jobs manually in jenkins. Is there any process/utility to
> migrate or replicate the builds from teamcity to jenkins directly.
>
> Thanks,
> Adharsha.
>
 --
>>> 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/c147d888-cee9-4992-a7d3-1c43db6b9ceen%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/1131cde0-5cbf-4b56-bfdd-49fbf3f1b32an%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/CAPiUgVc%3DyOYQ%2BP5kYwqiAkkeaLGtY%3DEL5XVsoo7%3Dqc9j55LoEQ%40mail.gmail.com.


WMI Windows Agents plugin

2022-05-06 Thread Alex Earl
Hi Everyone,

The WMI Windows Agents plugin uses a library called j-interop. This library
was last released in 2010. Microsoft has made some changes to the DCOM
protocol since this time. One particular change is highlighted in
https://issues.jenkins.io/browse/JENKINS-67604, currently you can override
this behavior in the registry, but in March of 2023, that will no longer be
possible. This means that the WMI Windows Agent plugin may become unusable,
unless someone who knows enough about DCOM internals can update j-interop
with support for the new features (j-interop supports DCOM 5.4, the current
version is 5.7 and has several additions/changes). With Windows Server 2019
and Windows 10, SSH is a viable option for Windows agents.

I would like to recommend deprecating the WMI Windows Agents plugin by
March 2023. I think this gives enough time for people to migrate to either
SSH or the Windows Cloud plugin (which uses a more modern remote management
interface, WinRM). Basically this would mean the option to "Let Jenkins
control this Windows agent as a Windows service" would no longer be
available.

Any thoughts on this?

Regards,

Alex

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVd7o-EU5WLSo1P_3iR%2B8pbgam6Z0PC_%3Domqg4G42faywQ%40mail.gmail.com.


Re: After upgrade, Jenkins CLI "console" command hangs

2022-05-03 Thread Alex Earl
I am not the developer of the sshd plugin, but I would definitely file a
bug.

On Tue, May 3, 2022 at 1:27 PM G Dameron  wrote:

> Upon further investigation, the culprit turns out to be the sshd plugin
> , which we upgraded to v3.1.0 at the
> same time as the core. Downgrading sshd to to 3.0.3 (the detached version
> in the 2.332.1 war) restores the correct behavior (no hangs). All sshd
> versions 3.0.4 through 3.228.v4c9f9e652c86 (latest available at this time)
> exhibit the hang problem. Interestingly, sshd 3.0.4 brought with it an upgrade
> to SSHD itself  (from 1.x
> to 2.x).
>
> It's an unfortunate loss of functionality, since we cannot remain on sshd
> 3.0.3. Jenkins developers -- is a Jira ticket warranted for this?
> On Wednesday, April 27, 2022 at 5:01:47 PM UTC-6 G Dameron wrote:
>
>> We just upgraded from 2.249.2 to 2.332.1. The CLI commands we use
>> routinely in our freestyle jobs are working as before, with one exception:
>> console. The command correctly outputs the console log of the specified
>> job, but then never finishes, it just hangs.
>>
>> Can anyone confirm that "console" behaves as it should under 2.332.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/01d9be6f-7833-4613-bc39-6c115b739da1n%40googlegroups.com
> 
> .
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVedXPtF%3DEjjJ-uTH5t9Neuyviv%3DkmGr4gB5h0h0cjusaw%40mail.gmail.com.


RE: Jenkins in windows

2013-05-22 Thread Alex Earl
Lance,

We run Jenkins on windows with no issues. Can you describe the issues you
are having in more detail?

Thanks,

Alex

Sent from my Windows Phone
--
From: lance.e.mead@mail.mil
Sent: 5/22/2013 9:57
To: jenkinsci-users@googlegroups.com
Subject: Jenkins in windows

I am a new user trying to get Jenkins working in a Windows 7 OS.  There
seems to be no support nor any help available for such a task.  Does anyone
know a) where to get answers to questions or b) a CI like Jenkins that has
a API that runs in Windows?

Lance

-- 
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: Email notification recipients are not saved

2013-05-21 Thread Alex Earl
I don't know what Build Settings is, what type of job are you using? Free
style? Maven? Something else? Also, can you remind me what version of
Jenkins you are using?

Sent from my Windows Phone
--
From: Antti Ollilainen
Sent: 5/20/2013 22:39
To: jenkinsci-users@googlegroups.com
Subject: Re: Email notification recipients are not saved

Thanks, that works for email-ext. But there's another problem with that:
when I enter job configuration and save the project again the
recipientList element in the email-ext block in config.xml is emptied.

However, I might have found a workaround: when I set BOTH Build Settings
and a Post-build action Email notification with the same variable the
config.xml recipients element value stays even when I edit and save the
project again. Now the first one tries to send email to $VARIABLE but the
second one gets the expansion right.

The element in config.xml is the same for both: recipients. Is it
possible that there's a bug in Jenkins where one configuration element
value overwrites the other?

On Monday, May 20, 2013 5:17:11 PM UTC+3, slide wrote:

 For email-ext, you would use ${ENV, var=YOUR_VAR}

 Sent from my Windows Phone
 --
 From: Antti Ollilainen
 Sent: 5/20/2013 6:53
 To: jenkins...@googlegroups.com javascript:
 Subject: Email notification recipients are not saved

 Hi list,

 I'm having a problem with Jenkins not saving the notification email
 recipients for a job.

 My setup: Jenkins 1.515 on Windows Server 2008, running standalone,
 started as a service. The job type is a Maven 2/3 project. I am using
 environment variables defined in Configure System -- Global Properties as
 my email notification recipients. The browser I use is the latest Chrome
 but the problem was same with IE10.

 There are two possibilities for specifying the repicipients in the job
 configuration: a checkbox in Build Settings and adding a Post-build
 action Email notification.

 The Build Settings creates a reporters block in the job config.xml:
 
   reporters
 hudson.maven.reporters.MavenMailer
   recipients$PROJECT1_MEMBERS/recipients
   dontNotifyEveryUnstableBuildfalse/dontNotifyEveryUnstableBuild
   sendToIndividualsfalse/sendToIndividuals
   perModuleEmailtrue/perModuleEmail
 /hudson.maven.reporters.MavenMailer
   /reporters
 

 The recipients value IS saved correctly when using the Build Settings
 checkbox but environment variables are not expanded. Console log shows:
 
 Sending e-mails to: $PROJECT1_MEMBERS
 Finished: FAILURE
 

 When an email is configured by adding a Post-build action a publishers
 block is created in the config.xml:
 
   publishers
 hudson.tasks.Mailer plugin=mailer@1.4
   recipients/recipients
   dontNotifyEveryUnstableBuildfalse/dontNotifyEveryUnstableBuild
   sendToIndividualsfalse/sendToIndividuals
 /hudson.tasks.Mailer
   /publishers
 

 As you can see the recipients element is empty. Of course when running a
 job no emails are sent...

 The email-ext plugin is even worse: the first time I add an Editable
 Email Notification as a post-build action it does save the recipient in
 its recipientList element but the second time I edit the project the
 recipients are lost... There was a bug for something similar in JIRA (
 https://issues.jenkins-ci.org/browse/JENKINS-15442) but it's marked as
 cannot reproduce and closed.

 Is there any way I can use an environment variable as the notification
 email recipient list in Jenkins? This is currently working in our old
 Hudson but I'm trying to migrate to Jenkins.

 Best regards,
 Antti

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



 --
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: Email notification recipients are not saved

2013-05-21 Thread Alex Earl
Can you upload you global and job config XML files somewhere?

Sent from my Windows Phone
--
From: Antti Ollilainen
Sent: 5/20/2013 23:11
To: jenkinsci-users@googlegroups.com
Cc: Antti Ollilainen
Subject: Re: Email notification recipients are not saved

It's Jenkins 1.515 on Windows Server 2008, running standalone, started as a
service. The job type is a Maven 2/3 project. I am using environment
variables defined in Configure System -- Global Properties as the email
notification recipients. I've tried this with the latest Chrome and IE10.

On Tuesday, May 21, 2013 9:03:58 AM UTC+3, slide wrote:

 I don't know what Build Settings is, what type of job are you using?
 Free style? Maven? Something else? Also, can you remind me what version of
 Jenkins you are using?

 Sent from my Windows Phone
 --
 From: Antti Ollilainen
 Sent: 5/20/2013 22:39
 To: jenkins...@googlegroups.com javascript:
 Subject: Re: Email notification recipients are not saved

 Thanks, that works for email-ext. But there's another problem with that:
 when I enter job configuration and save the project again the
 recipientList element in the email-ext block in config.xml is emptied.

 However, I might have found a workaround: when I set BOTH Build Settings
 and a Post-build action Email notification with the same variable the
 config.xml recipients element value stays even when I edit and save the
 project again. Now the first one tries to send email to $VARIABLE but the
 second one gets the expansion right.

 The element in config.xml is the same for both: recipients. Is it
 possible that there's a bug in Jenkins where one configuration element
 value overwrites the other?

 On Monday, May 20, 2013 5:17:11 PM UTC+3, slide wrote:

 For email-ext, you would use ${ENV, var=YOUR_VAR}

 Sent from my Windows Phone
 --
 From: Antti Ollilainen
 Sent: 5/20/2013 6:53
 To: jenkins...@googlegroups.com
 Subject: Email notification recipients are not saved

 Hi list,

 I'm having a problem with Jenkins not saving the notification email
 recipients for a job.

 My setup: Jenkins 1.515 on Windows Server 2008, running standalone,
 started as a service. The job type is a Maven 2/3 project. I am using
 environment variables defined in Configure System -- Global Properties as
 my email notification recipients. The browser I use is the latest Chrome
 but the problem was same with IE10.

 There are two possibilities for specifying the repicipients in the job
 configuration: a checkbox in Build Settings and adding a Post-build
 action Email notification.

 The Build Settings creates a reporters block in the job config.xml:
 
   reporters
 hudson.maven.reporters.MavenMailer
   recipients$PROJECT1_MEMBERS/recipients
   dontNotifyEveryUnstableBuildfalse/dontNotifyEveryUnstableBuild
   sendToIndividualsfalse/sendToIndividuals
   perModuleEmailtrue/perModuleEmail
 /hudson.maven.reporters.MavenMailer
   /reporters
 

 The recipients value IS saved correctly when using the Build Settings
 checkbox but environment variables are not expanded. Console log shows:
 
 Sending e-mails to: $PROJECT1_MEMBERS
 Finished: FAILURE
 

 When an email is configured by adding a Post-build action a publishers
 block is created in the config.xml:
 
   publishers
 hudson.tasks.Mailer plugin=mailer@1.4
   recipients/recipients
   dontNotifyEveryUnstableBuildfalse/dontNotifyEveryUnstableBuild
   sendToIndividualsfalse/sendToIndividuals
 /hudson.tasks.Mailer
   /publishers
 

 As you can see the recipients element is empty. Of course when running
 a job no emails are sent...

 The email-ext plugin is even worse: the first time I add an Editable
 Email Notification as a post-build action it does save the recipient in
 its recipientList element but the second time I edit the project the
 recipients are lost... There was a bug for something similar in JIRA (
 https://issues.jenkins-ci.org/browse/JENKINS-15442) but it's marked as
 cannot reproduce and closed.

 Is there any way I can use an environment variable as the notification
 email recipient list in Jenkins? This is currently working in our old
 Hudson but I'm trying to migrate to Jenkins.

 Best regards,
 Antti

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



 --
You received this message because you are subscribed to the Google Groups
Jenkins 

RE: Email test results if it passed

2013-05-17 Thread Alex Earl
Check the email-ext plugin it adds a ton if options for sending emails.

Sent from my Windows Phone
--
From: hDadgari
Sent: 5/17/2013 14:16
To: jenkinsci-users@googlegroups.com
Subject: Email test results if it passed

Hi,

 Is there way to setup jenkins to send test results if it passed or failed

Thanks in advance

hdadgari


-- 
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: Resend: Publish Over CIFS Plugin fails when used over internet

2013-05-16 Thread Alex Earl
I'm not sure there is a maintainer, I don't work on it anymore...

Sent from my Windows Phone
--
From: Richard J
Sent: 5/16/2013 6:36
To: jenkinsci-users@googlegroups.com
Subject: Re: Resend: Publish Over CIFS Plugin fails when used over internet

Well, humor aside..

I felt certain that using the plugin option Always transfer from master
implied that Jenkins would use its own transport protocol between the slave
and the master (the WAN) and use the misnamed CIFS protocol between the
master and the file share (LAN).

I was hoping to get a response from the maintainer of either the Publish
over plugin or the publish over cifs plugin.



On Wednesday, May 15, 2013 5:19:12 AM UTC-7, Magnus Therning wrote:

 On Wed, May 15, 2013 at 2:53 AM, Mark Waite mark...@yahoo.comjavascript:
 wrote:
  I have seen poor results with CIFS over wide area network (in general,
  outside Jenkins).  My excuse was that CIFS is a file system sharing
  protocol, which makes it less suitable for a wide area network
 transport.
  You might consider using a different transport (http, ftp, or scp).

 To (almost certainly mis-)quote Jeremy Allison from his Google TechTalk:

 It's called CIFS; Common Internet File System.  It has nothing to do
 with the internet. It is not a file system, and it is certainly not
 common.

 Considering another transport is very good advice.

 /M

 --
 Magnus Therning  OpenPGP: 0xAB4DFBA4
 email: mag...@therning.org javascript:   jabber: 
 mag...@therning.orgjavascript:
 twitter: magthe   http://therning.org/magnus

 --
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: Jenkins Plugins: Recommended UI Technology?

2013-05-14 Thread Alex Earl
I'd highly recommend using Groovy instead of Jelly. It is way easier to
work with and debug.

Sent from my Windows Phone
--
From: Jochen Ehret
Sent: 5/14/2013 1:55
To: jenkinsci-users@googlegroups.com
Subject: Jenkins Plugins: Recommended UI Technology?

Hi all,

we are just evaluating which UI technology to use for our Jenkins Plugin.
We have already some experience with Jelly but we are wondering if this is
still the recommended technology (regarding documentation, maintainability
etc.). What about Ruby or Groovy as alternatives? Are there any
recommendations?

Any advice is welcome!

Best Regards,

  Jochen.

-- 
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: jenkins e-mail ext DEFAULT_CONTENT does not expand

2013-04-24 Thread Alex Earl
 pre-build/post build added token
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary==_Part_89_9798859.1366811681215

--=_Part_89_9798859.1366811681215
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

They are expanded the same way, so I need more information (like your
global and project config XML) to try and determine the issue.

Sent from my Windows Phone
From: windycity
Sent: 4/24/2013 6:54
To: jenkinsci-users@googlegroups.com
Subject: jenkins e-mail ext DEFAULT_CONTENT does not expand
pre-build/post build added token
I use jenkin's configuration pre-build and post build Execute Groovy
System Script- command to get a token $MAVE_PREBUIL_VERSION and
$MAVEN_POSTBUILD_MAVEN, and put this at e-mail ext plugin configuration. In
both global and project session, DEFAULT_SUBJECT can extent these Tokens,
but DEFAULT_CONTENT can not, is this a known issue or I am not using it
right?

$DEFAULT_SUBJECT, ${MAVEN_PREBUILD_VERSION}, ${MAVEN_POSTBUILD_VERSION}
Above expand the token, but following does not


$DEFAULT_CONTENT, ${MAVEN_PREBUILD_VERSION}

Thanks in advance,

jessica

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



--=_Part_89_9798859.1366811681215
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

htmlheadmeta content=3Dtext/html; charset=3Dutf-8 http-equiv=3DCont=
ent-Type/headbodydivdiv style=3Dfont-family: Calibri,sans-serif; =
font-size: 11pt;They are expanded the same way, so I need more informatio=
n (like your global and project config XML) to try and determine the issue.=
brbrSent from my Windows Phonebr/div/divhrspan style=3Dfont-f=
amily: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;From: /span=
span style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;windycity=
/spanbrspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt; =
font-weight: bold;Sent: /spanspan style=3Dfont-family: Tahoma,sans-se=
rif; font-size: 10pt;4/24/2013 6:54/spanbrspan style=3Dfont-family:=
 Tahoma,sans-serif; font-size: 10pt; font-weight: bold;To: /spanspan s=
tyle=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;jenkinsci-users@g=
ooglegroups.com/spanbrspan style=3Dfont-family: Tahoma,sans-serif; fo=
nt-size: 10pt; font-weight: bold;Subject: /spanspan style=3Dfont-fami=
ly: Tahoma,sans-serif; font-size: 10pt;jenkins e-mail ext DEFAULT_CONTENT=
 does not expand pre-build/post build added token/spanbrbr/body/ht=
mlI use jenkin's configuration pre-build and post build Execute Groovy Sy=
stem Script-gt; command to get a token $MAVE_PREBUIL_VERSION and $MAVEN_P=
OSTBUILD_MAVEN, and put this at e-mail ext plugin configuration. In both gl=
obal and project session, DEFAULT_SUBJECT can extent these Tokens, but DEFA=
ULT_CONTENT can not, is this a known issue or I am not using it right?br=
br$DEFAULT_SUBJECT, ${MAVEN_PREBUILD_VERSION}, ${MAVEN_POSTBUILD_VERSION} =
Above expand the token, but following does notbrbrbr$DEFAULT_CONTENT,=
 ${MAVEN_PREBUILD_VERSION}brbrThanks in advance,brbrjessicabrbr

p/p

-- br /
You received this message because you are subscribed to the Google Groups =
quot;Jenkins Usersquot; group.br /
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to jenkinsci-users+unsubscr...@googlegroups.com.br /
For more options, visit a href=3Dhttps://groups.google.com/groups/opt_out=
https://groups.google.com/groups/opt_out/a.br /
nbsp;br /
nbsp;br /

--=_Part_89_9798859.1366811681215--

-- 
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: email notifications have issues for Jenkins master in Amazon

2013-04-22 Thread Alex Earl
 EC2 instance
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary=047d7b5d58869e96a304dafcd596

--047d7b5d58869e96a304dafcd596
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

Wouldn't the version of Jenkins use the version if mailer bundled?

Sent from my Windows Phone
From: Irfan Sayed
Sent: 4/22/2013 18:09
To: jenkinsci-users@googlegroups.com
Subject: Re: email notifications have issues for Jenkins master in
Amazon EC2 instance
Mailer version and jenkins version should be compatible with each other

Regards

On Tuesday, April 23, 2013, Slide slide.o@gmail.com wrote:
 I think you need to upgrade your Jenkins version. The Mailer plugin was
not introduced until 1.494 or so, your version is MUCH older than that.
There could be some version issues.

 On Mon, Apr 22, 2013 at 4:28 PM, rakhee Kulkarni rakhee...@gmail.com
wrote:

 Irfan,
 I have the smtp server set. I can send emails, however I see some message
after and the build fails.
 Thanks,
 Rakhee

 On Sunday, April 21, 2013 8:44:51 PM UTC-7, Irfan Sayed wrote:

 did u add smtp mail server address in global configuration ?
 regards


 On Sun, Apr 21, 2013 at 10:22 AM, rakhee Kulkarni rakh...@gmail.com
wrote:

 Hi,
 I have a Jenkins master spun up in Amazon EC2. The email notifications
are sending emails but the build job fails with following message:

 Sending e-mails to: email address
 FATAL: hudson.tasks.Mailer$UserProperty.hasExplicitlyConfiguredAddress()Z
 java.lang.NoSuchMethodError:
hudson.tasks.Mailer$UserProperty.hasExplicitlyConfiguredAddress()Z
 at
hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:288)
 at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:276)
 at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:318)
 at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:311)
 at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:307)
 at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:624)
 at hudson.model.Run.run(Run.java:1400)
 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
 at hudson.model.ResourceController.execute(ResourceController.java:88)
 at hudson.model.Executor.run(Executor.java:175)

 The /var/log/mail.log does not show any error message. I receive a email
notification that build is back to normal. Any suggestions?

 Thanks,

 Rakhee

 --
 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.
 For more options, visit

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



--047d7b5d58869e96a304dafcd596
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

htmlheadmeta content=3Dtext/html; charset=3Dutf-8 http-equiv=3DCont=
ent-Type/headbodydivdiv style=3Dfont-family: Calibri,sans-serif; =
font-size: 11pt;Wouldn't the version of Jenkins use the version if mailer=
 bundled?brbrSent from my Windows Phonebr/div/divhrspan style=
=3Dfont-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;Fr=
om: /spanspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;=
Irfan Sayed/spanbrspan style=3Dfont-family: Tahoma,sans-serif; font-=
size: 10pt; font-weight: bold;Sent: /spanspan style=3Dfont-family: Ta=
homa,sans-serif; font-size: 10pt;4/22/2013 18:09/spanbrspan style=3D=
font-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;To: =
/spanspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;jenk=
insci-us...@googlegroups.com/spanbrspan style=3Dfont-family: Tahoma,s=
ans-serif; font-size: 10pt; font-weight: bold;Subject: /spanspan style=
=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;Re: email notificatio=
ns have issues for Jenkins master in Amazon EC2 instance/spanbrbr/bo=
dy/htmlMailer version and jenkins version should be compatible with each=
 otherbrbrRegardsbrbrOn Tuesday, April 23, 2013, Slide lt;a href=
=3Dmailto:slide.o@gmail.com;slide.o@gmail.com/agt; wrote:br=
gt; I think you need to upgrade your Jenkins version. The Mailer plugin was=
 not introduced until 1.494 or so, your version is MUCH older than that. Th=
ere could be some version issues.br
gt;brgt; On Mon, Apr 22, 2013 at 4:28 PM, rakhee Kulkarni lt;a href=
=3Dmailto:rakhee...@gmail.com;rakhee...@gmail.com/agt; wrote:brgt;=
brgt; Irfan,brgt; I 

RE: email notifications have issues for Jenkins master in Amazon

2013-04-20 Thread Alex Earl
 EC2 instance
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary==_Part_149_27066421.1366519937291

--=_Part_149_27066421.1366519937291
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

Do you have the mailer plugin installed? What version of Jenkins, etc?

Sent from my Windows Phone
From: rakhee Kulkarni
Sent: 4/20/2013 21:52
To: jenkinsci-users@googlegroups.com
Subject: email notifications have issues for Jenkins master in Amazon
EC2 instance
Hi,

I have a Jenkins master spun up in Amazon EC2. The email notifications are
sending emails but the build job fails with following message:

Sending e-mails to: email address
FATAL: 
hudson.tasks.Mailer$UserProperty.hasExplicitlyConfiguredAddress()Zjava.lang.NoSuchMethodError
http://stacktrace.jenkins-ci.org/search?query=java.lang.NoSuchMethodError:
hudson.tasks.Mailer$UserProperty.hasExplicitlyConfiguredAddress()Z
at 
hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:288)
http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitChangeSet.isMailerPropertySetentity=method
at 
hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:276)
http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitChangeSet.findOrCreateUserentity=method
at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:318)
http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitChangeSet.getAuthorentity=method
at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:311)
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild.getCulpritsentity=method
at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:307)
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild.getCulpritsentity=method
at 
hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:624)
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractRunner.postentity=method
at hudson.model.Run.run(Run.java:1400)
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.runentity=method
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.FreeStyleBuild.runentity=method
at hudson.model.ResourceController.execute(ResourceController.java:88)
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.executeentity=method
at hudson.model.Executor.run(Executor.java:175)
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.runentity=method


The /var/log/mail.log does not show any error message. I receive a
email notification that build is back to normal. Any suggestions?


Thanks,

Rakhee

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



--=_Part_149_27066421.1366519937291
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

htmlheadmeta content=3Dtext/html; charset=3Dutf-8 http-equiv=3DCont=
ent-Type/headbodydivdiv style=3Dfont-family: Calibri,sans-serif; =
font-size: 11pt;Do you have the mailer plugin installed? What version of =
Jenkins, etc?brbrSent from my Windows Phonebr/div/divhrspan st=
yle=3Dfont-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;=
From: /spanspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10p=
t;rakhee Kulkarni/spanbrspan style=3Dfont-family: Tahoma,sans-serif=
; font-size: 10pt; font-weight: bold;Sent: /spanspan style=3Dfont-fam=
ily: Tahoma,sans-serif; font-size: 10pt;4/20/2013 21:52/spanbrspan s=
tyle=3Dfont-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;=
To: /spanspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt=
;jenkinsci-users@googlegroups.com/spanbrspan style=3Dfont-family: T=
ahoma,sans-serif; font-size: 10pt; font-weight: bold;Subject: /spanspa=
n style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;email notifica=
tions have issues for Jenkins master in Amazon EC2 instance/spanbrbr=
/body/htmlHi,divbr/divdivI have a Jenkins master spun up in Amaz=
on EC2. The email notifications are sending emails but the build job fails =
with following message:/divdivbr/divdivpre style=3Dwhite-space:=
 pre-wrap; word-wrap: break-word; color: rgb(0, 0, 0); font-size: 11px;Se=
nding e-mails to: lt;email addressgt;
FATAL: hudson.tasks.Mailer$UserProperty.hasExplicitlyConfiguredAddress()Z
a class=3Dlowkey href=3Dhttp://stacktrace.jenkins-ci.org/search?query=
=3Djava.lang.NoSuchMethodError style=3Dcolor: inherit;java.lang.NoSuchM=
ethodError/a: hudson.tasks.Mailer$UserProperty.hasExplicitlyConfiguredAdd=
ress()Z
=09at a class=3Dlowkey href=3Dhttp://stacktrace.jenkins-ci.org/search/?=

RE: How to Install ClearCase plugins without Internet connection

2013-04-17 Thread Alex Earl
Download the hpi/jpi files and you can upload them via Jenkins' web
interface.

Sent from my Windows Phone
--
From: Anna
Sent: 4/17/2013 10:44
To: jenkinsci-users@googlegroups.com
Subject: How to Install ClearCase plugins without Internet connection

I am trying to install a ClearCase plugin on a system that does not have an
Internet connect and one will not be possible. Therefore, I need to figure
out how to install it manually. I have downloaded the plugin zip files from
http://updates.jenkins-ci.org/download/plugins/ and have unzipped 2 of the
5 ClearCase plugins. I am looking at instructions from
https://wiki.jenkins-ci.org/display/JENKINS/Plugins on how to do a manual
install. It all seems fairly simple except I cannot find the *.hpi files
anywhere. They don't seem to be included in the zip files I downloaded. I
can't find them anywhere online. Have the install instructions changed?
Does anyone know where to find these hpi files I need? Thanks so much.

Anna

-- 
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: Problem with sending email

2013-04-16 Thread Alex Earl
Did you try enabling the javamail debug like I suggested?

Sent from my Windows Phone
--
From: Vladimir Zak
Sent: 4/16/2013 10:00
To: jenkinsci-users@googlegroups.com
Subject: Re: Problem with sending email

Hello,

I tried to run new jenkins from the war and try to send email.
The problem is still there - so it seems to me that the problem is not in
Jenkins itself.

Do you have any hint where the problem could be?

I think
* firewall for jenkins not for the port because telnet is available
* permission problem
* refused connection from the smtp server - is it possible to anyhow check
it?

Thank you

zakyn



2013/4/16 Vladimir Zak zakvladi...@gmail.com

 Hello,

 I have tried all things but still it is not working. You can see the log
 files.

 Do you have any other hint for me, please?

 Using telnet - so SMTP server is working
 220 mai ESMTP Service (Lotus Domino Release 8.5.3FP3) ready at Tue, 16 Apr
 2013 18:40:04 +0200

 Thank you

 zakyn

 -- after start of Jenkins there is this problem ---
 Apr 16, 2013 6:18:55 PM hudson.plugins.greenballs.PluginImpl start
 INFO: Green Balls!
 log4j:WARN No appenders could be found for logger (net.bull.javamelody).
 log4j:WARN Please initialize the log4j system properly.
 Apr 16, 2013 6:18:58 PM jenkins.InitReactorRunner$1 onTaskFailed
 SEVERE: Failed Loading plugin nodeofflinenotification
 hudson.util.IOException2: Failed to initialize
 at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:349)
 at hudson.PluginManager$2$1$1.run(PluginManager.java:317)
 at
 org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
 at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
 at jenkins.model.Jenkins$7.runTask(Jenkins.java:875)
 at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
 at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)

 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
 Caused by: org.jruby.exceptions.RaiseException: (LoadError) library
 `fiber' could not be loaded: java.lang.ClassNotFoundException:
 org.jruby.ext.fiber.ThreadFiberLibrary

 Apr 16, 2013 6:18:58 PM jenkins.InitReactorRunner$1 onAttained
 INFO: Prepared all plugins

  log when I send the testing email
 ---
 Running from: C:\_jenkins\jenkins\jenkins.war
 webroot: EnvVars.masterEnvVars.get(JENKINS_HOME)
 Jenkins home directory: c:\_jenkins\jenkins found at:
 EnvVars.masterEnvVars.get(JENKINS_HOME)
 DEBUG: JavaMail version 1.4.4
 DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
 DEBUG: Tables of loaded providers
 DEBUG: Providers Listed By Class Name:
 {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun
 Microsystems, Inc],
 com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun
 Microsystems, Inc],
 com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun
 Microsystems, Inc],
 com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun
 Microsystems, Inc],
 com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun
 Microsystems, Inc],
 com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun
 Microsystems, Inc]}
 DEBUG: Providers Listed By Protocol:
 {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun
 Microsystems, Inc],
 imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun
 Microsystems, Inc],
 smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun
 Microsystems, Inc],
 pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun
 Microsystems, Inc],
 pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun
 Microsystems, Inc],
 smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun
 Microsystems, Inc]}
 DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
 DEBUG: getProvider() returning
 javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun
 Microsystems, Inc]
 DEBUG SMTP: useEhlo true, useAuth false
 DEBUG SMTP: trying to connect to host 172.16.1.3, port 25, isSSL false
 ---Apr
 16, 2013 6:20:43 PM hudson.TcpSlaveAgentListener$ConnectionHandler run
 INFO: Accepted connection #1 from /192.168.42.21:54362
 Apr 16, 2013 6:36:04 PM hudson.triggers.SCMTrigger$Runner run
 INFO: SCM changes detected in TMSAppOffboard. Triggering  #406
 Apr 16, 2013 6:36:13 PM hudson.plugins.emailext.ExtendedEmailPublisher
 sendMail
 WARNING: Could not send email.

 javax.mail.MessagingException: Could not connect 

RE: email-ext groovy script groovy-html.template does not display

2013-04-09 Thread Alex Earl
Double check the generated html.

Sent from my Windows Phone
--
From: Kamal Ahmed
Sent: 4/9/2013 4:40
To: jenkinsci-users@googlegroups.com
Subject: Re: email-ext groovy script groovy-html.template does not display

i am receiving email on the same host as jenkins
ALSO, the jelly script DOES work, with URL:


  IMG SRC=${rooturl}static/e59dfe28/images/32x32/red.gif /

but not the Groovy script , with the same URL, for yellow.gif

  --
*From:* Alex Earl slide.o@gmail.com
*To:* Kamal Ahmed kamalah...@yahoo.com; 
jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com
*Sent:* Monday, April 8, 2013 8:22 PM
*Subject:* RE: email-ext groovy script groovy-html.template does not display

the yellow, red and blue buttons
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary=942553102-1508715359-1365465321=:85628

--942553102-1508715359-1365465321=:85628
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Is Jenkins running on the machine you are receiving emails on? If not,
you may want to set a better URL in the global config.

Sent from my Windows Phone
From: Kamal Ahmed
Sent: 4/8/2013 16:55
To: jenkinsci-users@googlegroups.com
Subject: Re: email-ext groovy script groovy-html.template does not
display the yellow, red and blue buttons
i can access the blue ball with http://localhost:9000/static/e59dfe28/image=
s/32x32/blue.gif







 From: Slide slide.o@gmail.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com=
=20
Sent: Monday, April 8, 2013 6:38 PM
Subject: Re: email-ext groovy script groovy-html.template does not display=
the yellow, red and blue buttons
=20

Can you browse to the URL that is contained in the email body and have it =
show the image?



On Mon, Apr 8, 2013 at 3:19 PM, Kamal Ahmed kamalah...@yahoo.com wro=
te:

I tried with:


TABLE
=C2=A0 TRTD align=3DrightIMG SRC=3D${build.HUDSON_HOME}/images/32=
x32/%=3D build.result.toString() =3D=3D 'SUCCESS' ? blue.png : build.res=
ult.toString() =3D=3D 'FAILURE' ? 'red.png' : 'yellow.png' % /


after moving the images folder to $JENKINS_HOME/images/


But in the email, i still dont see the buttons.


originally, it was :


TABLE
=C2=A0 TRTD align=3DrightIMG SRC=3D${rooturl}static/e59dfe28/imag=
es/32x32/%=3D build.result.toString() =3D=3D 'SUCCESS' ? blue.gif : buil=
d.result.toString() =3D=3D 'FAILURE' ? 'red.gif' : 'yellow.gif' % /

but those did not work wither.


Any ideas ?
Thanks,
-Kamal.
 --=20
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.
=C2=A0
=C2=A0




--=20
Website:=C2=A0http://earl-of-code.com=20
--=20
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.
=C2=A0
=C2=A0




--=20
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 e=
mail to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--942553102-1508715359-1365465321=:85628
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

htmlbodyhtmlheadmeta content=3Dtext/html; charset=3Dutf-8 http-e=
quiv=3DContent-Type/headbodydivdiv style=3Dfont-family: Calibri,=
sans-serif; font-size: 11pt;Is Jenkins running on the machine you are rec=
eiving emails on? If not, you may want to set a better URL in the global co=
nfig.brbrSent from my Windows Phonebr/div/divhrspan style=3Df=
ont-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;From: =
/spanspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;Kama=
l Ahmed/spanbrspan style=3Dfont-family: Tahoma,sans-serif; font-size:=
10pt; font-weight: bold;Sent: /spanspan style=3Dfont-family: Tahoma,=
sans-serif; font-size: 10pt;4/8/2013 16:55/spanbrspan style=3Dfont-=
family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;To: /span=
span style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;jenkinsci-=
us...@googlegroups.com/spanbrspan style=3Dfont-family: Tahoma,sans-se=
rif; font-size: 10pt; font-weight: bold;Subject: /spanspan style=3Dfo=
nt-family: Tahoma,sans-serif; font-size: 10pt;Re: email-ext groovy script=
groovy-html.template does not display the yellow, red and blue buttons/sp=
anbrbr/body/htmldiv style=3Dcolor:#000; background-color:#fff; f=
ont-family:verdana, helvetica, sans-serif;font-size:10pti can access the =
blue ball with http://localhost:9000

RE: email-ext groovy script groovy-html.template does not display

2013-04-08 Thread Alex Earl
 the yellow, red and blue buttons
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary=942553102-1508715359-1365465321=:85628

--942553102-1508715359-1365465321=:85628
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Is Jenkins running on the machine you are receiving emails on? If not,
you may want to set a better URL in the global config.

Sent from my Windows Phone
From: Kamal Ahmed
Sent: 4/8/2013 16:55
To: jenkinsci-users@googlegroups.com
Subject: Re: email-ext groovy script groovy-html.template does not
display the yellow, red and blue buttons
i can access the blue ball with http://localhost:9000/static/e59dfe28/image=
s/32x32/blue.gif







 From: Slide slide.o@gmail.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com=
=20
Sent: Monday, April 8, 2013 6:38 PM
Subject: Re: email-ext groovy script groovy-html.template does not display=
 the yellow, red and blue buttons
=20

Can you browse to the URL that is contained in the email body and have it =
show the image?



On Mon, Apr 8, 2013 at 3:19 PM, Kamal Ahmed kamalah...@yahoo.com wro=
te:

I tried with:


TABLE
=C2=A0 TRTD align=3DrightIMG SRC=3D${build.HUDSON_HOME}/images/32=
x32/%=3D build.result.toString() =3D=3D 'SUCCESS' ? blue.png : build.res=
ult.toString() =3D=3D 'FAILURE' ? 'red.png' : 'yellow.png' % /


after moving the images folder to $JENKINS_HOME/images/


But in the email, i still dont see the buttons.


originally, it was :


TABLE
=C2=A0 TRTD align=3DrightIMG SRC=3D${rooturl}static/e59dfe28/imag=
es/32x32/%=3D build.result.toString() =3D=3D 'SUCCESS' ? blue.gif : buil=
d.result.toString() =3D=3D 'FAILURE' ? 'red.gif' : 'yellow.gif' % /

but those did not work wither.


Any ideas ?
Thanks,
-Kamal.
 --=20
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.
=C2=A0
=C2=A0




--=20
Website:=C2=A0http://earl-of-code.com=20
--=20
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.
=C2=A0
=C2=A0




--=20
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 e=
mail to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--942553102-1508715359-1365465321=:85628
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

htmlbodyhtmlheadmeta content=3Dtext/html; charset=3Dutf-8 http-e=
quiv=3DContent-Type/headbodydivdiv style=3Dfont-family: Calibri,=
sans-serif; font-size: 11pt;Is Jenkins running on the machine you are rec=
eiving emails on? If not, you may want to set a better URL in the global co=
nfig.brbrSent from my Windows Phonebr/div/divhrspan style=3Df=
ont-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;From: =
/spanspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;Kama=
l Ahmed/spanbrspan style=3Dfont-family: Tahoma,sans-serif; font-size:=
 10pt; font-weight: bold;Sent: /spanspan style=3Dfont-family: Tahoma,=
sans-serif; font-size: 10pt;4/8/2013 16:55/spanbrspan style=3Dfont-=
family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;To: /span=
span style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;jenkinsci-=
us...@googlegroups.com/spanbrspan style=3Dfont-family: Tahoma,sans-se=
rif; font-size: 10pt; font-weight: bold;Subject: /spanspan style=3Dfo=
nt-family: Tahoma,sans-serif; font-size: 10pt;Re: email-ext groovy script=
 groovy-html.template does not display the yellow, red and blue buttons/sp=
anbrbr/body/htmldiv style=3Dcolor:#000; background-color:#fff; f=
ont-family:verdana, helvetica, sans-serif;font-size:10pti can access the =
blue ball with http://localhost:9000/static/e59dfe28/images/32x32/blue.gif=
brbrdivspanbr/span/divdivbrblockquote style=3Dborder-lef=
t: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-l=
eft: 5px;  div style=3Dfont-family: verdana, helvetica, sans-serif; fon=
t-size: 10pt; div style=3Dfont-family: times new roman, new york, times=
, serif; font-size: 12pt; div dir=3Dltr font face=3DArial size=3D=
2 hr size=3D1  bspan style=3Dfont-weight:bold;From:/span/b =
Slide lt;slide.o@gmail.comgt;br bspan style=3Dfont-weight: bold=
;To:/span/b jenkinsci-users@googlegroups.com lt;jenkinsci-users@go=
oglegroups.comgt; br bspan style=3Dfont-weight: bold;Sent:/span=
/b Monday, April 8, 2013 6:38 PMbr bspan style=3Dfont-weight: bold;=
Subject:/span/b Re:
 email-ext groovy 

RE: Email-ext: How do I configure the email triggers based on the

2013-03-12 Thread Alex Earl
 error in build logs
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary==_Part_1915_32336246.1363110706893

--=_Part_1915_32336246.1363110706893
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

You could possibly use a presend script, or wait for the next version
which will have script triggers.

Sent from my Windows Phone
From: olga
Sent: 3/12/2013 10:51
To: jenkinsci-users@googlegroups.com
Subject: Email-ext: How do I configure the email triggers based on the
error in build logs
Hello,

I am using email-ext plugin and how do I send email just to myself when
there is error while updating the workspace eg: disk full. Currently the
failure trigger in Email-ext is enabled and email is sent to the default
list. Do we have any special trigger in emal-ext to take of this error or
is it possible to use some scripts to get this done.

Thanks,
Olga

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



--=_Part_1915_32336246.1363110706893
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

htmlheadmeta content=3Dtext/html; charset=3Dutf-8 http-equiv=3DCont=
ent-Type/headbodydivdiv style=3Dfont-family: Calibri,sans-serif; =
font-size: 11pt;You could possibly use a presend script, or wait for the =
next version which will have script triggers.brbrSent from my Windows P=
honebr/div/divhrspan style=3Dfont-family: Tahoma,sans-serif; font=
-size: 10pt; font-weight: bold;From: /spanspan style=3Dfont-family: T=
ahoma,sans-serif; font-size: 10pt;olga/spanbrspan style=3Dfont-fami=
ly: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;Sent: /spans=
pan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;3/12/2013 10=
:51/spanbrspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10p=
t; font-weight: bold;To: /spanspan style=3Dfont-family: Tahoma,sans-s=
erif; font-size: 10pt;jenkinsci-users@googlegroups.com/spanbrspan st=
yle=3Dfont-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;=
Subject: /spanspan style=3Dfont-family: Tahoma,sans-serif; font-size: =
10pt;Email-ext: How do I configure the email triggers based on the error =
in build logs/spanbrbr/body/htmlHello,brbrI am using email-ex=
t plugin and how do I send email just to myself when there is error while u=
pdating the workspace eg: disk full. Currently the failure trigger in Ema=
il-ext is enabled and email is sent to the default list. Do we have any spe=
cial trigger in emal-ext to take of this error or is it possible to use som=
e scripts to get this done.brbrThanks,brOlgabr

p/p

-- br /
You received this message because you are subscribed to the Google Groups =
quot;Jenkins Usersquot; group.br /
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to jenkinsci-users+unsubscr...@googlegroups.com.br /
For more options, visit a href=3Dhttps://groups.google.com/groups/opt_out=
https://groups.google.com/groups/opt_out/a.br /
nbsp;br /
nbsp;br /

--=_Part_1915_32336246.1363110706893--

-- 
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: Send Email Based On Conditional

2013-03-06 Thread Alex Earl
I'm trying to release more often, so I hope to have the script triggers in
and do a release in two weeks. Hopefully that is not too long to wait. I
could possibly give you an rc build earlier if you wanted.

Sent from my Windows Phone
--
From: Eduardo Dias
Sent: 3/6/2013 6:18
To: jenkinsci-users@googlegroups.com
Subject: Re: Send Email Based On Conditional

Great news Slide, I am trying to to something like Mark and this features
at plugin will help me to configure my email notifications.
Do you have idea when it will be available?

Regards,
Eduardo


2013/3/5 Slide slide.o@gmail.com

 There are two things you could do:

 1) use a pre-send script to cancel the sending of the email if your
 condition is not met
 2) wait for the next release in which I am adding a PreBuildScriptTrigger
 and an ScriptTrigger, which will allow you to determine your own method for
 when an email should be sent.

 slide


 On Tue, Mar 5, 2013 at 3:42 PM, Mark Bretl mbr...@vmware.com wrote:

 Hello Jenkins Users,



 I am looking for a way to send an email, using Email-Ext plugin, based on
 the result of a custom conditional. Reading the Email-Ext page, it can
 be triggered with build result statuses, but that is a static list as far I
 can tell. The other way I thought of to send an email is using the run
 condition plugin since is able to be used with build-steps and publishers,
 through the flexible-publish plugin, but it does not work with the notifier
 plugins such as Email-Ext...so that is a dead end.



 One 'ugly' workaround I have thought of would be to set the build result,
 based on a Boolean conditional, to an unused status such as 'Not Built'
 hoping it won't collide with it in the future. I would then use that to
 send an email with the Email-Ext plugin and trigger it on 'Not Built'.



 Any thoughts on possible solutions?

 Mark Bretl
 GemFire  SQLFire Build Engineer
 Member of Technical Staff
 VMware Inc.
 503-533-3869

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






-- 

Atenciosamente,

Eduardo

-- 
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: Any way to find a plug-in configuration value of a job from

2013-03-06 Thread Alex Earl
 groovy email template?
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary==_Part_1211_13601326.1362621484314

--=_Part_1211_13601326.1362621484314
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

build.parent.publisherList will get you all the publishers, you would
then just iterate and use the one you want. Should work.

Sent from my Windows Phone
From: cchen
Sent: 3/6/2013 18:58
To: jenkinsci-users@googlegroups.com
Subject: Any way to find a plug-in configuration value of a job from
groovy email template?
Hi there,

In my groovy email template, in addition to the content that is driven by
the build status, there are also dynamic content depends on the
configuration value of certain plug-ins.  In my case, I need to find out
the configurations of a recorder/publisher plugin.  Any way to do this?

Thanks!

-- 
You received this message because you are subscribed to the Google
Groups Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send
an email to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--=_Part_1211_13601326.1362621484314
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

htmlheadmeta content=3Dtext/html; charset=3Dutf-8 http-equiv=3DCont=
ent-Type/headbodydivdiv style=3Dfont-family: Calibri,sans-serif; =
font-size: 11pt;build.parent.publisherList will get you all the publisher=
s, you would then just iterate and use the one you want. Should work.brb=
rSent from my Windows Phonebr/div/divhrspan style=3Dfont-family:=
 Tahoma,sans-serif; font-size: 10pt; font-weight: bold;From: /spanspan=
 style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;cchen/spanbr=
span style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt; font-weigh=
t: bold;Sent: /spanspan style=3Dfont-family: Tahoma,sans-serif; font-=
size: 10pt;3/6/2013 18:58/spanbrspan style=3Dfont-family: Tahoma,sa=
ns-serif; font-size: 10pt; font-weight: bold;To: /spanspan style=3Dfo=
nt-family: Tahoma,sans-serif; font-size: 10pt;jenkinsci-users@googlegroup=
s.com/spanbrspan style=3Dfont-family: Tahoma,sans-serif; font-size: 1=
0pt; font-weight: bold;Subject: /spanspan style=3Dfont-family: Tahoma=
,sans-serif; font-size: 10pt;Any way to find a plug-in configuration valu=
e of a job from groovy email template?/spanbrbr/body/htmldivHi =
there,/divdivbr/divIn my groovy email template, in addition to the =
content that is driven by the build status, there are also dynamic content =
depends on the configuration value of certain plug-ins. nbsp;In my case, I=
 need to find out the configurations of a recorder/publisher plugin. nbsp;=
Any way to do this?divbr/divdivThanks!/div

p/p

-- br /
You received this message because you are subscribed to the Google Groups =
quot;Jenkins Usersquot; group.br /
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to jenkinsci-users+unsubscr...@googlegroups.com.br /
For more options, visit a href=3Dhttps://groups.google.com/groups/opt_out=
https://groups.google.com/groups/opt_out/a.br /
nbsp;br /
nbsp;br /

--=_Part_1211_13601326.1362621484314--

-- 
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: email-ext Exception while replacing BUILD_LOG_EXCERPT. Please

2013-03-05 Thread Alex Earl
 report this as a bug. ]] {{ java.lang.NullPointerException }}
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary=1869880960-1242272882-1362493139=:18508

--1869880960-1242272882-1362493139=:18508
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

I need more info, please post any info from the Jenkins logs as well as
your content template.p


Sent from my Windows Phone
From: Kamal Ahmed
Sent: 3/5/2013 7:19
To: jenkinsci-users@googlegroups.com
Subject: email-ext Exception while replacing BUILD_LOG_EXCERPT. Please
report this as a bug. ]] {{ java.lang.NullPointerException }}
Hi,

If i use ${BUILD_LOG_EXCERPT} , in the Default Content, with jenkins
1.5, i get the following in the email.

[[ Exception while replacing BUILD_LOG_EXCERPT. Please report this as a bug. ]]
{{ java.lang.NullPointerException }}

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



--1869880960-1242272882-1362493139=:18508
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

htmlbodyhtmlheadmeta content=3Dtext/html; charset=3Dutf-8 http-e=
quiv=3DContent-Type/headbodydivdiv style=3Dfont-family: Calibri,=
sans-serif; font-size: 11pt;I need more info, please post any info from t=
he Jenkins logs as well as your content template.pbrbrbrSent from my =
Windows Phonebr/div/divhrspan style=3Dfont-family: Tahoma,sans-se=
rif; font-size: 10pt; font-weight: bold;From: /spanspan style=3Dfont-=
family: Tahoma,sans-serif; font-size: 10pt;Kamal Ahmed/spanbrspan st=
yle=3Dfont-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;=
Sent: /spanspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10p=
t;3/5/2013 7:19/spanbrspan style=3Dfont-family: Tahoma,sans-serif; =
font-size: 10pt; font-weight: bold;To: /spanspan style=3Dfont-family:=
 Tahoma,sans-serif; font-size: 10pt;jenkinsci-users@googlegroups.com/spa=
nbrspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt; font-=
weight: bold;Subject: /spanspan style=3Dfont-family: Tahoma,sans-seri=
f; font-size: 10pt;email-ext Exception while replacing BUILD_LOG_EXCERPT.=
 Please report this as a bug. ]] {{ java.lang.NullPointerException }}/span=
brbr/body/htmldiv style=3Dcolor:#000; background-color:#fff; fon=
t-family:verdana, helvetica, sans-serif;font-size:10ptdivHi,/divdiv=
br/divdiv style=3Dcolor: rgb(0, 0, 0); font-size: 13.px; font-fam=
ily: verdana,helvetica,sans-serif; background-color: transparent; font-styl=
e: normal;If i use ${BUILD_LOG_EXCERPT} , in the Default Content, with je=
nkins 1.5, i get the following in the email./divdiv style=3Dcolor: rgb(=
0, 0, 0); font-size: 13.px; font-family: verdana,helvetica,sans-serif; =
background-color: transparent; font-style: normal;br/divdiv style=3D=
color: rgb(0, 0, 0); font-size: 13.px; font-family: verdana,helvetica,=
sans-serif; background-color: transparent; font-style: normal;[[ Exceptio=
n while replacing BUILD_LOG_EXCERPT. Please report this as a bug. ]]
{{ java.lang.NullPointerException }} br/divdiv style=3Dcolor: rgb(0, =
0, 0); font-size: 13.px; font-family: verdana,helvetica,sans-serif; bac=
kground-color: transparent; font-style: normal;br/div/div/body/h=
tml

p/p

-- br /
You received this message because you are subscribed to the Google Groups =
quot;Jenkins Usersquot; group.br /
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to jenkinsci-users+unsubscr...@googlegroups.com.br /
For more options, visit a href=3Dhttps://groups.google.com/groups/opt_out=
https://groups.google.com/groups/opt_out/a.br /
nbsp;br /
nbsp;br /

--1869880960-1242272882-1362493139=:18508--

-- 
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: BUILD_LOG_REGEX and Email

2013-02-22 Thread Alex Earl
I'd recommend getting your regex working outside of Jenkins using one
of the many online tools. Then once you have it working there try again

Sent from my Windows Phone
From: nes_welsh
Sent: 2/22/2013 7:19
To: jenkinsci-users@googlegroups.com
Subject: BUILD_LOG_REGEX and Email
Hi All,

I am trying to parse the build log to extract some information which is
output in it.  I have the following situation:

build log stuff
{
table stuff
table stuff
table stuff
}

I want to get the information in the {}.  I am using the following regex

${BUILD_LOG_REGEX, regex=/\{(.*?)\}/m}

but its returning:
[[ Exception while replacing BUILD_LOG_REGEX. Please report this as a bug.
]]
{{ java.util.regex.PatternSyntaxException: Illegal repetition near index 0
/{(.*?)}/m
^ }}

Any Ideas?

Cheers,
Neil



--
View this message in context:
http://jenkins.361315.n4.nabble.com/BUILD-LOG-REGEX-and-Email-tp4656346.html
Sent from the Jenkins users mailing list archive at Nabble.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: $HOSTNAME in email-ext plugins

2013-02-05 Thread Alex Earl
I don't think it's a bug, if the variable isn't available, there is nothing
email-ext can do to get it really.

Sent from my Windows Phone
--
From: Foxgang
Sent: 2/5/2013 16:22
To: jenkinsci-users@googlegroups.com
Subject: Re: $HOSTNAME in email-ext plugins

That's a reasonable workaround; we might do that if we have to. We name our
nodes differently than the machine name though (e.g. computer1-unix-rhel6
for the machine named computer1 running RedHat 6). So there's no way to
get the machine name? Should this be reported as a bug?

On Monday, February 4, 2013 2:01:41 PM UTC-6, slide wrote:

 I'd recommend using the NODE_NAME variable instead. It works cross
 platform.


 On Mon, Feb 4, 2013 at 1:00 PM, Foxgang tev...@gmail.com javascript:wrote:

 We would like Jenkins to include the machine name of the slave it used
 when it sends an email. On windows slaves, this is solved by using ${ENV,
 var=COMPUTERNAME}. This uses the Token Macro expansion plugin to grab the
 %COMPUTERNAME% environment variable.

 However, this doesn't seem to work with $HOSTNAME (the Unix equivalent).
 Strangely, it does work for other Unix variables, like $HOME. Additionally,
 when I put 'echo $HOSTNAME' in an 'execute shell' build step, it also
 works. Is there some reason that this particular variable doesn't expand?
 Is there an alternate method I could use?

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

-- 
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: How do I troubleshoot the ${CHANGES} token when sending an

2013-01-29 Thread Alex Earl
 email
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary==_Part_912_13493124.1359481995454

--=_Part_912_13493124.1359481995454
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

I develop the plugin, so I'm quite sure where that token comes from.
Also, my name is not Earl. http://issues.jenkins-co.org

Sent from my Windows Phone
From: jbyrne...@yahoo.com
Sent: 1/29/2013 9:53
To: jenkinsci-users@googlegroups.com
Subject: Re: How do I troubleshoot the ${CHANGES} token when sending an
email
For those of you interested...  I think instead of the DEFAULT_RECIPIENTS
being under the global configuration this is under the expanded trigger
configuration.  (Sorry Earl, I'm going to have to disagree with you on that
one.)  I looked at the differences in the configuration and saw that the
XML for the recipientList was part of the mail trigger.  When I opened the
UI I saw that it, indeed, had the same email addresses that the build email
was being sent to.  So I'm guessing that DEFAULT_RECIPIENTS comes from here.

Earl, How do I file a JIRA?

Thank you,
John Byrne

On Monday, January 28, 2013 2:38:12 PM UTC-8, jbyr...@yahoo.com wrote:

 Is there some log I can look at?  The content is not being placed into the
 email message.
 Please help.

 I'm also looking for where the ${DEFAULT_RECIPIENTS} token is defined but
 I can't find it anywhere.

 Please let me know if you need any more information, I'm new to this list.

 Thank you,
 John


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



--=_Part_912_13493124.1359481995454
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

htmlheadmeta content=3Dtext/html; charset=3Dutf-8 http-equiv=3DCont=
ent-Type/headbodydivdiv style=3Dfont-family: Calibri,sans-serif; =
font-size: 11pt;I develop the plugin, so I'm quite sure where that token =
comes from. Also, my name is not Earl. http://issues.jenkins-co.orgbrbr=
Sent from my Windows Phonebr/div/divhrspan style=3Dfont-family: T=
ahoma,sans-serif; font-size: 10pt; font-weight: bold;From: /spanspan s=
tyle=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;jbyrnescu@yahoo.c=
om/spanbrspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt=
; font-weight: bold;Sent: /spanspan style=3Dfont-family: Tahoma,sans-=
serif; font-size: 10pt;1/29/2013 9:53/spanbrspan style=3Dfont-famil=
y: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;To: /spanspan=
 style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;jenkinsci-users=
@googlegroups.com/spanbrspan style=3Dfont-family: Tahoma,sans-serif; =
font-size: 10pt; font-weight: bold;Subject: /spanspan style=3Dfont-fa=
mily: Tahoma,sans-serif; font-size: 10pt;Re: How do I troubleshoot the ${=
CHANGES} token when sending an email/spanbrbr/body/htmlFor those =
of you interested... nbsp;I think instead of the DEFAULT_RECIPIENTS being =
under the global configuration this is under the expanded trigger configura=
tion. nbsp;(Sorry Earl, I'm going to have to disagree with you on that one=
.) nbsp;I looked at the differences in the configuration and saw that the =
XML for the recipientList was part of the mail trigger. nbsp;When I opened=
 the UI I saw that it, indeed, had the same email addresses that the build =
email was being sent to. nbsp;So I'm guessing that DEFAULT_RECIPIENTS come=
s from here.divbr/divdivEarl, How do I file a JIRA?/divdivbr=
/divdivThank you,/divdivJohn ByrnebrbrOn Monday, January 28, 201=
3 2:38:12 PM UTC-8, jbyr...@yahoo.com wrote:blockquote class=3Dgmail_quot=
e style=3Dmargin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;paddin=
g-left: 1ex;Is there some log I can look at? nbsp;The content is not bei=
ng placed into the email message.divPlease help./divdivbr/divdiv=
I'm also looking for where the ${DEFAULT_RECIPIENTS} token is defined but =
I can't find it anywhere./divdivbr/divdivPlease let me know if yo=
u need any more information, I'm new to this list./divdivbr/divdiv=
Thank you,/divdivJohnnbsp;/div/blockquote/div

p/p

-- br /
You received this message because you are subscribed to the Google Groups =
quot;Jenkins Usersquot; group.br /
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to jenkinsci-users+unsubscr...@googlegroups.com.br /
For more options, visit a href=3Dhttps://groups.google.com/groups/opt_out=
https://groups.google.com/groups/opt_out/a.br /
nbsp;br /
nbsp;br /

--=_Part_912_13493124.1359481995454--

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

RE: How do I troubleshoot the ${CHANGES} token when sending an

2013-01-28 Thread Alex Earl
 email
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary==_Part_983_23601516.1359417033123

--=_Part_983_23601516.1359417033123
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

Yes, the global config is as you said.

Sent from my Windows Phone
From: jbyrne...@yahoo.com
Sent: 1/29/2013 7:50 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: How do I troubleshoot the ${CHANGES} token when sending an
email
Thanks for the link.  Boy that generics code sure is pretty!

Also, Is the global configuration under Jenkins-Manage Jenkins-Configure
System? (I'm new to Jenkins too)

Thank you for  your help.

John

On Monday, January 28, 2013 2:38:12 PM UTC-8, jbyr...@yahoo.com wrote:

 Is there some log I can look at?  The content is not being placed into the
 email message.
 Please help.

 I'm also looking for where the ${DEFAULT_RECIPIENTS} token is defined but
 I can't find it anywhere.

 Please let me know if you need any more information, I'm new to this list.

 Thank you,
 John


-- 
You received this message because you are subscribed to the Google
Groups Jenkins Users group.
To unsubscribe from this group, send email to
jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--=_Part_983_23601516.1359417033123
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

htmlheadmeta content=3Dtext/html; charset=3Dutf-8 http-equiv=3DCont=
ent-Type/headbodydivdiv style=3Dfont-family: Calibri,sans-serif; =
font-size: 11pt;Yes, the global config is as you said.brbrSent from m=
y Windows Phonebr/div/divhrspan style=3Dfont-family: Tahoma,sans-=
serif; font-size: 10pt; font-weight: bold;From: /spanspan style=3Dfon=
t-family: Tahoma,sans-serif; font-size: 10pt;jbyrne...@yahoo.com/spanb=
rspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt; font-weig=
ht: bold;Sent: /spanspan style=3Dfont-family: Tahoma,sans-serif; font=
-size: 10pt;1/29/2013 7:50 AM/spanbrspan style=3Dfont-family: Tahom=
a,sans-serif; font-size: 10pt; font-weight: bold;To: /spanspan style=
=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;jenkinsci-users@googl=
egroups.com/spanbrspan style=3Dfont-family: Tahoma,sans-serif; font-s=
ize: 10pt; font-weight: bold;Subject: /spanspan style=3Dfont-family: =
Tahoma,sans-serif; font-size: 10pt;Re: How do I troubleshoot the ${CHANGE=
S} token when sending an email/spanbrbr/body/htmlThanks for the l=
ink. nbsp;Boy that generics code sure is pretty!divbr/divdivAlso, =
Is the global configuration under Jenkins-gt;Manage Jenkins-gt;Configure =
System? (I'm new to Jenkins too)/divdivbr/divdivThank you for nb=
sp;your help./divdivbr/divdivJohnbrbrOn Monday, January 28, 2=
013 2:38:12 PM UTC-8, jbyr...@yahoo.com wrote:blockquote class=3Dgmail_qu=
ote style=3Dmargin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padd=
ing-left: 1ex;Is there some log I can look at? nbsp;The content is not b=
eing placed into the email message.divPlease help./divdivbr/divd=
ivI'm also looking for where the ${DEFAULT_RECIPIENTS} token is defined bu=
t I can't find it anywhere./divdivbr/divdivPlease let me know if =
you need any more information, I'm new to this list./divdivbr/divd=
ivThank you,/divdivJohnnbsp;/div/blockquote/div

p/p

-- br /
You received this message because you are subscribed to the Google Groups =
quot;Jenkins Usersquot; group.br /
To unsubscribe from this group, send email to jenkinsci-users+unsubscribe@g=
ooglegroups.com.br /
For more options, visit a href=3Dhttps://groups.google.com/groups/opt_out=
https://groups.google.com/groups/opt_out/a.br /
nbsp;br /
nbsp;br /

--=_Part_983_23601516.1359417033123--

-- 
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: Jenkins fails to send email

2013-01-23 Thread Alex Earl
This looks similar to something people are seeing with email-ext with the
latest as well. If you don't have anything company secret, would you be
willing to zip up your entire Jenkins home and post it somewhere?

Sent from my Windows Phone
--
From: Chris Jones
Sent: 1/24/2013 3:46 AM
To: jenkinsci-users@googlegroups.com
Subject: Jenkins fails to send email

  This same Jenkins installation is acting really weird -- sometimes the
Loading overlay doesn't disappear, covering the configuration screen and
preventing me from making changes. If I restart Jenkins, sometimes it
works. It's been acting that way ever since I installed it yesterday.
System is RedHat 6.1, 64-bit. JVM is OpenJDK 1.6.0_20-b20. Here are the
installed plugins:

mailer1.4falsefalse
external-monitor-job1.1falsefalse
ldap1.2falsetrue
pam-auth1.0falsefalse
instant-messaging1.25truefalse
jabber1.25truefalse
ant1.1falsefalse
javadoc1.0falsefalse
saferestart0.2truefalse
ssh-slaves0.22falsefalse
cvs2.7falsetrue
role-strategy1.1.2truefalse
translation1.10falsetrue
subversion1.45truetrue
active-directory1.30truefalse
maven-plugin


ERROR: Processing failed due to a bug in the code. Please report this
to jenkinsci-us...@googlegroups.comjava.lang.NullPointerException
http://stacktrace.jenkins-ci.org/search?query=java.lang.NullPointerException  
at
hudson.tasks.MailSender.createEmptyMail(MailSender.java:312)
http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.MailSender.createEmptyMailentity=method
at hudson.tasks.MailSender.createUnstableMail(MailSender.java:188)
http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.MailSender.createUnstableMailentity=method
at hudson.tasks.MailSender.getMail(MailSender.java:159)
http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.MailSender.getMailentity=method
at hudson.tasks.MailSender.execute(MailSender.java:100)
http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.MailSender.executeentity=method
at hudson.maven.reporters.MavenMailer.end(MavenMailer.java:55)
http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.reporters.MavenMailer.endentity=method
at hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:103)
http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.AbstractMavenBuilder.endentity=method
at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:758)
http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRunentity=method
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:592)
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.runentity=method
at hudson.model.Run.execute(Run.java:1543)
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.executeentity=method
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)
http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild.runentity=method
at hudson.model.ResourceController.execute(ResourceController.java:88)
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.executeentity=method
at hudson.model.Executor.run(Executor.java:236)
http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.runentity=method

...and later in the same log:

FATAL: nulljava.lang.NullPointerException
http://stacktrace.jenkins-ci.org/search?query=java.lang.NullPointerException  
at
hudson.tasks.MailSender.createEmptyMail(MailSender.java:312)
http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.MailSender.createEmptyMailentity=method
at hudson.tasks.MailSender.createUnstableMail(MailSender.java:188)
http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.MailSender.createUnstableMailentity=method
at hudson.tasks.MailSender.getMail(MailSender.java:159)
http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.MailSender.getMailentity=method
at hudson.tasks.MailSender.execute(MailSender.java:100)
http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.MailSender.executeentity=method
at hudson.maven.reporters.MavenMailer.end(MavenMailer.java:55)
http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.reporters.MavenMailer.endentity=method
at hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:103)
http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.AbstractMavenBuilder.endentity=method
at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:758)
http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRunentity=method
 

RE: Doing Builds using clearcase dynamic views

2013-01-21 Thread Alex Earl
Can you help us help you, by giving any errors you are seeing it what
specifically is not working?

Sent from my Windows Phone
--
From: Bhaskar Juda
Sent: 1/21/2013 5:43 PM
To: jenkinsci-users@googlegroups.com
Subject: Doing Builds using clearcase dynamic views

Hi All,

I have installed Jenkins 1.489 on my linux 2.6 machine and it works fine.
 I have tested with SVN.

I have installed the clearcase plugins but i am not successful in build
using dynamic views.  Can anyone help on the settings.

Regards,
Bhaskar Juda


RE: Jelly script, for email

2013-01-16 Thread Alex Earl
Use a groovy template

Sent from my Windows Phone
--
From: japinder gill
Sent: 1/16/2013 4:07 AM
To: jenkinsci-users@googlegroups.com
Subject: Jelly script, for email

Hello,

I need to embed  selenium result html report into email notification.

The auto mail send after every build should contain complete selenium
report also .

I tried “Email-ext” pluglin with jelly scripting but not able to do it.

Can anyone suggest a better way or how to do using jelly.


RE: Emails not saving on email notification job option.

2013-01-16 Thread Alex Earl
Are you using Mailer or email-ext?

Sent from my Windows Phone
--
From: Jeff
Sent: 1/16/2013 2:13 PM
To: jenkinsci-users@googlegroups.com
Subject: Emails not saving on email notification job option.

I have a jenkins server (Ubuntu 12.04+Tomcat7 + Oracle JDK 7u6) with only
one job and no matter what I do, when I enter even one email address into
the job and save it, it saves without errors, but the emails are gone when
I view the job config again.

I tried looking through the logs, but there is no error that I can see
related to saving the job...can I debug it somehow?  Has anyone else seen
this?  It is frustrating and I don't see this on any of our other Jenkins
boxes.


-- 
Jeff Vincent
predato...@gmail.com
See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent
I ♥ DropBox http://db.tt/9O6LfBX !!


RE: Email-ext plugin. variable substitution in included file ?

2013-01-11 Thread Alex Earl
Yes, this is expected, the file token supports nested content.

Sent from my Windows Phone
From: chris_willia...@dell.com
Sent: 1/11/2013 3:02 PM
To: jenkinsci-users@googlegroups.com
Subject: Email-ext plugin. variable substitution in included file ?
We are using the ${FILE,path} token to include the contents of a
file in the workspace to an email being sent by the Email-ext plugin.
We also have a parameter on this particular job (i.e. parameterized build).

It appears that if the file being included uses a variable with the
same name as the job parameter, then the value of the parameter is
substituted for that variable in the sent email. Is this expected
behavior or should this be considered a bug ? We can work around the
problem by changing the parameter name, but that's a hack. I've also
experimented with trying to reset the parameter before the email is
sent, but it doesn't work or I'm doing it wrong.

Example:
1) Job has a parameter named PASSWD.
2) Ext-email uses the token: ${FILE, path=./foo.sh}
3) foo.sh contents:
echo ${PASSWD}

4) When the email is sent, the ${PASSWD} variable in foo.sh is
evaluated and the email contains the value that was typed in for the
PASSWD job parameter.

I'll open an issue if this is considered a bug or unexpected. An
additional data point is, that if I'm including a file named foo.txt
instead of foo.sh, then the ${PASSWD} string is not evaluated and
appears as expected in the email.

Thanks,
Chris

Chris Williams
Dell | PG Release Engineering


RE: jenkins/hudson problem with changelog when updating files from svn:externals

2013-01-10 Thread Alex Earl
You could fork, make the patch and create a pull request if one hasn't been
made already. That would probably help get it done faster.

Sent from my Windows Phone
--
From: Tomasz Arendt
Sent: 1/10/2013 7:39 AM
To: jenkinsci-users@googlegroups.com
Subject: jenkins/hudson problem with changelog when updating files from
svn:externals

Hi,
 I would like to refer to your ticket:
https://issues.jenkins-ci.org/browse/JENKINS-12127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel

I have added comment for the above and I am looking forward for any help:

I am using hudson and when updating svn view which consists of externals
only, every update on subdirectories (from externals) is updated in hudson
workspace but changelog says that nothing was modified and the file
changelog.xml is wrong (has only log/ string inside)  It seems like
JENKINS-12127 https://issues.jenkins-ci.org/browse/JENKINS-12127 patch
could fix it but ticket is still open and not resolved yet. This is a
mustbe functionality for me. Some other plugins depends on changelog for
example 'Scan for compiler warnings' will not be launched because of empty
changelog.

Could you tell me if it is going to be delivered?
Kindly waiting for response.


Best Regards,
Tom


RE: Issue with Email-Ext plugin-Please help

2013-01-10 Thread Alex Earl
You may need to create your own template. Look at the wiki for more
information.

Sent from my Windows Phone
--
From: uma shankar
Sent: 1/10/2013 10:53 AM
To: jenkinsci-users@googlegroups.com
Subject: Issue with Email-Ext plugin-Please help

Hi,

** **

I am trying to use Jenkins for POC, and have enabled Email-ext plugin. I am
facing some issue while getting perforce change list.

** **

I am have been using perforce plugin for integration with SCM. I have some
issue with the plugin.
I use Email-ext plugin and trying get complete change list history in mail
with revision no and workspace as display on build home page.
Example: (*Expected to be in e-mail*)
Changes
1436416 by umashankar@umashakar-test on Jan 10, 2013 8:44:54 AM
Forcing a build
Affected Files:
//myproject/src/test/java/control.java(#16)

//myproject/src/test/java/control1.java(#17)

** **

** **

But I have used some keyword to get this things in email as below:
*

List of changed file(s):
${CHANGES, showPaths=true}

** **

${CHANGES_SINCE_LAST_SUCCESS, showPaths=true}

*

** **

And output comes in mail as below:
List of changed file(s):
[umashankar] Updates
src/test/java/control.java

src/test/java/control1.java

** **

Changes for Build #16
[umashankar] Updates
src/test/java/control.java

src/test/java/control1.java

It is missing the full path, revision number, changelist workspace name.

** **

Early response would help to resolve this issue ASAP.


RE: Issue with Email-Ext plugin-Please help

2013-01-10 Thread Alex Earl
The default groovy template should have the info.

Sent from my Windows Phone
--
From: uma shankar
Sent: 1/10/2013 11:22 AM
To: Alex Earl
Cc: jenkinsci-users@googlegroups.com
Subject: Re: Issue with Email-Ext plugin-Please help

Hi Alex,

I have tried in many ways to get that output, but did not get it through.
Will you be able to help me getting the template?

Thank You.


On Thu, Jan 10, 2013 at 11:34 PM, Alex Earl slide.o@gmail.com wrote:

 You may need to create your own template. Look at the wiki for more
 information.

 Sent from my Windows Phone
 --
 From: uma shankar
 Sent: 1/10/2013 10:53 AM
 To: jenkinsci-users@googlegroups.com
 Subject: Issue with Email-Ext plugin-Please help

  Hi,

 ** **

 I am trying to use Jenkins for POC, and have enabled Email-ext plugin. I
 am facing some issue while getting perforce change list.

 ** **

 I am have been using perforce plugin for integration with SCM. I have some
 issue with the plugin.
 I use Email-ext plugin and trying get complete change list history in mail
 with revision no and workspace as display on build home page.
 Example: (*Expected to be in e-mail*)
 Changes
 1436416 by umashankar@umashakar-test on Jan 10, 2013 8:44:54 AM
 Forcing a build
 Affected Files:
 //myproject/src/test/java/control.java(#16)

 //myproject/src/test/java/control1.java(#17)

 ** **

 ** **

 But I have used some keyword to get this things in email as below:
 *

 List of changed file(s):
 ${CHANGES, showPaths=true}

 ** **

 ${CHANGES_SINCE_LAST_SUCCESS, showPaths=true}

 *

 ** **

 And output comes in mail as below:
 List of changed file(s):
 [umashankar] Updates
 src/test/java/control.java

 src/test/java/control1.java

 ** **

 Changes for Build #16
 [umashankar] Updates
 src/test/java/control.java

 src/test/java/control1.java

 It is missing the full path, revision number, changelist workspace name.**
 **

 ** **

 Early response would help to resolve this issue ASAP.



RE: Read-only configurations plugin for latest jenkins

2013-01-09 Thread Alex Earl
FYI, latest Jenkins is 1.497 or something close to that, not 1.466

Sent from my Windows Phone
--
From: Sumit Nagal
Sent: 1/8/2013 11:26 PM
To: jenkinsci-users@googlegroups.com
Subject: Read-only configurations plugin for latest jenkins

Hi,

I want to know if this plug-in (
https://wiki.jenkins-ci.org/display/JENKINS/Read-only+configurations+plugin)
is supported with latest jenkins (1.466)
I am able to see the Global configuration but not able to view Job
configuration. Am I missing something ???

-Sumit


RE: MSBuild VC++ User settings

2013-01-09 Thread Alex Earl
What configuration do you mean?

Sent from my Windows Phone
--
From: mwpowellhtx
Sent: 1/9/2013 4:05 PM
To: jenkinsci-users@googlegroups.com
Subject: MSBuild VC++ User settings

Hello,

Probably more a VS2008 and/or MSBuild question, but I'll ask here anyway

I've got a VS2008 VC++ project that I want to build from Jenkins. The trick
is, VS2008 wants to store its configuration in a machine / user specific
USER file.

Is there a way to include a global (any machine / any user) USER file?

Regards,

Michael


RE: Problem while migrating from Hudson 2.1.2

2013-01-07 Thread Alex Earl
If you look at the wiki page for migrating from Hudson, you'll notice in
bold red text that you can only upgrade from =1.398 reliably. Hudson
changed the format of their XML after that and so the formats are no longer
compatible.

Sent from my Windows Phone
--
From: bthiebault
Sent: 1/7/2013 3:37 AM
To: jenkinsci-users@googlegroups.com
Subject: Problem while migrating from Hudson 2.1.2

Hi everyone,

I am running Hudson 2.1.2 on a computer that is going to be upgraded
(hardware + OS upgrade to Debian 6).

As I need to reinstall everything, I thought it might be a good idea to
switch from Hudson to Jenkins.

So I installed Jenkins on the new machine (using apt-get) and moved the
home directory from /var/lib to /home/jenkins following instructions here:
http://robertbasic.com/blog/changing-jenkins-home-directory-on-ubuntu

Then I archived my former /home/hudson folder and transfered it to the new
machine.

I tried to unzip it piece by piece. Copying the plugins and users worked
very smoothly. However, copying the jobs folder is more problematic and I
now have a stacktrace on jenkins home page.

Can anyone help?

Kind regards,

Ben

Exception: org.apache.commons.jelly.JellyTagException:
 jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.497.jar!/hudson/model/View/index.jelly:44:43:
 st:include org.apache.commons.jelly.JellyTagException:
 jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.497.jar!/lib/hudson/projectView.jelly:64:22:
 d:invokeBody java.lang.NullPointerException
 Stacktrace:

 javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: 
 jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.497.jar!/hudson/model/View/index.jelly:44:43:
  st:include org.apache.commons.jelly.JellyTagException: 
 jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.497.jar!/lib/hudson/projectView.jelly:64:22:
  d:invokeBody java.lang.NullPointerException
   at 
 org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:112)
   at 
 org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:127)
   at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:562)
   at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658)
   at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:624)
   at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658)
   at org.kohsuke.stapler.Stapler.invoke(Stapler.java:487)
   at org.kohsuke.stapler.Stapler.service(Stapler.java:164)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
   at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
   at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
   at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)
   at 
 hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
   at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
   at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
   at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
   at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
   at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
   at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
   at 
 hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
   at 
 hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
   at 
 hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
   at 
 org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
   at 
 hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
   at 
 org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
   at 
 hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
   at 
 org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135)
   at 
 hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
   at 
 org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
   at 
 hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
   at 
 org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
   at 
 hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
   at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63)
   at 
 hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
   at 
 org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
   at 
 

RE: TFS/Maven/Linux Help needed!

2013-01-03 Thread Alex Earl
It looks like it can't find the tf command, at least that's what it looks
like to me.

Sent from my Windows Phone
--
From: Steve Brice
Sent: 1/3/2013 8:55 AM
To: jenkinsci-users@googlegroups.com
Subject: TFS/Maven/Linux Help needed!

We are currently migrating from Windows to Linux build servers. I have
everything up and running in Linux fine. However, when performing a maven
release its failing right at the end. I have verified all the
permissions, environment paths...etc.  I am attaching the console output if
someone could kindly point me in the right direction.

 Jenkins appears to be connecting to TFS fine but I think there is
something going on with the maven plugin.


RE: migration hudson 2.2.0 to jenkins

2013-01-03 Thread Alex Earl
Yes, the fork happened around 1.395 or so. I don't know what version Hudson
changed the format.

Sent from my Windows Phone
--
From: Daniel Fortunov
Sent: 1/3/2013 5:18 PM
To: jenkinsci-users@googlegroups.com
Subject: Re: migration hudson 2.2.0 to jenkins

What is the latest version before the fork? I thought 2.2.0 was already
beyond the fork?

On 2 January 2013 20:46, Lars Nordin lnor...@internap.com wrote:

  Search the mailing list archives for posts from folks that have done
 this same thing.

 ** **

 The pattern has been – depending on how old of a version of hudson – to
 upgrade to the last version of hudson before the fork (you may need an
 interim upgrade if your version of Hudson is really old) and then upgrade
 to latest LTS. This is more effort but more likely to work and give you a
 working system as you upgrade.

 ** **



RE: Token Macro plugin v1.5.1 disrupts Email-Ext plugin

2012-12-28 Thread Alex Earl
It will not be tested with latest, only with the latest LTS release, this
is pretty common among plugins. As for token macro, 1.5.1 is the version
email-ext conditionally depends on.

Sent from my Windows Phone
--
From: Vikram Toprani
Sent: 12/27/2012 11:46 PM
To: jenkinsci-users@googlegroups.com
Cc: Vikram Toprani
Subject: Re: Token Macro plugin v1.5.1 disrupts Email-Ext plugin

Thanks for the quick response. :-)

1) So when would the tests on latest happen? Do I raise a JIRA for the same?
2) In meantime, could you let me know which version of Jenkins would allow
me to use Email-ext and Contional Buildstep plugin together without such
issue.

Regards.

On Friday, 28 December 2012 12:02:20 UTC+5:30, slide wrote:

 notifications
 MIME-Version: 1.0
 Content-Type: multipart/alternative;
 boundary==_Part_459_28571250.1356676206148

 --=_Part_459_28571250.1356676206148
 Content-Type: text/plain; charset=utf-8
 Content-Transfer-Encoding: 7bit

 Email-ext has not been tested with 1.494, it is tested with the LTS
 release.

 Sent from my Windows Phone
 From: Vikram Toprani
 Sent: 12/27/2012 11:30 PM
 To: jenkins...@googlegroups.com javascript:
 Subject: Token Macro plugin v1.5.1 disrupts Email-Ext plugin
 notifications
 I'm using Jenkins v1.494 and was successfully using Email-ext plugin
 v2.25.
 But yesterday when I installed  Conditional BuildStep Plugin, the
 notifications from Email-ext suddenly stopped firing.
 Once I uninstalled Conditional BuildStep plugin, the emails worked fine.
 Upon investigating I realized that there is a common dependency between
 the
 two, that of  Token Macro Plugin v1.5.1.
 So, I installed Token Macro plugin independently and as expected, emails
 failed again.
 I believe Token Macro plugin has got something to do with notifications
 not
 working.

 Request you guys to please look into this scenario.

 Thanks in advance.


 --=_Part_459_28571250.1356676206148
 Content-Type: text/html; charset=utf-8
 Content-Transfer-Encoding: quoted-printable

 htmlheadmeta content=3Dtext/html; charset=3Dutf-8
 http-equiv=3DCont=
 ent-Type/headbodydivdiv style=3Dfont-family: Calibri,sans-serif;
 =
 font-size: 11pt;Email-ext has not been tested with 1.494, it is tested
 wi=
 th the LTS release. brbrSent from my Windows
 Phonebr/div/divhr=
 span style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;
 font-weight:=
  bold;From: /spanspan style=3Dfont-family: Tahoma,sans-serif;
 font-si=
 ze: 10pt;Vikram Toprani/spanbrspan style=3Dfont-family:
 Tahoma,sans=
 -serif; font-size: 10pt; font-weight: bold;Sent: /spanspan
 style=3Dfo=
 nt-family: Tahoma,sans-serif; font-size: 10pt;12/27/2012 11:30
 PM/span=
 brspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;
 font-wei=
 ght: bold;To: /spanspan style=3Dfont-family: Tahoma,sans-serif;
 font-=
 size: 10pt;jenkins...@googlegroups.com javascript:/spanbrspan
 style=3Dfont=
 -family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;Subject:
 =
 /spanspan style=3Dfont-family: Tahoma,sans-serif; font-size:
 10pt;Toke=
 n Macro plugin v1.5.1 disrupts Email-Ext plugin
 notifications/spanbrbr=
 /body/htmlI'm using Jenkins v1.494 and was successfully using
 Email-ex=
 t plugin v2.25.divBut yesterday when I installed nbsp;Conditional
 BuildS=
 tep Plugin, the notifications from Email-ext suddenly stopped
 firing./div=
 divOnce I uninstalled Conditional BuildStep plugin, the emails worked
 fin=
 e.br/divdivUpon investigating I realized that there is a common
 depen=
 dency between the two, that ofnbsp;nbsp;Token Macro Plugin
 v1.5.1./div=
 divSo, I installed Token Macro plugin independently and as expected,
 email=
 s failed again./divdivI believe Token Macro plugin has got something
 to=
  do with notifications not working./divdivbr/divdivRequest you
 gu=
 ys to please look into this scenario./divdivbr/divdivThanks in
 ad=
 vance./divdivbr/div
 --=_Part_459_28571250.1356676206148--



RE: migration hudson 2.2.0 to jenkins

2012-12-28 Thread Alex Earl
My guess is you could do something with xslt to transform the XML between
formats, but you would need to understand both formats in depth. I don't
know that anyone on this list knows the new Hudson format well at all, but
there would be plenty of help for the Jenkins format on here.

Sent from my Windows Phone
--
From: Daniel Fortunov
Sent: 12/28/2012 10:11 AM
To: jenkinsci-users@googlegroups.com
Cc: maro.schu...@gmail.com
Subject: Re: migration hudson 2.2.0 to jenkins

Hello,

Is there any more information on this? I've also just (resumed) trying to
upgrade from Hudson 2.0.0 and noted that the configuration file format is *
completely* different.

My existing config files have pretty much *everything*, including the build
commands, defined within:
project-properties class=java.util.concurrent.ConcurrentHashMap

In the new file format, build commands are stored under builders.

When I cleanup unused fields from the config file it deletes just about
everything, and leaves an empty skeleton of a config file.

Worse still, the job is still not visible in the Jenkins UI until I
manually hack the config file to include these empty elements:
publishers/
buildWrappers/

Can somebody with better knowledge of the history of the configuration file
formats weigh in with some advice on what's going on here? Is there any
automated migration route?

Thanks in advance,
Daniel Fortunov

On Wednesday, April 25, 2012 11:31:46 AM UTC+1, Marcel Schutte wrote:

 Hi,

 Does anyone have experience migrating from hudson 2.2.0 to jenkins
 (current version, 1.461) ? The format of the hudson config files has
 changed and migration isn't as easy as it used to be:

 - some settings aren't picked up (for instance a project specific jdk and
 the schedule for 'build periodically')
 - even after selecting 'upgrade' and 'discard unreadable data', I get lots
 of startup errors like this:

 WARNING: Skipping a non-existent field project-properties
 com.thoughtworks.xstream.converters.reflection.NonExistentFieldException:
 No such field hudson.maven.MavenModule.project-properties

 I've got 800+ jobs, so fixing them manually is not something I look
 forward to :)

 Regards,
 Marcel



RE: Token Macro plugin v1.5.1 disrupts Email-Ext plugin

2012-12-27 Thread Alex Earl
 notifications
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary==_Part_459_28571250.1356676206148

--=_Part_459_28571250.1356676206148
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

Email-ext has not been tested with 1.494, it is tested with the LTS
release.

Sent from my Windows Phone
From: Vikram Toprani
Sent: 12/27/2012 11:30 PM
To: jenkinsci-users@googlegroups.com
Subject: Token Macro plugin v1.5.1 disrupts Email-Ext plugin
notifications
I'm using Jenkins v1.494 and was successfully using Email-ext plugin v2.25.
But yesterday when I installed  Conditional BuildStep Plugin, the
notifications from Email-ext suddenly stopped firing.
Once I uninstalled Conditional BuildStep plugin, the emails worked fine.
Upon investigating I realized that there is a common dependency between the
two, that of  Token Macro Plugin v1.5.1.
So, I installed Token Macro plugin independently and as expected, emails
failed again.
I believe Token Macro plugin has got something to do with notifications not
working.

Request you guys to please look into this scenario.

Thanks in advance.


--=_Part_459_28571250.1356676206148
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

htmlheadmeta content=3Dtext/html; charset=3Dutf-8 http-equiv=3DCont=
ent-Type/headbodydivdiv style=3Dfont-family: Calibri,sans-serif; =
font-size: 11pt;Email-ext has not been tested with 1.494, it is tested wi=
th the LTS release. brbrSent from my Windows Phonebr/div/divhr=
span style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt; font-weight:=
 bold;From: /spanspan style=3Dfont-family: Tahoma,sans-serif; font-si=
ze: 10pt;Vikram Toprani/spanbrspan style=3Dfont-family: Tahoma,sans=
-serif; font-size: 10pt; font-weight: bold;Sent: /spanspan style=3Dfo=
nt-family: Tahoma,sans-serif; font-size: 10pt;12/27/2012 11:30 PM/span=
brspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt; font-wei=
ght: bold;To: /spanspan style=3Dfont-family: Tahoma,sans-serif; font-=
size: 10pt;jenkinsci-users@googlegroups.com/spanbrspan style=3Dfont=
-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;Subject: =
/spanspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;Toke=
n Macro plugin v1.5.1 disrupts Email-Ext plugin notifications/spanbrbr=
/body/htmlI'm using Jenkins v1.494 and was successfully using Email-ex=
t plugin v2.25.divBut yesterday when I installed nbsp;Conditional BuildS=
tep Plugin, the notifications from Email-ext suddenly stopped firing./div=
divOnce I uninstalled Conditional BuildStep plugin, the emails worked fin=
e.br/divdivUpon investigating I realized that there is a common depen=
dency between the two, that ofnbsp;nbsp;Token Macro Plugin v1.5.1./div=
divSo, I installed Token Macro plugin independently and as expected, email=
s failed again./divdivI believe Token Macro plugin has got something to=
 do with notifications not working./divdivbr/divdivRequest you gu=
ys to please look into this scenario./divdivbr/divdivThanks in ad=
vance./divdivbr/div
--=_Part_459_28571250.1356676206148--


RE: Hudson to Jenkins migration

2012-12-19 Thread Alex Earl
I think you misunderstood what I meant. After the split if Jenkins and
Hudson, which was around 1.390 or something like that, Hudson changed
its format for storing configuration in the XML. This does not mean
that Jenkins 1.390 is compatible with current Hudson XML, it means that
Hudson's file format changed and is no longer compatible with Jenkins
XML format. If you were upgrading from Hudson 1.39x, before they
changed formats, then you would have no issue upgrading.

Sent from my Windows Phone
From: Stuart Lorber
Sent: 12/19/2012 7:14 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: Hudson to Jenkins migration
I've read on the Jenkins site that I can replace the hudson.war file with the
jenkins.war file by backing up the hudson.war file and renaming the
jenkins.war file to hudson.war.

If I use a 1.3x jenkins.war file which is compatible with hudson 2.2.1
config format and after change over upgrade to latest jenkins version

Does this make sense?

If I use the .war file rename how will jenkins know that it should replace
the jenkins.war file (renamed to hudson.war)?

Which 1.3x version should I start with for the migration?

I can't seem to find the .deb installers for anything earlier than the
latest.  The archives contain just the .war files.

Or should I use an earlier jenkins.war file, create a totally separate
install and migrate over job by job and run in parallel until I know all is
okay?

Suggestions?

Thank you.



--
View this message in context:
http://jenkins.361315.n4.nabble.com/Hudson-to-Jenkins-migration-tp4649322p4649431.html
Sent from the Jenkins users mailing list archive at Nabble.com.


RE: Hudson to Jenkins migration

2012-12-18 Thread Alex Earl
I'm not familiar with the installers, but it would probably be a good
idea.

Sent from my Windows Phone
From: Les Mikesell
Sent: 12/18/2012 10:50 AM
To: jenkinsci-users@googlegroups.com
Cc: Stuart Lorber
Subject: Re: Hudson to Jenkins migration
On Tue, Dec 18, 2012 at 8:56 AM, Alex Earl slide.o@gmail.com wrote:
 It depends on what version. The last point at which it will probably
 work very well is 1.3x. After that the formats for the job and config
 XML diverged significantly.

Wouldn't it be best if the installers stopped trying to migrate old
hudson installs and breaking them in the process?

-- 
Les Mikesell
   lesmikes...@gmail.com


RE: issue with Chrome Version 23.0.1271.95

2012-12-05 Thread Alex Earl
Any errors on the JavaScript console?

Sent from my Windows Phone
--
From: Kamal Ahmed
Sent: 12/5/2012 6:55 PM
To: jenkinsci-users@googlegroups.com
Subject: issue with Chrome Version 23.0.1271.95

There seems to be an issue with Chrome Version 23.0.1271.95. Pull Down Menu
Items stop working in a project.
I was not able to create Execute Shell. I then switched over to Firefox,
and the same version of Jenkins  1.492 , works
Just thought to let you guys know.
-Kamal.


RE: Email Ext plugin with parameterized booelans

2012-11-29 Thread Alex Earl
In the groovy template you would need to get a variable resolved from
the build instance, then you can resolve your parameters.

Sent from my Windows Phone
From: mickeys
Sent: 11/29/2012 4:12 AM
To: jenkinsci-users@googlegroups.com
Subject: Email Ext plugin with parameterized booelans
I have a quesiton regarding the email ext plugin.

I have setup a groovy script where I would like to send out an email BEFORE
a build starts with some diffrent values.

For example I have four parameterized booleans: A B C and D and I would like
to read out this from the groovy script that email ext is using. Is that
possible?

In default content for email ext I have this:
${SCRIPT,template=groovy-html.template} and then inside the
groovy-html.template I would like to be able to read out the booleans A B C
and D. Is that possible? If YES how?


Also is there a way to get out the Source Code Management project path?


Hope to get some answers because I have tried this for a couple of days now
and cant really figure it out.




--
View this message in context:
http://jenkins.361315.n4.nabble.com/Email-Ext-plugin-with-parameterized-booelans-tp4647626.html
Sent from the Jenkins users mailing list archive at Nabble.com.


RE: email-ext and Send To Committers

2012-11-23 Thread Alex Earl
It depends on how the git plugin is resolving the email address. If it's
not resolving correctly, then email-ext will add the default domain.

Sent from my Windows Phone
--
From: Dan Stine
Sent: 11/23/2012 1:40 PM
To: jenkinsci-users@googlegroups.com
Subject: email-ext and Send To Committers

I’m seeing behavior that I don’t understand.   I’m using email-ext 2.24.1.



I have Send To Commiters enabled.  I also have Manage Jenkins | Configure
System | E-mail Notification | Default user e-mail suffix set to ‘@
domain1.com’.



Suppose a change is committed by the Git Author = ‘foobar 
first.l...@domain2.com'.



The address ‘first.l...@domain1.com’ is included in the recipients list of
the resulting email.  I would expect that the default user suffix would
only be used if the Author string had no domain at all, and that the email
would be sent to ‘first.l...@domain2.com’.  Instead it seems like the
domain that exists in the commit is stripped off and replaced by the
default.



Could there be something else at play?  If not, why does the plugin behave
this way?



Thanks,

Dan


RE: Exception while using groovy-html.template in editable eamil

2012-11-15 Thread Alex Earl
 notification
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary==_Part_1555_14652804.1352977427918

--=_Part_1555_14652804.1352977427918
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

You don't need to worry about init.groovy, it is not currently used. It
looks like you need to upgrade your version of email-ext.

Sent from my Windows Phone
From: Sven Finsterwalder
Sent: 11/15/2012 3:03 AM
To: jenkinsci-users@googlegroups.com
Subject: Exception while using groovy-html.template in editable eamil
notification
Hi all,

i try to send an email and i got that error:

Nov 15, 2012 11:59:38 AM hudson.plugins.emailext.plugins.content.ScriptContent
SEVERE: null
javax.script.ScriptException: javax.script.ScriptException:
groovy.lang.MissingPropertyException: No such property: Jenkins for
class: SimpleTemplateScript5
at 
org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:117)
at 
org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:103)
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:249)
at 
hudson.plugins.emailext.plugins.content.ScriptContent.renderContent(ScriptContent.java:163)
at 
hudson.plugins.emailext.plugins.content.ScriptContent.getContent(ScriptContent.java:121)
at 
hudson.plugins.emailext.plugins.ContentBuilder.replaceTokensWithContent(ContentBuilder.java:115)
at 
hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:88)
at 
hudson.plugins.emailext.ExtendedEmailPublisher.getContent(ExtendedEmailPublisher.java:540)
at 
hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:363)
at 
hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:273)
at 
hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:265)
at 
hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:225)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779)
at hudson.model.Build$BuildExecution.cleanUp(Build.java:192)
at hudson.model.Run.execute(Run.java:1560)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)
Caused by: javax.script.ScriptException:
groovy.lang.MissingPropertyException: No such property: Jenkins for
class: SimpleTemplateScript5
at 
org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:318)
at 
org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:111)
... 19 more
Caused by: groovy.lang.MissingPropertyException: No such property:
Jenkins for class: SimpleTemplateScript5
at 
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50)
at 
org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49)
at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231)
at SimpleTemplateScript5.run(SimpleTemplateScript5.groovy:223)
at 
groovy.text.SimpleTemplateEngine$SimpleTemplate$1.writeTo(SimpleTemplateEngine.java:165)
at 
groovy.text.SimpleTemplateEngine$SimpleTemplate$1.toString(SimpleTemplateEngine.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at 
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:230)
at 
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
at Script5.run(Script5.groovy:12)
at 
org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:315)
... 20 more


Nov 15, 2012 11:59:38 AM hudson.plugins.emailext.plugins.content.ScriptContent
SEVERE: Exception on init file: java.io.FileNotFoundException:
/home/hudson/email-templates/groovy/init.groovy (No such file or
directory)

Nov 15, 2012 

RE: Eamil-ext plugin add text to msg

2012-11-14 Thread Alex Earl
Just put it into the content template, why do it through a pre-send script?
The templates are very powerful.

Sent from my Windows Phone
--
From: Sven Finsterwalder
Sent: 11/14/2012 4:35 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: Eamil-ext plugin add text to msg

Yes that works...
How can i add now this two vaulue to that email:
${BUILD_URL}
br
${BUILD_LOG, maxLines=250, escapeHtml=true}

Can i add this also in the pre-send Script area?


Am Mittwoch, 14. November 2012 11:43:32 UTC+1 schrieb slide:

 Have you tried with something more simple, like just calling .setText with
 some random content?


 On Wed, Nov 14, 2012 at 12:32 AM, Sven Finsterwalder 
 sab...@gmail.comjavascript:
  wrote:

 Ok here it is:
 That code is the pre-send script area:

 def deploymentJob =
 Jenkins.getInstance().getItemByFullName(deployment-universal)
 def colorDeployment = deploymentJob.getIconColor()
 def testJob =
 Jenkins.getInstance().getItemByFullName(selenium2-portalservices-Smoketests-windows-Chrome-2.2)
 def colorTestJob = testJob.getIconColor()

 if(colorDeployment == hudson.model.BallColor.BLUE  colorTestJob !=
 hudson.model.BallColor.BLUE){

def lastbuild = testJob.getLastBuild()
def build = testJob.getBuildByNumber(lastbuild.getNumber())
def logFilePath = build.getLogFile().getPath()
String logContent = new File(logFilePath).text

def i = logContent.indexOf(Running TestSuite)
def size = logContent.size()
def selOutput = logContent.substring(i,size)

logger.log(selOutput)
msg.setText(selOutput)
 }


 Am Dienstag, 13. November 2012 16:14:13 UTC+1 schrieb slide:

 Please show your code.


 On Tue, Nov 13, 2012 at 8:01 AM, Sven Finsterwalder sab...@gmail.comwrote:

 Hi,

 how can add text to the email that will be send.

 msg - the MimeMessage object which can be modified

 I try it with the pre-send script, but it does not work :-(
 Please give me an example code line.

 Thanks




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




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



RE: Eamil-ext plugin add text to msg

2012-11-14 Thread Alex Earl
Please look at the wiki where it talks about groovy templates. You can do
checks for things just like the code you have in the pre-send script, but
then you don't have to worry about modifying the message afterward.

Sent from my Windows Phone
--
From: Sven Finsterwalder
Sent: 11/14/2012 5:32 AM
To: jenkinsci-users@googlegroups.com
Cc: Sven Finsterwalder
Subject: Re: Eamil-ext plugin add text to msg

Yes thats what i mean.

Am Mittwoch, 14. November 2012 13:26:25 UTC+1 schrieb AdvanTiSS:

 You mean TokenMacro inline groovy script?

 On Wednesday, November 14, 2012 2:22:13 PM UTC+2, slide wrote:

 Just put it into the content template, why do it through a pre-send
 script? The templates are very powerful.

 Sent from my Windows Phone
 --
 From: Sven Finsterwalder
 Sent: 11/14/2012 4:35 AM
 To: jenkins...@googlegroups.com
 Subject: Re: Eamil-ext plugin add text to msg

 Yes that works...
 How can i add now this two vaulue to that email:
 ${BUILD_URL}
 br
 ${BUILD_LOG, maxLines=250, escapeHtml=true}

 Can i add this also in the pre-send Script area?


 Am Mittwoch, 14. November 2012 11:43:32 UTC+1 schrieb slide:

 Have you tried with something more simple, like just calling .setText
 with some random content?


 On Wed, Nov 14, 2012 at 12:32 AM, Sven Finsterwalder 
 sab...@gmail.comwrote:

 Ok here it is:
 That code is the pre-send script area:

 def deploymentJob =
 Jenkins.getInstance().getItemByFullName(deployment-universal)
 def colorDeployment = deploymentJob.getIconColor()
 def testJob =
 Jenkins.getInstance().getItemByFullName(selenium2-portalservices-Smoketests-windows-Chrome-2.2)
 def colorTestJob = testJob.getIconColor()

 if(colorDeployment == hudson.model.BallColor.BLUE  colorTestJob !=
 hudson.model.BallColor.BLUE){

def lastbuild = testJob.getLastBuild()
def build = testJob.getBuildByNumber(lastbuild.getNumber())
def logFilePath = build.getLogFile().getPath()
String logContent = new File(logFilePath).text

def i = logContent.indexOf(Running TestSuite)
def size = logContent.size()
def selOutput = logContent.substring(i,size)

logger.log(selOutput)
msg.setText(selOutput)
 }


 Am Dienstag, 13. November 2012 16:14:13 UTC+1 schrieb slide:

 Please show your code.


 On Tue, Nov 13, 2012 at 8:01 AM, Sven Finsterwalder 
 sab...@gmail.comwrote:

 Hi,

 how can add text to the email that will be send.

 msg - the MimeMessage object which can be modified

 I try it with the pre-send script, but it does not work :-(
 Please give me an example code line.

 Thanks




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




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




RE: Jenkins email ext plugin -To Send the file contents as mail

2012-11-14 Thread Alex Earl
 message body
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary==_Part_375_26436934.1352907687514

--=_Part_375_26436934.1352907687514
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

You most likely can't send an iframe correctly in an email. I'm
guessing most email clients will block that.

Sent from my Windows Phone
From: hari haran
Sent: 11/14/2012 7:41 AM
To: jenkinsci-users@googlegroups.com
Subject: Jenkins email ext plugin -To Send the file contents as mail
message body
Hi All,

I added email-ext to my jenkins to send emails about test results . I want
to send a html file content as email message body.

I tried changing Content Type as HTML (text/html) and i gave an iframe
in Default Content field. But its not able to pick the iframe. Here is
the code

Code Used In Default Content

$PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS:

br /iframe src=http://www.w3schools.com; width=200
height=200pyou should have seen my other page here, but something
broke./p/iframe

br /Check console output at $BUILD_URL to view the results.

br /Failed tests: ${FAILED_TESTS}

Please someone  tell me how Default Content should be changed so that its
able to pick  the HTML file contents and display it as message body

--=_Part_375_26436934.1352907687514
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

htmlheadmeta content=3Dtext/html; charset=3Dutf-8 http-equiv=3DCont=
ent-Type/headbodydivdiv style=3Dfont-family: Calibri,sans-serif; =
font-size: 11pt;You most likely can't send an iframe correctly in an emai=
l. I'm guessing most email clients will block that.brbrSent from my Win=
dows Phonebr/div/divhrspan style=3Dfont-family: Tahoma,sans-serif=
; font-size: 10pt; font-weight: bold;From: /spanspan style=3Dfont-fam=
ily: Tahoma,sans-serif; font-size: 10pt;hari haran/spanbrspan style=
=3Dfont-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;Se=
nt: /spanspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;=
11/14/2012 7:41 AM/spanbrspan style=3Dfont-family: Tahoma,sans-serif=
; font-size: 10pt; font-weight: bold;To: /spanspan style=3Dfont-famil=
y: Tahoma,sans-serif; font-size: 10pt;jenkinsci-users@googlegroups.com/s=
panbrspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt; fon=
t-weight: bold;Subject: /spanspan style=3Dfont-family: Tahoma,sans-se=
rif; font-size: 10pt;Jenkins email ext plugin -To Send the file contents =
as mail message body/spanbrbr/body/htmlHi All,brbrI added ema=
il-ext to my jenkins to send emails about test results . I want to send a h=
tml file content as email message body.brbrI tried changing Content Ty=
pe as HTML (text/html) and i gave an iframe in Default Content field. =
But its not able to pick the iframe. Here is the codebrbrCode Used In =
Default Contentbrbr$PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STAT=
US:brbrlt;br /gt;lt;iframe src=3Dhttp://www.w3schools.com; width=3D=
200 height=3D200gt;lt;pgt;you should have seen my other page here, b=
ut something broke.lt;/pgt;lt;/iframegt;brbrlt;br /gt;Check conso=
le output at $BUILD_URL to view the results.brbrlt;br /gt;Failed test=
s: ${FAILED_TESTS}brbrPlease someonenbsp; tell me how Default Content=
 should be changed so that its able to picknbsp; the HTML file contents a=
nd display it as message bodybr
--=_Part_375_26436934.1352907687514--


RE: Editable Email Notification. How do I set conditional Email

2012-11-09 Thread Alex Earl
No, it doesnt

Sent from my Windows Phone
--
From: AdvanTiSS
Sent: 11/9/2012 12:04 AM
To: jenkinsci-users@googlegroups.com
Cc: Varghese Renny
Subject: Re: Editable Email Notification. How do I set conditional Email

Pre-send script must have return statement

if(cause)
{
cancel=true
}
return cancel

On Friday, November 9, 2012 7:31:34 AM UTC+2, slide wrote:

 Logic?
 MIME-Version: 1.0
 Content-Type: multipart/alternative; boundary=f46d044306707d987804ce08ac46

 --f46d044306707d987804ce08ac46
 Content-Type: text/plain; charset=utf-8
 Content-Transfer-Encoding: 7bit

 Also what do you mean based on the results? Based on the return code?
 Based on some output from an app?

 Sent from my Windows Phone
 From: Varghese Renny
 Sent: 11/8/2012 9:49 PM
 To: jenkins...@googlegroups.com javascript:
 Subject: Re: Editable Email Notification. How do I set conditional
 Email Logic?
 Hi Tom,

 In presend script you can mention like this..

 import hudson.model.Cause.UpstreamCause
  def cause = build.causes.find {
   if(it instanceof hudson.model.Cause.UpstreamCause) {
   return true
   }
   return false
  }

 if(cause)
 {
 cancel=true
 }

 I don't know how it cancel based on shell..Probably you can check some
 api's.
 What's your shell script actually doing?

 Regards,
 varghese

 On Fri, Nov 9, 2012 at 4:45 AM, Tom80112 nez...@yahoo.com javascript:
 wrote:

  Inside my execute shell window I perform script logic.
 
  Based on the results within the execute shell window, I may or may
  not want to send email via the Jenkins Email Extension Plugin.
 
  I have read that I can set up a pre-send script to cancel email being
  set up by setting cancel=true.
 
  My question is how how I set cancel=true based upon the outcome of
  logic within the execute shell window?   There is no way to pass a
  variable from the execute shell window to the pre-send script.. 
 
  Please Help.. :)
 
 
 
  --
  View this message in context:
 
 http://jenkins.361315.n4.nabble.com/Editable-Email-Notification-How-do-I-set-conditional-Email-Logic-tp4645626.html
  Sent from the Jenkins users mailing list archive at Nabble.com.
 

 --f46d044306707d987804ce08ac46
 Content-Type: text/html; charset=utf-8
 Content-Transfer-Encoding: quoted-printable

 htmlheadmeta content=3Dtext/html; charset=3Dutf-8
 http-equiv=3DCont=
 ent-Type/headbodydivdiv style=3Dfont-family: Calibri,sans-serif;
 =
 font-size: 11pt;Also what do you mean based on the results? Based on the
 =
 return code? Based on some output from an app?brbrSent from my Windows
 =
 Phonebr/div/divhrspan style=3Dfont-family: Tahoma,sans-serif;
 fon=
 t-size: 10pt; font-weight: bold;From: /spanspan style=3Dfont-family:
 =
 Tahoma,sans-serif; font-size: 10pt;Varghese Renny/spanbrspan style=
 =3Dfont-family: Tahoma,sans-serif; font-size: 10pt; font-weight:
 bold;Se=
 nt: /spanspan style=3Dfont-family: Tahoma,sans-serif; font-size:
 10pt;=
 11/8/2012 9:49 PM/spanbrspan style=3Dfont-family:
 Tahoma,sans-serif;=
  font-size: 10pt; font-weight: bold;To: /spanspan
 style=3Dfont-family=
 : Tahoma,sans-serif; font-size: 
 10pt;jenkins...@googlegroups.comjavascript:/sp=

 anbrspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;
 font=
 -weight: bold;Subject: /spanspan style=3Dfont-family:
 Tahoma,sans-ser=
 if; font-size: 10pt;Re: Editable Email Notification. How do I set
 conditi=
 onal Email Logic?/spanbrbr/body/htmlHi Tom,brbrIn presend
 scr=
 ipt you can mention like this..brbrimport
 hudson.model.Cause.UpstreamCa=
 usebr=C2=A0def cause =3D build.causes.find
 {br=C2=A0=C2=A0=C2=A0=C2=A0=
 =C2=A0 if(it instanceof hudson.model.Cause.UpstreamCause)
 {br=C2=A0=C2=A0=
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return truebr
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 }br=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return
 f=
 alsebr=C2=A0}brbrif(cause)br{brcancel=3Dtruebr}brbrI
 don#3=
 9;t know how it cancel based on shell..Probably you can check some
 api#39;=
 s.br
 What#39;s your shell script actually doing?br
 brRegards,brvarghese brbrdiv class=3Dgmail_quoteOn Fri, Nov 9,
 =
 2012 at 4:45 AM, Tom80112 span dir=3Dltrlt;a href=3Dmailto:
 nez...@ya javascript:=
 hoo.com target=3D_blanknez...@yahoo.com javascript:/agt;/span
 wrote:brblock=
 quote class=3Dgmail_quote style=3Dmargin:0 0 0 .8ex;border-left:1px
 #ccc=
  solid;padding-left:1ex
 Inside my quot;execute shellquot; window I perform script logic.br
 br
 Based on the results within the quot;execute shellquot; window, I may or
 =
 maybr
 not want to send email via the Jenkins Email Extension Plugin.br
 br
 I have read that I can set up a pre-send script to cancel email beingbr
 set up by setting cancel=3Dtrue.br
 br
 My question is how how I set cancel=3Dtrue based upon the outcome ofbr
 logic within the quot;execute shellquot; window? =C2=A0 There is no way
 t=
 o pass abr
 variable from the quot;execute shellquot; window to the pre-send
 script..=
  br
 br
 Please Help.. :)br
 br
 br
 br
 --br
 View this message 

RE: Editable Email Notification. How do I set conditional Email

2012-11-09 Thread Alex Earl
I'm pretty sure it will take the value of the last expression.

Sent from my Windows Phone
--
From: AdvanTiSS
Sent: 11/9/2012 7:12 AM
To: jenkinsci-users@googlegroups.com
Cc: AdvanTiSS; Varghese Renny
Subject: Re: Editable Email Notification. How do I set conditional Email

Are you sure???

ExtendedEmailPublisher.java

private boolean executePresendScript(AbstractBuild?, ? build,
BuildListener listener, MimeMessage msg)
throws RuntimeException {
.
Object output = shell.evaluate(presendScript);
if(output!=null) {
pw.println(Result: +output);
cancel =
((Boolean)shell.getVariable(cancel)).booleanValue();
}

}


On Friday, November 9, 2012 4:03:58 PM UTC+2, slide wrote:

 No, it doesnt

 Sent from my Windows Phone
 --
 From: AdvanTiSS
 Sent: 11/9/2012 12:04 AM
 To: jenkins...@googlegroups.com javascript:
 Cc: Varghese Renny
 Subject: Re: Editable Email Notification. How do I set conditional Email

 Pre-send script must have return statement

 if(cause)
 {
 cancel=true
 }
 return cancel

 On Friday, November 9, 2012 7:31:34 AM UTC+2, slide wrote:

 Logic?
 MIME-Version: 1.0
 Content-Type: multipart/alternative;
 boundary=f46d044306707d987804ce08ac46

 --f46d044306707d987804ce08ac46
 Content-Type: text/plain; charset=utf-8
 Content-Transfer-Encoding: 7bit

 Also what do you mean based on the results? Based on the return code?
 Based on some output from an app?

 Sent from my Windows Phone
 From: Varghese Renny
 Sent: 11/8/2012 9:49 PM
 To: jenkins...@googlegroups.com
 Subject: Re: Editable Email Notification. How do I set conditional
 Email Logic?
 Hi Tom,

 In presend script you can mention like this..

 import hudson.model.Cause.UpstreamCause
  def cause = build.causes.find {
   if(it instanceof hudson.model.Cause.UpstreamCause) {
   return true
   }
   return false
  }

 if(cause)
 {
 cancel=true
 }

 I don't know how it cancel based on shell..Probably you can check some
 api's.
 What's your shell script actually doing?

 Regards,
 varghese

 On Fri, Nov 9, 2012 at 4:45 AM, Tom80112 nez...@yahoo.com wrote:

  Inside my execute shell window I perform script logic.
 
  Based on the results within the execute shell window, I may or may
  not want to send email via the Jenkins Email Extension Plugin.
 
  I have read that I can set up a pre-send script to cancel email being
  set up by setting cancel=true.
 
  My question is how how I set cancel=true based upon the outcome of
  logic within the execute shell window?   There is no way to pass a
  variable from the execute shell window to the pre-send script.. 
 
  Please Help.. :)
 
 
 
  --
  View this message in context:
 
 http://jenkins.361315.n4.nabble.com/Editable-Email-Notification-How-do-I-set-conditional-Email-Logic-tp4645626.html
  Sent from the Jenkins users mailing list archive at Nabble.com.
 

 --f46d044306707d987804ce08ac46
 Content-Type: text/html; charset=utf-8
 Content-Transfer-Encoding: quoted-printable

 htmlheadmeta content=3Dtext/html; charset=3Dutf-8
 http-equiv=3DCont=
 ent-Type/headbodydivdiv style=3Dfont-family:
 Calibri,sans-serif; =
 font-size: 11pt;Also what do you mean based on the results? Based on
 the =
 return code? Based on some output from an app?brbrSent from my
 Windows =
 Phonebr/div/divhrspan style=3Dfont-family: Tahoma,sans-serif;
 fon=
 t-size: 10pt; font-weight: bold;From: /spanspan
 style=3Dfont-family: =
 Tahoma,sans-serif; font-size: 10pt;Varghese Renny/spanbrspan
 style=
 =3Dfont-family: Tahoma,sans-serif; font-size: 10pt; font-weight:
 bold;Se=
 nt: /spanspan style=3Dfont-family: Tahoma,sans-serif; font-size:
 10pt;=
 11/8/2012 9:49 PM/spanbrspan style=3Dfont-family:
 Tahoma,sans-serif;=
  font-size: 10pt; font-weight: bold;To: /spanspan
 style=3Dfont-family=
 : Tahoma,sans-serif; font-size: 10pt;jenkins...@googlegroups.com/sp=
 anbrspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;
 font=
 -weight: bold;Subject: /spanspan style=3Dfont-family:
 Tahoma,sans-ser=
 if; font-size: 10pt;Re: Editable Email Notification. How do I set
 conditi=
 onal Email Logic?/spanbrbr/body/htmlHi Tom,brbrIn presend
 scr=
 ipt you can mention like this..brbrimport
 hudson.model.Cause.UpstreamCa=
 usebr=C2=A0def cause =3D build.causes.find
 {br=C2=A0=C2=A0=C2=A0=C2=A0=
 =C2=A0 if(it instanceof hudson.model.Cause.UpstreamCause)
 {br=C2=A0=C2=A0=
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return truebr
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 }br=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return
 f=
 alsebr=C2=A0}brbrif(cause)br{brcancel=3Dtruebr}brbrI
 don#3=
 9;t know how it cancel based on shell..Probably you can check some
 api#39;=
 s.br
 What#39;s your shell script actually doing?br
 brRegards,brvarghese brbrdiv class=3Dgmail_quoteOn Fri, Nov
 9, =
 2012 at 4:45 AM, Tom80112 span dir=3Dltrlt;a href=3Dmailto:
 nez...@ya=
 

RE: Editable Email Notification. How do I set conditional Email

2012-11-08 Thread Alex Earl
 Logic?
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary=f46d044306707d987804ce08ac46

--f46d044306707d987804ce08ac46
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

Also what do you mean based on the results? Based on the return code?
Based on some output from an app?

Sent from my Windows Phone
From: Varghese Renny
Sent: 11/8/2012 9:49 PM
To: jenkinsci-users@googlegroups.com
Subject: Re: Editable Email Notification. How do I set conditional
Email Logic?
Hi Tom,

In presend script you can mention like this..

import hudson.model.Cause.UpstreamCause
 def cause = build.causes.find {
  if(it instanceof hudson.model.Cause.UpstreamCause) {
  return true
  }
  return false
 }

if(cause)
{
cancel=true
}

I don't know how it cancel based on shell..Probably you can check some
api's.
What's your shell script actually doing?

Regards,
varghese

On Fri, Nov 9, 2012 at 4:45 AM, Tom80112 nez...@yahoo.com wrote:

 Inside my execute shell window I perform script logic.

 Based on the results within the execute shell window, I may or may
 not want to send email via the Jenkins Email Extension Plugin.

 I have read that I can set up a pre-send script to cancel email being
 set up by setting cancel=true.

 My question is how how I set cancel=true based upon the outcome of
 logic within the execute shell window?   There is no way to pass a
 variable from the execute shell window to the pre-send script.. 

 Please Help.. :)



 --
 View this message in context:
 http://jenkins.361315.n4.nabble.com/Editable-Email-Notification-How-do-I-set-conditional-Email-Logic-tp4645626.html
 Sent from the Jenkins users mailing list archive at Nabble.com.


--f46d044306707d987804ce08ac46
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

htmlheadmeta content=3Dtext/html; charset=3Dutf-8 http-equiv=3DCont=
ent-Type/headbodydivdiv style=3Dfont-family: Calibri,sans-serif; =
font-size: 11pt;Also what do you mean based on the results? Based on the =
return code? Based on some output from an app?brbrSent from my Windows =
Phonebr/div/divhrspan style=3Dfont-family: Tahoma,sans-serif; fon=
t-size: 10pt; font-weight: bold;From: /spanspan style=3Dfont-family: =
Tahoma,sans-serif; font-size: 10pt;Varghese Renny/spanbrspan style=
=3Dfont-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;Se=
nt: /spanspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;=
11/8/2012 9:49 PM/spanbrspan style=3Dfont-family: Tahoma,sans-serif;=
 font-size: 10pt; font-weight: bold;To: /spanspan style=3Dfont-family=
: Tahoma,sans-serif; font-size: 10pt;jenkinsci-users@googlegroups.com/sp=
anbrspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt; font=
-weight: bold;Subject: /spanspan style=3Dfont-family: Tahoma,sans-ser=
if; font-size: 10pt;Re: Editable Email Notification. How do I set conditi=
onal Email Logic?/spanbrbr/body/htmlHi Tom,brbrIn presend scr=
ipt you can mention like this..brbrimport hudson.model.Cause.UpstreamCa=
usebr=C2=A0def cause =3D build.causes.find {br=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0 if(it instanceof hudson.model.Cause.UpstreamCause) {br=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return truebr
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 }br=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return f=
alsebr=C2=A0}brbrif(cause)br{brcancel=3Dtruebr}brbrI don#3=
9;t know how it cancel based on shell..Probably you can check some api#39;=
s.br
What#39;s your shell script actually doing?br
brRegards,brvarghese brbrdiv class=3Dgmail_quoteOn Fri, Nov 9, =
2012 at 4:45 AM, Tom80112 span dir=3Dltrlt;a href=3Dmailto:nezwek@ya=
hoo.com target=3D_blanknez...@yahoo.com/agt;/span wrote:brblock=
quote class=3Dgmail_quote style=3Dmargin:0 0 0 .8ex;border-left:1px #ccc=
 solid;padding-left:1ex
Inside my quot;execute shellquot; window I perform script logic.br
br
Based on the results within the quot;execute shellquot; window, I may or =
maybr
not want to send email via the Jenkins Email Extension Plugin.br
br
I have read that I can set up a pre-send script to cancel email beingbr
set up by setting cancel=3Dtrue.br
br
My question is how how I set cancel=3Dtrue based upon the outcome ofbr
logic within the quot;execute shellquot; window? =C2=A0 There is no way t=
o pass abr
variable from the quot;execute shellquot; window to the pre-send script..=
 br
br
Please Help.. :)br
br
br
br
--br
View this message in context: a href=3Dhttp://jenkins.361315.n4.nabble.co=
m/Editable-Email-Notification-How-do-I-set-conditional-Email-Logic-tp464562=
6.html target=3D_blankhttp://jenkins.361315.n4.nabble.com/Editable-Emai=
l-Notification-How-do-I-set-conditional-Email-Logic-tp4645626.html/abr

Sent from the Jenkins users mailing list archive at Nabble.com.br
/blockquote/divbr

--f46d044306707d987804ce08ac46--


RE: ERROR: Could not send email as a part of the post-build

2012-10-10 Thread Alex Earl
 publishers.
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary=e89a8ff1c166fd555b04cbc1c39d

--e89a8ff1c166fd555b04cbc1c39d
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

The exception is different from that issue. I can't debug an old
version, so please upgrade and see if the problem persists. If it does,
file an issue in jira with as much information as you can.

Sent from my Windows Phone
From: hitesh kumar
Sent: 10/10/2012 10:23 PM
To: jenkinsci-...@googlegroups.com; slide.o@gmail.com
Cc: jenkinsci-users@googlegroups.com
Subject: Re: ERROR: Could not send email as a part of the post-build
publishers.
Thanks Slide for reply.
i am using email ext-2.22
is latest   2.24.1 having fix of it???

as per https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin
below raised issue already should be fixed in 2.19 version.

   - JENKINS-12047 https://issues.jenkins-ci.org/browse/JENKINS-12047

ERROR: Could not send email as a part of the post-build
publishers.https://issues.jenkins-ci.org/browse/JENKINS-12047

Please share your comment?


On Thu, Oct 11, 2012 at 2:00 PM, Slide slide.o@gmail.com wrote:

 Looks like you are on an older version of email-ext.

 slide


 On Wed, Oct 10, 2012 at 9:59 PM, hitesh kumar hits...@gmail.com wrote:

 Hi,
 Please let me know if any one facing below issue and having
 any solution or workaround.
 *env:*
 LTS jenkins 1.447.2
 email ext-2.22
 ubuntu 10.04

 *Job config:*
 -matrix job
 -Variants 1 2 3
 -select Trigger for each configuration at editable email Notification.

 *ISSUE :one of variant job is not sending mail and generating below
 issue: other variant jobs are sending mails.*
 ERROR: Could not send email as a part of the post-build publishers.
 javax.mail.MessagingException: IOException while sending message;
   nested exception is:
 java.io.IOException
  at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1141)
 at javax.mail.Transport.send0(Transport.java:195)
  at javax.mail.Transport.send(Transport.java:124)
 at
 hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:282)
  at
 hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:265)
 at
 hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:225)
  at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
 at
 hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697)
  at
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672)
 at
 hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650)
  at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
 at hudson.model.Run.run(Run.java:1448)
  at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
 at hudson.model.ResourceController.execute(ResourceController.java:88)
  at hudson.model.Executor.run(Executor.java:238)
 Caused by: java.io.IOException
 at
 hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:175)
  at
 hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:151)
 at javax.activation.DataHandler.writeTo(DataHandler.java:293)
  at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1476)
 at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:865)
  at javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:462)
 at com.sun.mail.handlers.multipart_mixed.writeTo(multipart_mixed.java:103)
  at
 javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:869)
 at javax.activation.DataHandler.writeTo(DataHandler.java:302)
  at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1476)
 at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1772)
  at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1099)
 ... 14 more




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


--e89a8ff1c166fd555b04cbc1c39d
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

htmlheadmeta content=3Dtext/html; charset=3Dutf-8 http-equiv=3DCont=
ent-Type/headbodydivdiv style=3Dfont-family: Calibri,sans-serif; =
font-size: 11pt;The exception is different from that issue. I can't debug=
 an old version, so please upgrade and see if the problem persists. If it d=
oes, file an issue in jira with as much information as you can.brbrSent=
 from my Windows Phonebr/div/divhrspan style=3Dfont-family: Tahom=
a,sans-serif; font-size: 10pt; font-weight: bold;From: /spanspan style=
=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;hitesh kumar/spanb=
rspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt; font-weig=
ht: bold;Sent: /spanspan style=3Dfont-family: Tahoma,sans-serif; font=
-size: 10pt;10/10/2012 10:23 PM/spanbrspan style=3Dfont-family: Tah=
oma,sans-serif; font-size: 10pt; font-weight: bold;To: /spanspan style=
=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;jenkinsci-dev@googleg=
roups.com; slide.o@gmail.com/spanbrspan style=3Dfont-family: 

RE: Jenkins + Email-ext - How to configure per-project settings?

2012-10-05 Thread Alex Earl
This issue was that the email-ext couldn't be added to post build actions.
If you have added it, and you are getting the emails, then you are not
seeing this issue. The default email content for email-ext is not much
different from the default mailer, you have to configure it how you want.

Sent from my Windows Phone
--
From: Dan
Sent: 10/5/2012 7:39 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: Jenkins + Email-ext - How to configure per-project settings?

Was there ever any resolution here? I'm having similar symptoms: set up
global settings, checked the per-project checkbox, not getting any extended
info in the emails. We're running Jenkins 1.447, email-ext 2.24.1.

On Tuesday, May 15, 2012 4:02:54 PM UTC-5, slide wrote:

 Yes, EVERYONE who upgrades to 1.463 will have this problem.

 On Tue, May 15, 2012 at 1:49 PM, John Vacz
 mailing.lis...@googlemail.com javascript: wrote:
  I also have the same problem after we upgraded to Jenkins 1.463 +
 Email-ext
  2.20.
 
 
  On 13.05.2012 21:09, v0idnull wrote:
 
  I'm running Jenkins 1.463 and Email Ext 2.20. All post build actions are
 in
  a drop down menu for me, and they all add form elements except for Email
 Ext
 
  On Sunday, 13 May 2012 15:06:55 UTC-4, Dan Stine wrote:
 
  Editable Email Notification is checkbox-enabled on my installation,
  not a drop-down.  I'm running Jenkins 1.448 and Email Ext 2.20.
 
  Dan
 
  On May 13, 1:40 pm, v0idnull v0idn...@gmail.com wrote:
   So I want to get emails from successful builds and it seems that I
 need
   the
   email-ext plugin.
  
   So I've installed it, set it up to override global settings, set
   everything
   correctly.
  
   But when I goto the project settings, when I try to select Editable
   Email
   Notifications from the post build actions drop down, nothing happens.
   It's
   not being added to the post build queue.
  
   So Im not sure what else I have to do to enable it, any help would be
   greatly appreciated, thanks
 
 



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



RE: Hudson to Jenkins migration

2012-09-28 Thread Alex Earl
First, what version of Hudson are you trying to migrate from? The formats
for the XML files diverged after a certain point l, which makes it very
difficult to migrate. Are you using the deb packaging?

Sent from my Windows Phone
--
From: Fory Horio
Sent: 9/28/2012 5:24 PM
To: jenkinsci-users@googlegroups.com
Subject: Hudson to Jenkins migration

Hi, I have an old Ubuntu server running Hudson. I'd like to migrate it to a
new hardware running Jenkins on Ubuntu. I have copied /var/lib/hudson/* to
the new server, and renamed it to /var/lib/jenkins, but it does not see the
jobs created in the old server. I tried changing JENKINS_HOME from
/var/lib/jenkins to /var/lib/husdon, but it did not work either. How do I
migrate jobs from old server to new server???

Best Regards,

Fory Horio


RE: hudson migration: all jobs are gone!

2012-09-15 Thread Alex Earl
The latest Hudson's XML format is VERY different from Jenkin's format from
what I remember. How many jobs do you have?

Sent from my Windows Phone
--
From: Stefan Schwoegler
Sent: 9/15/2012 2:47 PM
To: jenkinsci-users@googlegroups.com
Subject: hudson migration: all jobs are gone!

hello,

i'm attempting to migrate from latest hudson to latest jenkins. after
deploying the new war file to my tomcat instance and firing it up i'm able
to login however all my jobs are missing. when i look at the logs i see
several exceptions 

Caused by: com.thoughtworks.xstream.converters.ConversionException:
TreeMap does not contain comparator element

when parsing the jobs build.xml files.

has anybody else seen this issue? any ideas?

thanks in advance,

--stefan


RE: hudson migration: all jobs are gone!

2012-09-15 Thread Alex Earl
Are the configs complex? You may need to port by hand since the XML formats
diverged.

Sent from my Windows Phone
--
From: Stefan Schwoegler
Sent: 9/15/2012 5:43 PM
To: Alex Earl
Cc: jenkinsci-users@googlegroups.com
Subject: Re: hudson migration: all jobs are gone!

about 20


--
Sent from my mobile device

Stefan Schwoegler
ste...@cryp7.net

On Sep 15, 2012, at 17:42, Alex Earl slide.o@gmail.com wrote:

The latest Hudson's XML format is VERY different from Jenkin's format from
what I remember. How many jobs do you have?

Sent from my Windows Phone
--
From: Stefan Schwoegler
Sent: 9/15/2012 2:47 PM
To: jenkinsci-users@googlegroups.com
Subject: hudson migration: all jobs are gone!

hello,

i'm attempting to migrate from latest hudson to latest jenkins. after
deploying the new war file to my tomcat instance and firing it up i'm able
to login however all my jobs are missing. when i look at the logs i see
several exceptions 


Caused by: com.thoughtworks.xstream.converters.ConversionException:
TreeMap does not contain comparator element

when parsing the jobs build.xml files.

has anybody else seen this issue? any ideas?

thanks in advance,

--stefan


RE: try to compile from source, caught an error. What's wrong?

2012-09-14 Thread Alex Earl
What version of maven are you using?

Sent from my Windows Phone
--
From: Erik Bernoth
Sent: 9/14/2012 4:49 AM
To: jenkinsci-users@googlegroups.com
Subject: try to compile from source, caught an error. What's wrong?

I got the following errors and can't find documentation about them. What am
I doing wrong?

The error occurs is in Jenkins Core (compiled in the github jenkins root
folder on master, with mvn -X clean install, more details after log paste):


[INFO] -
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR]
/home/erikb85/coding/jenkins/core/src/main/java/hudson/DescriptorExtensionList.java:[86,35]
incompatible types; no instance(s) of type variable(s) D exist so that
hudson.DescriptorExtensionListT,D conforms to
hudson.DescriptorExtensionListT,D
found   : Dhudson.DescriptorExtensionListT,D
required: hudson.DescriptorExtensionListT,D
[INFO] 1 error
[INFO] -
[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] Jenkins main module ... SUCCESS [2.736s]
[INFO] Jenkins CLI ... SUCCESS [5.360s]
[INFO] Jenkins core .. FAILURE [27.288s]
[INFO] Maven Integration plugin .. SKIPPED
[INFO] Jenkins war ... SKIPPED
[INFO] Test harness for Jenkins and plugins .. SKIPPED
[INFO] Jenkins UI sample plugin .. SKIPPED
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 37.714s
[INFO] Finished at: Fri Sep 14 13:43:29 CEST 2012
[INFO] Final Memory: 45M/408M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5:compile
(default-compile) on project jenkins-core: Compilation failure
[ERROR]
/home/erikb85/coding/jenkins/core/src/main/java/hudson/DescriptorExtensionList.java:[86,35]
incompatible types; no instance(s) of type variable(s) D exist so that
hudson.DescriptorExtensionListT,D conforms to
hudson.DescriptorExtensionListT,D
[ERROR] found   : Dhudson.DescriptorExtensionListT,D
[ERROR] required: hudson.DescriptorExtensionListT,D
[ERROR] - [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-compiler-plugin:2.5:compile
(default-compile) on project jenkins-core: Compilation failure
/home/erikb85/coding/jenkins/core/src/main/java/hudson/DescriptorExtensionList.java:[86,35]
incompatible types; no instance(s) of type variable(s) D exist so that
hudson.DescriptorExtensionListT,D conforms to
hudson.DescriptorExtensionListT,D
found   : Dhudson.DescriptorExtensionListT,D
required: hudson.DescriptorExtensionListT,D

at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation
failure
/home/erikb85/coding/jenkins/core/src/main/java/hudson/DescriptorExtensionList.java:[86,35]
incompatible types; no instance(s) of type 

RE: Grails Email Templates

2012-09-11 Thread Alex Earl
Do you mean groovy?

Sent from my Windows Phone
--
From: bearrito
Sent: 9/11/2012 11:40 AM
To: jenkinsci-users@googlegroups.com
Subject: Grails Email Templates

Does anyone have some grails email templates for use with the Email-Ext
plugin?

I'm very handy with grails and just want something to get started

thanks.


RE: Grails Email Templates

2012-09-11 Thread Alex Earl
There are some examples in the source in github.

Sent from my Windows Phone
--
From: bearrito
Sent: 9/11/2012 11:41 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: Grails Email Templates

Edit : Not very handy.

On Tuesday, September 11, 2012 2:40:33 PM UTC-4, bearrito wrote:

 Does anyone have some grails email templates for use with the Email-Ext
 plugin?

 I'm very handy with grails and just want something to get started

 thanks.



RE: How to notify those who broke the build when triggered job

2012-09-05 Thread Alex Earl
 fails
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

I've posted on the list about this, if you are using email-ext. I use a
groovy script to get the changeset from the upstream cause and then
send that in the email. It should be in the archives.

Sent from my Windows Phone
From: Melissa Mann
Sent: 9/5/2012 7:09 PM
To: jenkinsci-users@googlegroups.com
Subject: How to notify those who broke the build when triggered job
fails
Hi,

I've set Jenkins up to build my source, then trigger two jobs in parallel
that run system tests.  If at least one of the system test jobs fails, it
will mark the original build as a failure, and the people who've done a
checkin will be notified.

However, they don't get the email from the failure of the triggered job, so
they don't know which particular test failed or how it failed.

Is there a way to pass the change list to the triggered job so it can notify
the appropriate people?

Is there a better workaround?

Thanks!

- Melissa



--
View this message in context:
http://jenkins.361315.n4.nabble.com/How-to-notify-those-who-broke-the-build-when-triggered-job-fails-tp4639330.html
Sent from the Jenkins users mailing list archive at Nabble.com.


RE: problem installing plug-ins on windows pc

2012-09-02 Thread Alex Earl
You could also set Jenkins home (JENKINS_HOME) to be somewhere that
doesn't require those permissions.

Sent from my Windows Phone
From: Richard Bywater
Sent: 9/1/2012 9:26 PM
To: jenkinsci-users@googlegroups.com
Subject: Re: problem installing plug-ins on windows pc
Are you using Windows Vista/7/2008 or something similar? If so I
wouldn't be suprised if there was a UAC-related issue trying to
install the plugins into the Program Files folder (which requires
admin privileges I believe)

When we installed onto 2008 Server we installed into a non-program
files directory to avoid problems like this.

Richard.

On Sun, Sep 2, 2012 at 11:11 AM, Kenneth kenneth.f.niel...@gmail.com wrote:
 hmm, yes where would they be located by default?
 C:\Program Files\Jenkins\xxx.log ??

 On Sunday, September 2, 2012 12:52:47 AM UTC+2, slide wrote:

 Do you get an error message in the logs? What is the failing behavior?
 More information is needed to help debug the problem. I run Jenkins on
 Windows on several systems with no problems, so it is most likely a
 configuration issue.

 Sent from my Windows Phone
 
 From: Kenneth
 Sent: 9/1/2012 2:57 PM
 To: jenkins...@googlegroups.com

 Subject: problem installing plug-ins on windows pc

 Hi all,
 I am trying to get Jenkins to work, and I keep getting blocked by not
 being able to download and install plugin files.
 Has anyone a solution for this?
 it might be a setting in internet explorer or something.

 kfn


RE: problem installing plug-ins on windows pc

2012-09-01 Thread Alex Earl
Do you get an error message in the logs? What is the failing behavior? More
information is needed to help debug the problem. I run Jenkins on Windows
on several systems with no problems, so it is most likely a configuration
issue.

Sent from my Windows Phone
--
From: Kenneth
Sent: 9/1/2012 2:57 PM
To: jenkinsci-users@googlegroups.com
Subject: problem installing plug-ins on windows pc

Hi all,
I am trying to get Jenkins to work, and I keep getting blocked by not being
able to download and install plugin files.
Has anyone a solution for this?
it might be a setting in internet explorer or something.

kfn


RE: problem installing plug-ins on windows pc

2012-09-01 Thread Alex Earl
Are you running it under Tomcat or just as a straight service? Does the
user you are running it under have access to write to the Jenkins home
directory?

Sent from my Windows Phone
--
From: Kenneth
Sent: 9/1/2012 4:11 PM
To: jenkinsci-users@googlegroups.com
Cc: Kenneth
Subject: Re: problem installing plug-ins on windows pc

hmm, yes where would they be located by default?
C:\Program Files\Jenkins\xxx.log ??

On Sunday, September 2, 2012 12:52:47 AM UTC+2, slide wrote:

 Do you get an error message in the logs? What is the failing behavior?
 More information is needed to help debug the problem. I run Jenkins on
 Windows on several systems with no problems, so it is most likely a
 configuration issue.

 Sent from my Windows Phone
 --
 From: Kenneth
 Sent: 9/1/2012 2:57 PM
 To: jenkins...@googlegroups.com javascript:
 Subject: problem installing plug-ins on windows pc

 Hi all,
 I am trying to get Jenkins to work, and I keep getting blocked by not
 being able to download and install plugin files.
 Has anyone a solution for this?
 it might be a setting in internet explorer or something.

 kfn



RE: Macros not being expanded properly

2012-08-29 Thread Alex Earl
Let me try something locally...it should be working. Does it work if you
put it into the content area?

Sent from my Windows Phone
--
From: Corey Quinn
Sent: 8/29/2012 11:55 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: Macros not being expanded properly

Currently 2.24.1.

-- Corey

On Wednesday, August 29, 2012 11:20:20 AM UTC-7, slide wrote:

 What version of email-ext are you using?

 On Wed, Aug 29, 2012 at 11:17 AM, Corey Quinn 
 co...@sequestered.netjavascript:
 wrote:
  I'm using the Jenkins Email Extension Plugin to send custom email
  notifications.
 
  I have a line in my buildlog (right near the top) that spits out The
 hash
  is: followed by the full git hash.
 
  The subject I've set for this job is:
  d0 release of ${BUILD_LOG_REGEX, regex='The hash is ([a-f0-9]+)',
  substText=1}, which isn't being evaluated, but rather literally quoted.
 
  However, the body expands macros properly, including $DEFAULT_CONTENT
 and
  ${BUILD_LOG}.
 
  Do I have something misconfigured, or is this a known issue?
 
  -- Corey



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



RE: Git plugin trigger of downstream is not building same branch

2012-08-19 Thread Alex Earl
It would all depend on how your workspace us setup. If you haven't
setup a custom workspace, then yes the code should be whatever was
cloned in the preceding build step. The downstream jobs, unless you
have done something yourself, don't really know about the scm, except
through the upstream relationship (which only really comes into play if
there are dependencies). That was a lot of typing and not a ton of
information, but hopefully it helps.

Slide

Sent from my Windows Phone
From: Allen Bierbaum
Sent: 8/19/2012 5:36 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: Git plugin trigger of downstream is not building same
branch
I had the same thought but was hoping for something more concrete to
track down or fix.

Just to be clear then, if a build using git triggers a downstream
build using Build other projects as a post build action then the
downstream build should build the same branch as the upstream?

-Allen


On Sat, Aug 18, 2012 at 2:58 PM, Sami Tikka sjti...@gmail.com wrote:
 Maybe something has changed? Someone upgraded some Jenkins plugin or 
 installed a new one or changed something in the job configuration.

 I happen to know if you install the Workspace Cleanup plugin and configure a 
 job to use it, it deletes the workspace and that somehow causes git plugin to 
 get confused about which changes it has already seen and often it starts 
 building the wrong branch.

 -- Sami

 Allen Bierbaum abierb...@gmail.com kirjoitti 18.8.2012 kello 14.42:

 Our jenkins build process has been stable and working with no problems
 for the last 6 months or so.  We have a build monitor job that polls
 our git repository looking for changes and then triggers downstream
 jobs to build the given branch (using Build other projects post
 build action).  This allows us to queue up multiple build jobs run
 against the same git branch at the same time.  We do it this way to
 work around this known issue
 (https://issues.jenkins-ci.org/browse/JENKINS-7423) and to make sure
 we get all the builds we need.

 This has been working well, but sometime in the last 2 weeks it
 stopped working.  What we are seeing now is that the monitoring job
 sees a change on a branch (ex: dev/new_featureA) but when it triggers
 the downstream job, that job normally picks up a different branch to
 build (ex: dev/new_featureB).

 Has anyone else seen this behavior?  Is it expected?

 Note we have also tried using the parameterized trigger plugin to pass
 the exact SHA hash to the downstream build.  This does force the
 correct commit to build, but it uses a detached HEAD, so we don't end
 up with a valid GIT_BRANCH environment variable during the build.  We
 use the branch name as part of our build process (and as part of our
 build name) so this doesn't work well for us either.  If there was a
 way to have the parameterized trigger pass along the correct
 GIT_BRANCH environment variable then this option would probably work
 great.

 -Allen



RE: email-ext sending mail once a day for succeeding job

2012-08-14 Thread Alex Earl
You would have to have a job that ran every day that checked the status of
the other jobs, most likely through a presend script, or in the groovy
template.

Slide

Sent from my Windows Phone
--
From: David Gang
Sent: 8/14/2012 7:17 AM
To: jenkinsci-users@googlegroups.com
Subject: email-ext sending mail once a day for succeeding job

Hi all,

We have a job which runs every hour.
In order not to get flooded with mails i configured the email-ext step so
that we will get just mails for fails and for the fixed trigger.
I got now an additional requirement that regardless of the job status a
mail should be sent once a day.
So even if the job had success all 24 hours we will get one mail a day.

How can i achieve this ?


Thanks,
David


RE: Issues calling cleartool from Jenkins

2012-08-08 Thread Alex Earl
Agreed...I can't count on all my digits the number of times NOT using a
UNC has brought me pain.

Sent from my Windows Phone
From: Richard Bywater
Sent: 8/8/2012 2:18 PM
To: jenkinsci-users@googlegroups.com
Subject: Re: Issues calling cleartool from Jenkins
Or, probably more reliable, use the full UNC path rather than rely on
drive mappings - will save you pain down the road :)

Richard.

On 9/08/2012, at 8:28 AM, Slide slide.o@gmail.com wrote:

 Please see here [1] which says that persistent network shares are not
 accessible from services, even if logged in as the same account. You
 may need to manually map the drive as part of your build step.

 1 - 
 http://stackoverflow.com/questions/182750/how-to-map-a-network-drive-to-be-used-by-a-service

 On Wed, Aug 8, 2012 at 1:04 PM, Bill Wonch bill.wo...@gmail.com wrote:
 I am.  I log onto the server as the same account the Apache Tomcat 7.0
 service is running under.


 On Wednesday, August 8, 2012 1:51:55 PM UTC-6, slide wrote:

 I Y: a network share? If so, are you running from the command line as
 the same user that Jenkins is running as? If not, you may need to add
 permissions for that user to that share (and actually mount the
 network share under that account since mapped drives are not shared
 between users).

 slide

 On Wed, Aug 8, 2012 at 12:47 PM, Bill Wonch bill@gmail.com wrote:
 Hi everyone -

 I'm having issues calling cleartool from a Execute Windows Batch
 Command
 step.  In Jenkins, I see this output:

 C:\POC\Jenkins\workspace\Deploy-Flexcleartool checkout -nc
 Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip

 cleartool: Error: Unable to access
 Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip: No such
 file
 or directory.


 When I run the same command from the command line, it works fine:


 C:\POC\Jenkins\workspace\Deploy-Flex\clearcasecleartool co -nc
 Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip
 Checked out
 Y:\Flex_SOA_deploy\deploy\dev\flexC\flexC_OriginatorData.zip
 from version \main\10.


 This is on a WinXP machine.


 Anyone come across this before?


 Thanks!


 Bill



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



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


RE: Delete button on build steps not working

2012-08-07 Thread Alex Earl
I've seen this before, there was some error earlier in the page and the
behavior was not hooked to the button correctly. I'll try and dig up what
happened then and see if that helps.

Sent from my Windows Phone
--
From: Stuart Whelan
Sent: 8/7/2012 7:08 PM
To: jenkinsci-users@googlegroups.com
Subject: Re: Delete button on build steps not working

Well spotted, I didn't notice that.

No, the delete button does not have the same styling as the rest of the
Jenkins UI buttons on the page.

http://imageshack.us/photo/my-images/502/capturetpm.png

On Wed, Aug 8, 2012 at 1:58 PM, Alex Earl slide.o@gmail.com wrote:

 Does the button get the normal look and feel of the Jenkins UI?

 Sent from my Windows Phone
 --
 From: Stuart Whelan
 Sent: 8/7/2012 6:47 PM
 To: jenkinsci-users@googlegroups.com
 Subject: Delete button on build steps not working

 I have a new an installation of Jenkins 1.476 that started life a few days
 ago at 1.475. The host machine is Windows Server 2008, Jenkins is installed
 as a service.

 I am unable to delete build steps in my projects.

 I have tried in Chrome and IE, and from a browsers running in both the
 master and on another PC.

 Watching the Javascript console, I see no errors in the browser logs.
 There are no errors I can find in the Jenkins logs, but I might be looking
 in the wrong place(s).

 In Chrome, if I watch the network activity I can not see any network
 requests being generated by pressing the delete button.

 At this stage the only way I can remove a build step is to edit the
 projects xml file manually and then reload the jenkins config files.

 Any suggestions on where to go from here?

 Kind regards,
 Stuart.



  1   2   >