Media Shuttle and Jenkins

2019-08-02 Thread t3knoid
Has anyone had experience on automating file transfers with Media Shuttle 
in Jenkins? I was hoping someone has sample code that I can check out. 
Thanks.

https://app.swaggerhub.com/apis-docs/Signiant/MediaShuttle/1.14.0

-- 
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/7a1b9e75-4a24-4e68-9fd5-a54bd12b9411%40googlegroups.com.


Re: Windows personal certificate and Jira plugin

2019-03-25 Thread t3knoid
Bumping this up. Anyone have any ideas? 

On Saturday, March 16, 2019 at 10:58:25 AM UTC-4, t3knoid wrote:
>
> I am trying to use the Jira plugin with a a Jira server that uses a 
> personal certificate before you can even access the site. Once browser is 
> authenticated, the user can login using their username/password as usual. I 
> am running Jenkins in a Windows box. I've installed the personal 
> certificate in the Jenkins server in the local machine store. I also tried 
> installing it as a the user account that the Jenkins service is running as. 
> Here's part of the exception stack.
>
> org.apache.http.ParseException:
>   at 
> org.apache.http.message.BasicLineParser.parseProtocolVersion(BasicLineParser.java:148)
>   at 
> org.apache.http.message.BasicLineParser.parseStatusLine(BasicLineParser.java:366)
>   at 
> org.apache.http.impl.nio.codecs.DefaultHttpResponseParser.createMessage(DefaultHttpResponseParser.java:112)
>   at 
> org.apache.http.impl.nio.codecs.DefaultHttpResponseParser.createMessage(DefaultHttpResponseParser.java:50)
>   at 
> org.apache.http.impl.nio.codecs.AbstractMessageParser.parseHeadLine(AbstractMessageParser.java:156)
>   at 
> org.apache.http.impl.nio.codecs.AbstractMessageParser.parse(AbstractMessageParser.java:207)
> Caused: org.apache.http.ProtocolException: 
>
>   at 
> org.apache.http.impl.nio.codecs.AbstractMessageParser.parse(AbstractMessageParser.java:209)
>   at 
> org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:245)
>   at 
> org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81)
>   at 
> org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39)
>   at 
> org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:121)
>   at 
> org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162)
>   at 
> org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337)
>   at 
> org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)
>   at 
> org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276)
>   at 
> org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
>
>

-- 
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/250691af-36da-4176-9f08-29d610ce4524%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting "Couldn't find any revision to build" error with git checkout

2019-03-18 Thread t3knoid
I added the following item: 
Git for Windows Installation and Windows Certificate Stores


On Monday, March 18, 2019 at 2:02:52 PM UTC-4, Mark Waite wrote:
>
> That's a very useful result.  Thanks for discovering it.  Would you be 
> willing to put a note into the git plugin wiki page describing what you saw 
> and how to resolve it?
>
> We've had other surprises like that (credentials manager, for example), 
> and the wiki page has been a good place to put the information until the 
> time when the plugin finds a better way to prevent the problem or warn 
> users about the problem.
>
> Mark Waite
>
> On Mon, Mar 18, 2019 at 11:01 AM t3knoid > 
> wrote:
>
>> I figured out why this was happening. It's user error :-). When 
>> installing git for windows, make sure to use "Use the native Windows Secure 
>> Channel library" option during installation.
>>
>>
>>
>> On Saturday, March 16, 2019 at 12:15:51 PM UTC-4, t3knoid wrote:
>>>
>>> I have a new Jenkins server that has not used git for checking out. I 
>>> tried using a simple git checkout, just using a freestyle project. For some 
>>> reason I get a "Getting "Couldn't find any revision to build" whenever I 
>>> try to check out. Using an older server checks out the same repo just 
>>> fine...also using a new freestyle job.
>>>
>>> Using the new server, I checked out something from github, and that 
>>> worked fine. The server I am using is internal. It is using Bitbucket. I 
>>> don't really think that should make a difference.
>>>
>> -- 
>> 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/5ee800b6-bd9a-4f31-a804-28341b1212db%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/5ee800b6-bd9a-4f31-a804-28341b1212db%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> Thanks!
> Mark Waite
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ba85743c-a2ae-48ea-af18-aece9c7f360b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting "Couldn't find any revision to build" error with git checkout

2019-03-18 Thread t3knoid
Yeah sure. That's a good idea.

On Monday, March 18, 2019 at 2:02:52 PM UTC-4, Mark Waite wrote:
>
> That's a very useful result.  Thanks for discovering it.  Would you be 
> willing to put a note into the git plugin wiki page describing what you saw 
> and how to resolve it?
>
> We've had other surprises like that (credentials manager, for example), 
> and the wiki page has been a good place to put the information until the 
> time when the plugin finds a better way to prevent the problem or warn 
> users about the problem.
>
> Mark Waite
>
> On Mon, Mar 18, 2019 at 11:01 AM t3knoid > 
> wrote:
>
>> I figured out why this was happening. It's user error :-). When 
>> installing git for windows, make sure to use "Use the native Windows Secure 
>> Channel library" option during installation.
>>
>>
>>
>> On Saturday, March 16, 2019 at 12:15:51 PM UTC-4, t3knoid wrote:
>>>
>>> I have a new Jenkins server that has not used git for checking out. I 
>>> tried using a simple git checkout, just using a freestyle project. For some 
>>> reason I get a "Getting "Couldn't find any revision to build" whenever I 
>>> try to check out. Using an older server checks out the same repo just 
>>> fine...also using a new freestyle job.
>>>
>>> Using the new server, I checked out something from github, and that 
>>> worked fine. The server I am using is internal. It is using Bitbucket. I 
>>> don't really think that should make a difference.
>>>
>> -- 
>> 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/5ee800b6-bd9a-4f31-a804-28341b1212db%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/5ee800b6-bd9a-4f31-a804-28341b1212db%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> Thanks!
> Mark Waite
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/02f71d36-8551-4bb7-8556-301427d36ab8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting "Couldn't find any revision to build" error with git checkout

2019-03-18 Thread t3knoid
I figured out why this was happening. It's user error :-). When installing 
git for windows, make sure to use "Use the native Windows Secure Channel 
library" option during installation.



On Saturday, March 16, 2019 at 12:15:51 PM UTC-4, t3knoid wrote:
>
> I have a new Jenkins server that has not used git for checking out. I 
> tried using a simple git checkout, just using a freestyle project. For some 
> reason I get a "Getting "Couldn't find any revision to build" whenever I 
> try to check out. Using an older server checks out the same repo just 
> fine...also using a new freestyle job.
>
> Using the new server, I checked out something from github, and that worked 
> fine. The server I am using is internal. It is using Bitbucket. I don't 
> really think that should make a difference.
>

-- 
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/5ee800b6-bd9a-4f31-a804-28341b1212db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting "Couldn't find any revision to build" error with git checkout

2019-03-16 Thread t3knoid
Thanks for the suggestions anyway.

BTW, I downloaded Github desktop in the Jenkins slave machine and was able 
to clone without a problem.

On Saturday, March 16, 2019 at 4:02:13 PM UTC-4, Mark Waite wrote:
>
>
>
> On Sat, Mar 16, 2019 at 1:47 PM t3knoid > 
> wrote:
>
>> Thanks for your response.
>>
>> > Branch name has been requested that is not being fetched because the 
>> refspec in the "Advanced" section does not include the desired branch
>>
>> I'm not touching the Advanced section at all.
>>
>> >Branch name to be built does not match any branch on the remote (typo in 
>> the branch name to be built)
>>
>> I'm building the master branch. I've checked and double-checked the URL. 
>> As I said, when I do the same exact thing on a different Jenkins server, it 
>> works just fine.
>>
>>
> I'm out of ideas.  Submit a bug report with numbered steps that describe 
> how to duplicate the bug.
>
> Mark Waite
>  
>
>>
>> On Saturday, March 16, 2019 at 12:20:52 PM UTC-4, Mark Waite wrote:
>>>
>>> That indicates command line git could not fit any reference that matches 
>>> the branch name or SHA 1 it has been asked to build.  Some possible causes 
>>> include:
>>>
>>>- Branch name has been requested that is not being fetched because 
>>>the refspec in the "Advanced" section does not include the desired branch
>>>- Branch name to be built does not match any branch on the remote 
>>>(typo in the branch name to be built)
>>>
>>> Mark Waite
>>>
>>> On Sat, Mar 16, 2019 at 10:16 AM t3knoid  wrote:
>>>
>>>> I have a new Jenkins server that has not used git for checking out. I 
>>>> tried using a simple git checkout, just using a freestyle project. For 
>>>> some 
>>>> reason I get a "Getting "Couldn't find any revision to build" whenever I 
>>>> try to check out. Using an older server checks out the same repo just 
>>>> fine...also using a new freestyle job.
>>>>
>>>> Using the new server, I checked out something from github, and that 
>>>> worked fine. The server I am using is internal. It is using Bitbucket. I 
>>>> don't really think that should make a difference.
>>>>
>>>> -- 
>>>> 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/a70f0c42-f506-4ab0-b11c-42dd990db4d8%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/jenkinsci-users/a70f0c42-f506-4ab0-b11c-42dd990db4d8%40googlegroups.com?utm_medium=email_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>> -- 
>>> Thanks!
>>> Mark Waite
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/5ade331c-deb8-44d3-8e67-2abb8f64a9ba%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/5ade331c-deb8-44d3-8e67-2abb8f64a9ba%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> Thanks!
> Mark Waite
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/8ddd7f9e-9619-400b-b6cf-08edabec8b8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting "Couldn't find any revision to build" error with git checkout

2019-03-16 Thread t3knoid
Thanks for your response.

> Branch name has been requested that is not being fetched because the 
refspec in the "Advanced" section does not include the desired branch

I'm not touching the Advanced section at all.

>Branch name to be built does not match any branch on the remote (typo in 
the branch name to be built)

I'm building the master branch. I've checked and double-checked the URL. As 
I said, when I do the same exact thing on a different Jenkins server, it 
works just fine.


On Saturday, March 16, 2019 at 12:20:52 PM UTC-4, Mark Waite wrote:
>
> That indicates command line git could not fit any reference that matches 
> the branch name or SHA 1 it has been asked to build.  Some possible causes 
> include:
>
>- Branch name has been requested that is not being fetched because the 
>refspec in the "Advanced" section does not include the desired branch
>- Branch name to be built does not match any branch on the remote 
>(typo in the branch name to be built)
>
> Mark Waite
>
> On Sat, Mar 16, 2019 at 10:16 AM t3knoid > 
> wrote:
>
>> I have a new Jenkins server that has not used git for checking out. I 
>> tried using a simple git checkout, just using a freestyle project. For some 
>> reason I get a "Getting "Couldn't find any revision to build" whenever I 
>> try to check out. Using an older server checks out the same repo just 
>> fine...also using a new freestyle job.
>>
>> Using the new server, I checked out something from github, and that 
>> worked fine. The server I am using is internal. It is using Bitbucket. I 
>> don't really think that should make a difference.
>>
>> -- 
>> 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/a70f0c42-f506-4ab0-b11c-42dd990db4d8%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/a70f0c42-f506-4ab0-b11c-42dd990db4d8%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> Thanks!
> Mark Waite
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/5ade331c-deb8-44d3-8e67-2abb8f64a9ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Getting "Couldn't find any revision to build" error with git checkout

2019-03-16 Thread t3knoid
I have a new Jenkins server that has not used git for checking out. I tried 
using a simple git checkout, just using a freestyle project. For some 
reason I get a "Getting "Couldn't find any revision to build" whenever I 
try to check out. Using an older server checks out the same repo just 
fine...also using a new freestyle job.

Using the new server, I checked out something from github, and that worked 
fine. The server I am using is internal. It is using Bitbucket. I don't 
really think that should make a difference.

-- 
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/a70f0c42-f506-4ab0-b11c-42dd990db4d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Windows personal certificate and Jira plugin

2019-03-16 Thread t3knoid
I am trying to use the Jira plugin with a a Jira server that uses a 
personal certificate before you can even access the site. Once browser is 
authenticated, the user can login using their username/password as usual. I 
am running Jenkins in a Windows box. I've installed the personal 
certificate in the Jenkins server in the local machine store. I also tried 
installing it as a the user account that the Jenkins service is running as. 
Here's part of the exception stack.

org.apache.http.ParseException:
at 
org.apache.http.message.BasicLineParser.parseProtocolVersion(BasicLineParser.java:148)
at 
org.apache.http.message.BasicLineParser.parseStatusLine(BasicLineParser.java:366)
at 
org.apache.http.impl.nio.codecs.DefaultHttpResponseParser.createMessage(DefaultHttpResponseParser.java:112)
at 
org.apache.http.impl.nio.codecs.DefaultHttpResponseParser.createMessage(DefaultHttpResponseParser.java:50)
at 
org.apache.http.impl.nio.codecs.AbstractMessageParser.parseHeadLine(AbstractMessageParser.java:156)
at 
org.apache.http.impl.nio.codecs.AbstractMessageParser.parse(AbstractMessageParser.java:207)
Caused: org.apache.http.ProtocolException: 

at 
org.apache.http.impl.nio.codecs.AbstractMessageParser.parse(AbstractMessageParser.java:209)
at 
org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:245)
at 
org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81)
at 
org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39)
at 
org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:121)
at 
org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162)
at 
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337)
at 
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)
at 
org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276)
at 
org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)

-- 
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/93584361-afc8-4a5e-b273-68f34226d696%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Unexpected behavior with environment variable expansion in Powershell plugin

2018-10-17 Thread t3knoid
I have a simple powershell script that simply runs the following:

Write-Output "myCommand myCommand -param $env:MyParameter"
myCommand -param $env:MyParameter

The first one writes out the command that is being executed below. The 
$env:MyParameter is expanded correctly with its value. However, the actual 
command that is executed on the next line, does not. The command myCommand 
gets the actual string that I pass, "$env:MyParameter."




-- 
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/4735c49d-d1a5-4213-955e-d0774411a6ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Using variables with a space in its name with Text File Operations plugin

2018-10-16 Thread t3knoid
I printed the environment using a SET command (I'm using Windows). It shows 
all the environment variables with spaces just fine. In fact, when I 
created a batch script with references to the variables, %Virtual Machine 
Name% for example, it evaluates correctly. This sounds more like a bug in 
the Text File Operations plugin. 

On Tuesday, October 16, 2018 at 6:56:10 PM UTC-4, t3knoid wrote:
>
> I can't seem to get access to the value of a variable with a space in its 
> name. I am trying to use the Text File Operations plugin. I tried the 
> following formats:
>
> VMName,${ENV,var="Virtual Machine Name"}
> VMName,${Virtual Machine Name}
>
> I can only get this to work if I use a variable without spaces and using 
> the second format shown above (e.g. ${VirtualMachineName}. I prefer using 
> the space because the Jenkins uses the variable name in the GUI as well.
>

-- 
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/113b2c1f-b8d2-4709-95ba-c1caae40bebe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Using variables with a space in its name with Text File Operations plugin

2018-10-16 Thread t3knoid
I can't seem to get access to the value of a variable with a space in its 
name. I am trying to use the Text File Operations plugin. I tried the 
following formats:

VMName,${ENV,var="Virtual Machine Name"}
VMName,${Virtual Machine Name}

I can only get this to work if I use a variable without spaces and using 
the second format shown above (e.g. ${VirtualMachineName}. I prefer using 
the space because the Jenkins uses the variable name in the GUI as well.

-- 
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/2c4a2a5e-c171-4e2d-b76e-3896a5dbc837%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Is there a way to get a tool's path value in pipeline?

2018-10-12 Thread t3knoid
Typically I use checkout to checkout code from git. But sometimes I need to 
shell out and execute git. I can hardcode the path in my shell script or 
add the git directory in the PATH variable. I was thinking if there was a 
way to avoid that and use the configured git tool within Jenkins and pass 
that value in my shell script. So in essence, run a command similar to this:

bat returnStdout: true, script: '${installed_git}  rev-list HEAD --count'

Where ${installed_git} contains the value of the path of the git tool 
configured in Jenkins.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/49ae7954-620f-44bf-b384-bef9bccb9e27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How do I know if a job I triggered has started?

2018-02-12 Thread t3knoid
I have a job that I am calling and not waiting for it. Is there a more 
elegant way of checking to see if it has started? Currently I am waiting 
for a bit after triggering the job and then getting the value in 
http://jenkinsBase/job/jobName/lastBuild/buildNumber.

-- 
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/e9a8ed56-ab70-4f46-be9d-bc728466b571%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jira plugin 2.5.1 fails to validate settings

2018-01-30 Thread t3knoid
I am posting this just in case someone else runs into the issue. The latest 
Jira Plugin fails to validate it's settings. Version 2.5.0 works fine 

The following exception stack trace is thrown when trying to validate Jira 
settings:

java.lang.IllegalAccessError: 
org/apache/http/impl/client/cache/BasicHttpCache
at 
org.apache.http.impl.client.cache.CachingHttpAsyncClient.(CachingHttpAsyncClient.java:173)
at 
com.atlassian.httpclient.apache.httpcomponents.ApacheAsyncHttpClient.(ApacheAsyncHttpClient.java:239)
at 
com.atlassian.httpclient.apache.httpcomponents.ApacheAsyncHttpClient.(ApacheAsyncHttpClient.java:123)
at 
com.atlassian.httpclient.apache.httpcomponents.DefaultHttpClientFactory.doCreate(DefaultHttpClientFactory.java:68)
at 
com.atlassian.httpclient.apache.httpcomponents.DefaultHttpClientFactory.create(DefaultHttpClientFactory.java:35)
at 
com.atlassian.jira.rest.client.internal.async.AsynchronousHttpClientFactory.createClient(AsynchronousHttpClientFactory.java:63)
at 
com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.create(AsynchronousJiraRestClientFactory.java:35)
at 
com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.createWithBasicHttpAuthentication(AsynchronousJiraRestClientFactory.java:42)
at hudson.plugins.jira.JiraSite.createSession(JiraSite.java:303)
at hudson.plugins.jira.JiraSite$DescriptorImpl.doValidate(JiraSite.java:805)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184)
at 
org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117)
at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:129)
at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
Caused: javax.servlet.ServletException
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:765)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:248)
at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at 
org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:225)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at 
com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.doFilter(LessCSS.java:47)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:232)
at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:209)
at 
net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:88)
at 
org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:113)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at javax.servlet.FilterChain$doFilter.call(Unknown Source)
at 
com.ceilfors.jenkins.plugins.jiratrigger.ExceptionLoggingFilter.doFilter(ExceptionLoggingFilter.groovy:29)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at 
org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at 
org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at 
com.marvelution.jenkins.plugins.jira.filter.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:51)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at 
com.marvelution.jenkins.plugins.jira.filter.OAuthFilter.doFilter(OAuthFilter.java:88)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:99)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
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 

Re: CIFS Publisher gets stuck

2018-01-30 Thread t3knoid
FYI, downgrading get's around the issue.

On Tuesday, January 30, 2018 at 9:48:04 AM UTC-5, t3knoid wrote:
>
> Thanks for the quick reply. I will downgrade.
>
> On Monday, January 29, 2018 at 6:06:26 PM UTC-5, slide wrote:
>>
>> This is a known issue in cifs publisher 0.6, if you downgrade it should 
>> work fine. I am working on getting a fix out.
>>
>> On Mon, Jan 29, 2018, 15:59 t3knoid <t3k...@gmail.com> wrote:
>>
>>> I've noticed recently a job that I have not run in some time gets stuck 
>>> at trying to copy archives into a network CIFS share using the Publish Over 
>>> CIFS plugin. To narrow down the issue, I created a really simple job that 
>>> creates a tiny text file, archive the file, and then send the artifact to 
>>> the Windows share. The job fails the same way. Can someone provide guidance 
>>> on how to troubleshoot this further?
>>>
>>> Jenkins ver 2.102
>>> CIFS 0.6
>>>
>>> -- 
>>> 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/337321a1-b23b-48dd-961b-bfd9d87fb491%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/jenkinsci-users/337321a1-b23b-48dd-961b-bfd9d87fb491%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/cd114206-cbae-4edf-987a-e052870fc95a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CIFS Publisher gets stuck

2018-01-30 Thread t3knoid
Thanks for the quick reply. I will downgrade.

On Monday, January 29, 2018 at 6:06:26 PM UTC-5, slide wrote:
>
> This is a known issue in cifs publisher 0.6, if you downgrade it should 
> work fine. I am working on getting a fix out.
>
> On Mon, Jan 29, 2018, 15:59 t3knoid <t3k...@gmail.com > 
> wrote:
>
>> I've noticed recently a job that I have not run in some time gets stuck 
>> at trying to copy archives into a network CIFS share using the Publish Over 
>> CIFS plugin. To narrow down the issue, I created a really simple job that 
>> creates a tiny text file, archive the file, and then send the artifact to 
>> the Windows share. The job fails the same way. Can someone provide guidance 
>> on how to troubleshoot this further?
>>
>> Jenkins ver 2.102
>> CIFS 0.6
>>
>> -- 
>> 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/337321a1-b23b-48dd-961b-bfd9d87fb491%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/337321a1-b23b-48dd-961b-bfd9d87fb491%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/0257cdc5-9e19-4de7-9ce5-b3d115cfd5f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CIFS Publisher gets stuck

2018-01-29 Thread t3knoid
To add, I also notice the problem in a job using in a Windows or Linux 
slave. The problem also happens when using the cifsPublisher in a pipeline 
job. I also tried publishing from the master with the same behavior.


On Monday, January 29, 2018 at 5:59:03 PM UTC-5, t3knoid wrote:
>
> I've noticed recently a job that I have not run in some time gets stuck at 
> trying to copy archives into a network CIFS share using the Publish Over 
> CIFS plugin. To narrow down the issue, I created a really simple job that 
> creates a tiny text file, archive the file, and then send the artifact to 
> the Windows share. The job fails the same way. Can someone provide guidance 
> on how to troubleshoot this further?
>
> Jenkins ver 2.102
> CIFS 0.6
>

-- 
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/ab37d103-c1e2-4c7a-aabb-bfa2cc8a727c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CIFS Publisher gets stuck

2018-01-29 Thread t3knoid
I've noticed recently a job that I have not run in some time gets stuck at 
trying to copy archives into a network CIFS share using the Publish Over 
CIFS plugin. To narrow down the issue, I created a really simple job that 
creates a tiny text file, archive the file, and then send the artifact to 
the Windows share. The job fails the same way. Can someone provide guidance 
on how to troubleshoot this further?

Jenkins ver 2.102
CIFS 0.6

-- 
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/337321a1-b23b-48dd-961b-bfd9d87fb491%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Slow loading of job configuration page after Jenkins upgrade

2018-01-24 Thread t3knoid
Just in case anyone runs into the same issue. I figured out that it was one 
of my Chrome extensions that was causing the slow load. Sorry, I didn't 
narrow it down to which one. I came about this by opening Jenkins in 
incognito mode. Opening the configure screen for a job was quick in this 
mode. I then simply started cleaning up extensions that I did not need. 
Loading of the configure screens now comes up quick in non-incognito.

On Thursday, November 9, 2017 at 4:19:31 PM UTC-5, t3knoid wrote:
>
> Here's a thread dump shared in gist:
>
> https://gist.github.com/t3knoid/398bd00684ea5841c223ebcfed8a1c44
>
>
> On Tuesday, November 7, 2017 at 3:14:49 PM UTC-5, Daniel Beck wrote:
>>
>>
>> > On 3. Nov 2017, at 19:42, t3knoid <t3k...@gmail.com> wrote: 
>> > 
>> >  I tried that and I am at a lost as how to interpret the stack. This 
>> happened after updating to v2.87 and some of the plugins. I know this info 
>> is not much help, but I'd appreciate how can I go about getting more info 
>> on how to troubleshoot this. 
>>
>> Go to the /threadDump URL in Jenkins while the config page is loading in 
>> another tab, and post its output to gist or similar. 
>>
>>

-- 
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/3b6c2d1e-011b-4bc7-9ff8-3d44de9a3ace%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Slow loading of job configuration page after Jenkins upgrade

2017-11-09 Thread t3knoid
Here's a thread dump shared in gist:

https://gist.github.com/t3knoid/398bd00684ea5841c223ebcfed8a1c44


On Tuesday, November 7, 2017 at 3:14:49 PM UTC-5, Daniel Beck wrote:
>
>
> > On 3. Nov 2017, at 19:42, t3knoid <t3k...@gmail.com > 
> wrote: 
> > 
> >  I tried that and I am at a lost as how to interpret the stack. This 
> happened after updating to v2.87 and some of the plugins. I know this info 
> is not much help, but I'd appreciate how can I go about getting more info 
> on how to troubleshoot this. 
>
> Go to the /threadDump URL in Jenkins while the config page is loading in 
> another tab, and post its output to gist or similar. 
>
>

-- 
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/b4bdee42-45fe-4845-8d58-9f8471d8e071%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Slow loading of job configuration page after Jenkins upgrade

2017-11-07 Thread t3knoid
Not sure about the gc log. I thought it was a memory issue first. So I 
increased memory but that did not make a difference. I see the issue on 
other installations as well. This must be something to do with a plug-in. I 
am going to roll back and see if the behavior goes back to normal.

On Friday, November 3, 2017 at 10:03:52 PM UTC-4, Robert Hales wrote:
>
> I would look into your gc, first. Does jenkins write a garbage collection 
> log? I don't remember. You may need to just give it more memory. 
>
> On Friday, November 3, 2017 at 12:42:01 PM UTC-6, t3knoid wrote:
>>
>> I've recently upgraded Jenkins and plug-ins. After doing so, now every 
>> job configuration page loads very slow. Some at least 7-8 minutes. I've 
>> read that I need to profile the running java process with something like 
>> jstack to see which thread is taking a long time to complete. I tried that 
>> and I am at a lost as how to interpret the stack. This happened after 
>> updating to v2.87 and some of the plugins. I know this info is not much 
>> help, but I'd appreciate how can I go about getting more info on how to 
>> troubleshoot this.
>>
>

-- 
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/6b6ea5bd-9852-44be-a149-9dfc51d4410f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Slow loading of job configuration page after Jenkins upgrade

2017-11-03 Thread t3knoid
BTW, the slow load also happens when creating a new free style project or a 
maven project. However, the slowness does not appear creating a pipeline 
project.

On Friday, November 3, 2017 at 2:42:01 PM UTC-4, t3knoid wrote:
>
> I've recently upgraded Jenkins and plug-ins. After doing so, now every job 
> configuration page loads very slow. Some at least 7-8 minutes. I've read 
> that I need to profile the running java process with something like jstack 
> to see which thread is taking a long time to complete. I tried that and I 
> am at a lost as how to interpret the stack. This happened after updating to 
> v2.87 and some of the plugins. I know this info is not much help, but I'd 
> appreciate how can I go about getting more info on how to troubleshoot this.
>

-- 
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/7156061b-2965-437f-9abf-8cc66c911e01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Running a bat file

2017-09-15 Thread t3knoid
Have you looked at using the Start command? As I understand it, it starts a 
process in a different context. In this way, when the Jenkins job ends, it 
doesnt shut down the service since its in a different context.

On Friday, September 15, 2017 at 4:01:58 AM UTC-4, harvey wrote:
>
> Currently I am just trying to create a single build to Start the glassfish 
> server. For the same I used a freestyle project and by selecting "Run a 
> batch windows command line" in building steps I wrote the following 
> commands:
>
> cd c:\glassfish3\bin
> call asadmin start-domain
>
> Then I saved the build and executed it. The build completes with status 
> success, but the glassfish server remain unstarted.
>
> Other than these steps I haven't done any other steps. I did not set an 
> ERROR LEVEL. 
>
> Is there something I am missing ?
>
> Regards,
> Harvey
>

-- 
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/bf19be64-6f59-4c90-a152-91c97d240985%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Getting the Jira URL value from Jira plugin

2017-09-14 Thread t3knoid
I am using the Jira and Jira-ext plugins to integrate with a Jira server. I 
want to write a script where I have to enumerate the Jira URL (I dont want 
to hard code it in my script). Where can I get that value?

-- 
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/3d4aa1f3-5d63-4809-9518-9cfea743bce6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Trying to configure a RHEL7 slave yields a java.io.IOException: Illegal char in base64 code error

2017-06-26 Thread t3knoid
I am using Jenkins 2.66. Sorry I didn't provide earlier. I was hoping this 
something straightforward where I am not doing something right.

This is what I have in the Master (Windows)

java version "1.8.0_101"
> Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
> Java HotSpot(TM) Client VM (build 25.101-b13, mixed mode, sharing)


This is what I have in RHEL:

Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
> Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)



On Monday, June 26, 2017 at 3:55:49 PM UTC-4, mpapo - Michael Pailloncy 
wrote:
>
> Do you use the same Java version on the master and agent ? Which version 
> of Jenkins are you using ?
>
> 2017-06-26 20:17 GMT+02:00 t3knoid <t3k...@gmail.com >:
>
>> I am trying to add a RHEL7 slave in my existing configuration that is 
>> using a Windows master. I am trying to use "Launch slave agents via SSH." I 
>> am getting the following error when I tried to configure the slave:
>>
>> executing pre-launch scripts ...
>>> java.io.IOException: Illegal char in base64 code.
>>> at com.trilead.ssh2.crypto.Base64.decode(Base64.java:107)
>>> at com.trilead.ssh2.KnownHosts.initialize(KnownHosts.java:406)
>>> at com.trilead.ssh2.KnownHosts.initialize(KnownHosts.java:437)
>>> at com.trilead.ssh2.KnownHosts.(KnownHosts.java:86)
>>> at 
>>> hudson.plugins.sshslaves.verifiers.KnownHostsFileKeyVerificationStrategy.getPreferredKeyAlgorithms(KnownHostsFileKeyVerificationStrategy.java:91)
>>> at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:796)
>>> at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:792)
>>> at java.util.concurrent.FutureTask.run(Unknown Source)
>>> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>>> at java.lang.Thread.run(Unknown Source)
>>> [06/26/17 14:01:48] Launch failed - cleaning up connection
>>> [06/26/17 14:01:48] [SSH] Connection closed.
>>
>>
>> I verified that I can SSH successfully from the master to the intended 
>> host using a private key. I also tried just a standard username/password 
>> with the same result.
>>
>> -- 
>> 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/4e6463de-2980-4ccf-bfac-0768237a8ee7%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/4e6463de-2980-4ccf-bfac-0768237a8ee7%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6954eaf7-cef4-47d4-b67a-8ff1efae2b99%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Trying to configure a RHEL7 slave yields a java.io.IOException: Illegal char in base64 code error

2017-06-26 Thread t3knoid
I am trying to add a RHEL7 slave in my existing configuration that is using 
a Windows master. I am trying to use "Launch slave agents via SSH." I am 
getting the following error when I tried to configure the slave:

executing pre-launch scripts ...
> java.io.IOException: Illegal char in base64 code.
> at com.trilead.ssh2.crypto.Base64.decode(Base64.java:107)
> at com.trilead.ssh2.KnownHosts.initialize(KnownHosts.java:406)
> at com.trilead.ssh2.KnownHosts.initialize(KnownHosts.java:437)
> at com.trilead.ssh2.KnownHosts.(KnownHosts.java:86)
> at 
> hudson.plugins.sshslaves.verifiers.KnownHostsFileKeyVerificationStrategy.getPreferredKeyAlgorithms(KnownHostsFileKeyVerificationStrategy.java:91)
> at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:796)
> at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:792)
> at java.util.concurrent.FutureTask.run(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
> [06/26/17 14:01:48] Launch failed - cleaning up connection
> [06/26/17 14:01:48] [SSH] Connection closed.


I verified that I can SSH successfully from the master to the intended host 
using a private key. I also tried just a standard username/password with 
the same result.

-- 
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/4e6463de-2980-4ccf-bfac-0768237a8ee7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Workspace cleanup failing after updating Jenkins 2.65

2017-06-23 Thread t3knoid
Yes. According to Maven plugin doc, it will force use of 1.8 to perform the 
compile.

https://wiki.jenkins-ci.org/display/JENKINS/Maven+Project+Plugin

I'm wondering why 1.7 is being used in the command I referenced.


On Thursday, June 22, 2017 at 6:25:58 PM UTC-4, Stephen Connolly wrote:
>
> Isn't Jenkins 2.65 Java 8 required (which will push the same onto the evil 
> job type)?
>
> On Thu 22 Jun 2017 at 22:53, t3knoid <t3k...@gmail.com > 
> wrote:
>
>> I narrowed down the java.exe process that is holding the folder open. 
>> Here's the command:
>>
>> "C:\Program Files\Java\jdk1.7.0_80\bin\java" -cp 
>>> c:\jenkins\maven35-agent.jar;C:\apache-maven-3.5.0\boot\plexus-classworlds-2.5.2.jar;C:\apache-maven-3.5.0/conf/logging
>>>  
>>> jenkins.maven3.agent.Maven35Main C:\apache-maven-3.5.0 C:\jenkins\slave.jar 
>>> c:\jenkins\maven35-interceptor.jar 
>>> c:\jenkins\maven3-interceptor-commons.jar 1942
>>
>>
>> Interestingly enough, Jenkins runs under Java 1.8. The maven job is using 
>> 1.7. Not sure if this is relevant. Anyway, does anyone know what triggers 
>> the above command?
>>  
>>
>> On Wednesday, June 21, 2017 at 3:19:33 PM UTC-4, t3knoid wrote:
>>>
>>> I have another job that uses the same option and is working just fine. 
>>> The one that is failing is a Java application using Maven to build.
>>>
>>> On Wednesday, June 21, 2017 at 1:57:36 PM UTC-4, t3knoid wrote:
>>>>
>>>> I recently updated to Jenkins 2.65 and some of my plugins. Now every 
>>>> time I try to build a job that has been working all along, the job fails 
>>>> when trying to clean the workspace. It only happens after every other job. 
>>>> I can get around the issue by restarting the slave service (Windows). This 
>>>> is obviously not a solution. How can I go about checking what is causing 
>>>> the lock on the folder?
>>>>
>>> -- 
>> 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/b80620f4-9ae1-42c4-bdaf-8d4cd517fd00%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/b80620f4-9ae1-42c4-bdaf-8d4cd517fd00%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
> Sent from my phone
>

-- 
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/4d691051-3d7b-4ef9-afd3-91fe07a118ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Workspace cleanup failing after updating Jenkins 2.65

2017-06-22 Thread t3knoid
I narrowed down the java.exe process that is holding the folder open. 
Here's the command:

"C:\Program Files\Java\jdk1.7.0_80\bin\java" -cp 
> c:\jenkins\maven35-agent.jar;C:\apache-maven-3.5.0\boot\plexus-classworlds-2.5.2.jar;C:\apache-maven-3.5.0/conf/logging
>  
> jenkins.maven3.agent.Maven35Main C:\apache-maven-3.5.0 C:\jenkins\slave.jar 
> c:\jenkins\maven35-interceptor.jar 
> c:\jenkins\maven3-interceptor-commons.jar 1942


Interestingly enough, Jenkins runs under Java 1.8. The maven job is using 
1.7. Not sure if this is relevant. Anyway, does anyone know what triggers 
the above command?
 

On Wednesday, June 21, 2017 at 3:19:33 PM UTC-4, t3knoid wrote:
>
> I have another job that uses the same option and is working just fine. The 
> one that is failing is a Java application using Maven to build.
>
> On Wednesday, June 21, 2017 at 1:57:36 PM UTC-4, t3knoid wrote:
>>
>> I recently updated to Jenkins 2.65 and some of my plugins. Now every time 
>> I try to build a job that has been working all along, the job fails when 
>> trying to clean the workspace. It only happens after every other job. I can 
>> get around the issue by restarting the slave service (Windows). This is 
>> obviously not a solution. How can I go about checking what is causing the 
>> lock on the folder?
>>
>

-- 
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/b80620f4-9ae1-42c4-bdaf-8d4cd517fd00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is there a way to access updated system environment variable from Jenkins?

2017-06-22 Thread t3knoid
I don't think there is a way. Are you using a source control system? You 
can store the variable value/pair into a property file. You can then commit 
it into your source as a post-build process. Otherwise, you can just store 
it in a property file located in the build server.

On Thursday, June 22, 2017 at 8:18:38 AM UTC-4, rabie@gmail.com wrote:
>
> I have an analysis number variable in my batch script that increments 
> after every job build. I have to get this new value in my post build email 
> notification. Jenkins job makes a copy of all system environment variables 
> at the start up and this way I keep getting the same environment variable 
> value in my post-build email, even though my analysis number environment 
> variable stored in the system has incremented. 
>
>
> My question is there a way to access the system environment variable and 
> not its copy stored in Jenkins?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e3710602-4f63-422c-8616-7a15b8b89352%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Workspace cleanup failing after updating Jenkins 2.65

2017-06-21 Thread t3knoid
I have another job that uses the same option and is working just fine. The 
one that is failing is a Java application using Maven to build.

On Wednesday, June 21, 2017 at 1:57:36 PM UTC-4, t3knoid wrote:
>
> I recently updated to Jenkins 2.65 and some of my plugins. Now every time 
> I try to build a job that has been working all along, the job fails when 
> trying to clean the workspace. It only happens after every other job. I can 
> get around the issue by restarting the slave service (Windows). This is 
> obviously not a solution. How can I go about checking what is causing the 
> lock on the folder?
>

-- 
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/57b026dd-d6f0-4e46-9d68-6a16bf2c4813%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Workspace cleanup failing after updating Jenkins 2.65

2017-06-21 Thread t3knoid
I recently updated to Jenkins 2.65 and some of my plugins. Now every time I 
try to build a job that has been working all along, the job fails when 
trying to clean the workspace. It only happens after every other job. I can 
get around the issue by restarting the slave service (Windows). This is 
obviously not a solution. How can I go about checking what is causing the 
lock on the folder?

-- 
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/ed2ab916-7923-4355-9b3f-2e625de0d360%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


scp files located outside of workspace

2017-03-31 Thread t3knoid
Is it possible to scp files located outside of a workspace simply using 
existing Jenkins plugins? I am currently using a Python script to this 
currently by calling the scp command-line. The SCP plugin nor Publish over 
SSH does not appear to support this. Maybe in conjunction with another 
plug-in it is possible.

-- 
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/f096bc95-cb32-4ca1-b03f-f6bd6fb80f4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins failing to load after plugin update

2016-05-16 Thread t3knoid
The problem appears to be a newer version of the Build Graph View Plugin 
(v1.3):

https://wiki.jenkins-ci.org/display/JENKINS/Build+Graph+View+Plugin

I disabled this plugin by adding a .disabled extension 
to buildgraph-view.jpi file. Jenkins is now able to initialize the GUI.

I am running Jenkins 1.651.1 with JRE 1.7.80.

On Monday, May 16, 2016 at 12:34:26 PM UTC-4, Rich Sloan wrote:
>
> I updated some plugins and now when I start Jenkins I get the following on 
> start. I attached the err.log from the plugin install and the subsequent 
> errors. I did run a backup a couple of days ago, but I am unclear on how to 
> restore it without the GUI. I am running Windows 2008 R2 and Jenkins is 
> running on Java 1.8.0_66 
>
> hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: 
> java.lang.Error: java.lang.reflect.InvocationTargetException
>   at hudson.WebAppMain$3.run(WebAppMain.java:237)
> Caused by: org.jvnet.hudson.reactor.ReactorException: java.lang.Error: 
> java.lang.reflect.InvocationTargetException
>   at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269)
>   at jenkins.InitReactorRunner.run(InitReactorRunner.java:44)
>   at jenkins.model.Jenkins.executeReactor(Jenkins.java:936)
>   at jenkins.model.Jenkins.(Jenkins.java:817)
>   at hudson.model.Hudson.(Hudson.java:83)
>   at hudson.model.Hudson.(Hudson.java:79)
>   at hudson.WebAppMain$3.run(WebAppMain.java:225)
> Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException
>   at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:110)
>   at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:176)
>   at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
>   at jenkins.model.Jenkins$8.runTask(Jenkins.java:925)
>   at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
>   at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
>   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: java.lang.reflect.InvocationTargetException
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>   at java.lang.reflect.Method.invoke(Unknown Source)
>   at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:106)
>   ... 8 more
> Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
>   at java.util.ArrayList.rangeCheck(Unknown Source)
>   at java.util.ArrayList.get(Unknown Source)
>   at hudson.ExtensionList.get(ExtensionList.java:171)
>   at 
> hudson.PluginManager$PluginUpdateMonitor.getInstance(PluginManager.java:1347)
>   at hudson.maven.PluginImpl.init(PluginImpl.java:58)
>   ... 13 more
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e7e968df-35be-400b-92b7-76de55d64a1a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Dynamic Choice Parameter error "Cannot access class path"

2015-11-30 Thread t3knoid
I have not found a way to fix this other than copying the ojdbc jar (e.g. 
ojdb14.jar) file into the Jenkins WEB-INF\lib folder.

On Monday, November 16, 2015 at 3:43:18 PM UTC-5, t3knoid wrote:
>
> BTW, I also copying the Oracle JDBC library file in the Groovy lib folder. 
> The console test works fine without specifying the -cp option so I know 
> that works. Unfortunately, I still get the same failure  in Jenkins.
>
> On Monday, November 16, 2015 at 3:11:54 PM UTC-5, t3knoid wrote:
>>
>> I am trying to use the Dynamic Choice Parameter and I am getting the 
>> following error in the Jenkins.err.log file:
>>
>> Nov 16, 2015 2:49:16 PM com.seitenbau.jenkins.plugins.dynamicparameter.
>> BaseParameterDefinition getScriptResultAsList
>> INFO: Script parameter with name 'BUILD' is not a instance of java.util.
>> List the parameter value is : null
>> Nov 16, 2015 2:49:16 PM com.seitenbau.jenkins.plugins.dynamicparameter.
>> util.JenkinsUtils execute
>> SEVERE: Cannot access class path
>> java.lang.ClassNotFoundException: oracle.jdbc.pool.OracleDataSource
>>
>> I've specfied the proper class path on the "Class Paths" Dynamic Choice 
>> Parameter option. I tried using a forward slash and double-backslash for 
>> the path separator character without success.
>>
>> The script works fine in a DOS console using the following command to run 
>> the script:
>>
>> groovy -cp C:\oracle\product\10.2.0\client_1\jdbc\lib\ojdbc14.jar foo.
>> groovy
>>
>> Here's the code in foo.groovy (with sensitive data obfuscated):
>>
>> import groovy.sql.Sql
>>
>> def sql = Sql.newInstance(
>> "jdbc:oracle:thin:@(description=(address_list=(address=(host=xxx)(protocol=tcp)(port=1521)))(connect_data=(service_name=xxx)))"
>> , "xxx", "xxx","oracle.jdbc.pool.OracleDataSource")
>> def list = []
>>
>> sql.eachRow('select COL from TABLE') { row ->
>>  list << "${row.FIELD}"
>> }
>>
>> list
>>
>> Jenkins doesn't even get to the point of executing the script because of 
>> the class path error. Any ideas on what I can 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/965b927c-887e-4a0e-af1b-07e8288b4df1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Send email during promotion

2015-11-16 Thread t3knoid
It's just not working. No error. The console messages indicates email is 
getting sent.

On Thursday, November 12, 2015 at 3:42:42 PM UTC-5, slide wrote:
>
> I've never tried this (I develop email-ext). Are you getting an error, or 
> is it just not working? I don't have any sort of way to test this.
>
> On Thu, Nov 12, 2015, 13:36 t3knoid <t3k...@gmail.com > 
> wrote:
>
>> Is it possible to send an email during promotion? The email and email-ext 
>> actions are available. However, I can't seem to get it to work after adding 
>> it as an action during a promotion.
>>
>> -- 
>> 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/a4cdd798-45e7-439d-a151-c9ef9ac1d50c%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/a4cdd798-45e7-439d-a151-c9ef9ac1d50c%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/2de53204-3bf1-4b7f-9be1-26e30fa9b15b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Dynamic Choice Parameter error "Cannot access class path"

2015-11-16 Thread t3knoid
I am trying to use the Dynamic Choice Parameter and I am getting the 
following error in the Jenkins.err.log file:

Nov 16, 2015 2:49:16 PM com.seitenbau.jenkins.plugins.dynamicparameter.
BaseParameterDefinition getScriptResultAsList
INFO: Script parameter with name 'BUILD' is not a instance of java.util.List 
the parameter value is : null
Nov 16, 2015 2:49:16 PM com.seitenbau.jenkins.plugins.dynamicparameter.util.
JenkinsUtils execute
SEVERE: Cannot access class path
java.lang.ClassNotFoundException: oracle.jdbc.pool.OracleDataSource

I've specfied the proper class path on the "Class Paths" Dynamic Choice 
Parameter option. I tried using a forward slash and double-backslash for 
the path separator character without success.

The script works fine in a DOS console using the following command to run 
the script:

groovy -cp C:\oracle\product\10.2.0\client_1\jdbc\lib\ojdbc14.jar foo.groovy

Here's the code in foo.groovy (with sensitive data obfuscated):

import groovy.sql.Sql

def sql = Sql.newInstance(
"jdbc:oracle:thin:@(description=(address_list=(address=(host=xxx)(protocol=tcp)(port=1521)))(connect_data=(service_name=xxx)))"
, "xxx", "xxx","oracle.jdbc.pool.OracleDataSource")
def list = []

sql.eachRow('select COL from TABLE') { row ->
 list << "${row.FIELD}"
}

list

Jenkins doesn't even get to the point of executing the script because of 
the class path error. Any ideas on what I can 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/d1baf2c0-a7d6-430b-86d2-fc0b46e32ecf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Dynamic Choice Parameter error "Cannot access class path"

2015-11-16 Thread t3knoid
BTW, I also copying the Oracle JDBC library file in the Groovy lib folder. 
The console test works fine without specifying the -cp option so I know 
that works. Unfortunately, I still get the same failure  in Jenkins.

On Monday, November 16, 2015 at 3:11:54 PM UTC-5, t3knoid wrote:
>
> I am trying to use the Dynamic Choice Parameter and I am getting the 
> following error in the Jenkins.err.log file:
>
> Nov 16, 2015 2:49:16 PM com.seitenbau.jenkins.plugins.dynamicparameter.
> BaseParameterDefinition getScriptResultAsList
> INFO: Script parameter with name 'BUILD' is not a instance of java.util.
> List the parameter value is : null
> Nov 16, 2015 2:49:16 PM com.seitenbau.jenkins.plugins.dynamicparameter.
> util.JenkinsUtils execute
> SEVERE: Cannot access class path
> java.lang.ClassNotFoundException: oracle.jdbc.pool.OracleDataSource
>
> I've specfied the proper class path on the "Class Paths" Dynamic Choice 
> Parameter option. I tried using a forward slash and double-backslash for 
> the path separator character without success.
>
> The script works fine in a DOS console using the following command to run 
> the script:
>
> groovy -cp C:\oracle\product\10.2.0\client_1\jdbc\lib\ojdbc14.jar foo.
> groovy
>
> Here's the code in foo.groovy (with sensitive data obfuscated):
>
> import groovy.sql.Sql
>
> def sql = Sql.newInstance(
> "jdbc:oracle:thin:@(description=(address_list=(address=(host=xxx)(protocol=tcp)(port=1521)))(connect_data=(service_name=xxx)))"
> , "xxx", "xxx","oracle.jdbc.pool.OracleDataSource")
> def list = []
>
> sql.eachRow('select COL from TABLE') { row ->
>  list << "${row.FIELD}"
> }
>
> list
>
> Jenkins doesn't even get to the point of executing the script because of 
> the class path error. Any ideas on what I can 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/89708478-7977-415f-8ced-35e97cbf572a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Send email during promotion

2015-11-12 Thread t3knoid
Is it possible to send an email during promotion? The email and email-ext 
actions are available. However, I can't seem to get it to work after adding 
it as an action during a promotion.

-- 
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/a4cdd798-45e7-439d-a151-c9ef9ac1d50c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Environment variables are unset when injecting variables from a property file using the Environment Injector (envinject) plugin

2015-01-15 Thread t3knoid
I have a very simple job that checks out a tiny project that contains a 
property file. When I configure envinject to use this file to set some 
variables, the variables are not set. To top it off, environment variables 
are getting unset such as SVN_REVISION. For example, SVN_REVISION is shown 
as Unversioned directory. Interestingly enough, SVN_REVISION_1 is getting 
not getting unset.

Now if I simply modify the job so that it uses another slave with similar 
attributes, the problem does not happen. The master also has the same 
attributes. If I ran it in the master, the problem also goes away. I've 
tried comparing job environments but cannot see anything that would cause 
this problem. The slave in question is running Windows XP with latest 
patches. Interestingly, setting an environment variable using the 
Properties Content field does not cause an issue.

-- 
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/a07f96c1-4596-4d8c-a0d3-34190f5cefa6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CIFS Publisher Plugin Remote Directory Value in a Property?

2014-10-02 Thread t3knoid
I'm using the CIFS Publisher plugin to copy artifacts. It's working great. 
However, I'd like to be able to add in my email notification where the 
artifacts were copied to. In short, I need to enumerate the Remote 
Directory value of each transfer set. Is there a property that I can use? I 
can't find documentation/posts that discusses this. Thanks in advance.

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