RE: Credentials Plugin : escape characters don't work?

2014-12-05 Thread Andrew Kujtan
Judging by your output, I would hazard a guess that ‘$’ escapes the ‘$’, so to 
get ‘$$’ you would use ‘’, not ‘\$\$’. Just a guess though.


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Shobha Dashottar
Sent: Friday, December 05, 2014 5:00 AM
To: jenkinsci-users@googlegroups.com
Subject: Credentials Plugin : escape characters don't work?


   I am using the Credentials Plugin "username:password". I get the credentials 
using the "use secrets" option into the environment but the special characters 
are getting messed up. It appears the Plugin is not recognizing the backslash 
as a special character. I have a $$ in my password string and that somehow gets 
translated to $.

Is there a separate set of escape characters it understands.

\$\$ translates to \$\$
but \$$ translates to \$

Thanks
Shobha.
--
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/ae94bdce-9a40-4918-b1a2-b5dd61d8dee8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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


RE: Any comments on the UI changes in 1.572

2014-07-18 Thread Andrew Kujtan
EmailExt configuration is also borked with the new redesign, the
triggers selection has the delete buttons all over the place.

http://i.imgur.com/XAW8ycn.png



-Original Message-
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
Sent: Friday, July 18, 2014 9:30 AM
To: jenkinsci-users@googlegroups.com
Subject: RE: Any comments on the UI changes in 1.572

Hi Daniel

Jenkins does behave exactly as you described. I understand the operation
now.  It's just a little disconcerting that there is no 'Save'
indication when you hit Save, but there is when you hit Apply.

I'm not saying it is wrong, it just feels a bit odd to me.

David

-Original Message-
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck
Sent: 18 July 2014 14:17
To: jenkinsci-users@googlegroups.com
Subject: Re: Any comments on the UI changes in 1.572


On 18.07.2014, at 15:15, David Aldrich 
wrote:

> I'm not sure if this is relevant to this discussion, but I find the
behaviour of the 'Save' and 'Apply' buttons in the Project Configuration
screen odd.  Clicking 'Apply' gives a green banner saying 'Saved'.
Clicking 'Save' gives no message.

'Apply' behaves correctly (although the banner looks a bit weird now,
with the dark header).

Clicking 'Save' should forward you to the index page of the project. If
that's not the case, and you're staying on the config form please file a
new Jira issue. If possible, try to reproduce the problem on other
browsers and Jenkins versions.

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


 Click
https://www.mailcontrol.com/sr/5dx4xZLhqMbGX2PQPOmvUjekYHk5lulQbBmpXltMh
LhENPR24x!G4sgVkA5!Nj2bRisi26jPZSyoZTw26POg4w==  to report this email as
spam.

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

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


RE: Plugin to Minify/Obfuscate/Uglify Javascript

2014-05-15 Thread Andrew Kujtan
I think YUICompressor is no longer maintained. Better to use Uglifyjs or 
similar. 

 

But as Richard noted, this is the job of a build step, not a Jenkins plugin.

 

-Andrew

 

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Richard Bywater
Sent: Wednesday, May 14, 2014 7:08 PM
To: jenkinsci-users@googlegroups.com
Subject: Re: Plugin to Minify/Obfuscate/Uglify Javascript

 

Note thats the one I mention because its the last command-line one I used - 
there's probably some other possibly more options out there if YUICompressor 
doesn't tick the boxes for you :)

 

Richard.

 

On Thu, May 15, 2014 at 11:03 AM,  wrote:

Thanks for the reply, Richard. I will look into YUICompressor.

 


On Wednesday, May 14, 2014 3:57:58 PM UTC-7, Richard Bywater wrote:

Personally I think thats better running as a build step. e.g. using 
YUICompressor or another tool. 

 

Richard.

 

On Thu, May 15, 2014 at 10:51 AM,  wrote:

It might be worth me noting that I am running on a Mac (with 
Mavericks). I noticed that there is a NodeJS Jenkins plug-in. Has anyone had 
any success with this plugin?

 


On Wednesday, May 14, 2014 12:59:11 PM UTC-7, 
cameron.m...@gmail.com wrote:

Hi All,

 

Is there a Jenkins plugin (doesn't necessarily have to be a 
plugin) or an efficient way to minify javascript? I would like to just have a 
plug-in of some kind to just minify all javascript in the workspace that has 
been checked out from SVN. I haven't been able to find anything that is geared 
specifically to do that with Jenkins. I've been looking at Grunt, but it looks 
like I'd be adding a lot of overhead to my solution to only use a very small 
portion of what Grunt is designed for. Has anyone found any useful plugins for 
this or had any luck with Jenkins and Grunt or another 3rd party program for 
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-use...@googlegroups.com.


For more options, visit https://groups.google.com/d/optout.

 

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

 

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

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


Polling Times

2014-03-19 Thread Andrew Kujtan
I'm trying to set up my SVN polling to run every 10 minutes between 7am
and 8pm Monday through Friday, the documentation is a little hard to
parse, is the following correct?

 

H/6 7-20/1 * * 1-5

 

Cheers,

Andrew Kujtan

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


RE: best approach to automate/manage jenkins jobs?

2014-02-21 Thread Andrew Kujtan
I use an ant task that generates my jobs based off a template job it
pulls down. For me, the CLI tends to be really flaky though, when
re-generating ~1500 jobs 10-20 will usually fail.

 

-Andrew

 

From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mark Waite
Sent: Friday, February 21, 2014 10:21 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: best approach to automate/manage jenkins jobs?

 

I called the command line to extract the job definition, then stored
that definition in source control.  I could replay it at any time.

 

That did not update job definitions when they changed.  It did not
detect changes (other than through the version control system diff
mechanism).  It was not attempting to code Jenkins job definitions in a
DRY fashion.

 

It was simple to maintain and helped me reconstruct environments more
readily on those rare times when I needed to reconstruct them.

 

Mark Waite

 

On Fri, Feb 21, 2014 at 8:14 AM, phil swenson 
wrote:

Hi, we have a large number of jenkins jobs and would like to automate
and version control their configuration.

 

>From what I can tell, most people just manually config their jobs via
the UI.  Unless there are only a few very simple jobs, this leads to an
unmanageable mess.

 

I think the jobs should be coded in a DRY fashion, version controlled,
and deployed via a scripted system.

 

Here are the approaches I am aware of:

 

1) scripting via command line (jenkins cli)

2) scripting via the rest web services

3) chef cookbook http://community.opscode.com/cookbooks/jenkins

 

What are most people doing?

Any recommendations?

 

thanks

phil

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





 

-- 

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


Does Jenkins scan for new WAR files?

2013-06-26 Thread Andrew Kujtan
I'm having an intermittent error in my builds because a war file the build 
generates seems to be in use by jenkins, exception shown below. When I navigate 
to the war file in the filesystem I can't delete it either. It seems that the 
Jenkins process has a lock on it, as I can only delete it after shutting down 
Jenkins.

Am I crazy?

Building in workspace D:\jenkins\jobs\Complete Build - Everything\workspace
Cleaning up D:\jenkins\jobs\Complete Build - Everything\workspace\build\scratch
Deleting D:\jenkins\jobs\Complete Build - Everything\workspace\build\scratch\lib
ERROR: Failed to update http://svn/vlpro/vlproprojects/trunk
org.tmatesoft.svn.core.SVNException: svn: E204900: D:\jenkins\jobs\Complete 
Build - Everything\workspace\build\scratch\lib\Root.war: The process cannot 
access the file because it is being used by another process.

at 
hudson.scm.subversion.UpdateWithCleanUpdater$TaskImpl$1.handleStatus(UpdateWithCleanUpdater.java:78)
at 
org.tmatesoft.svn.core.wc.SVNStatusClient$1.receive(SVNStatusClient.java:356)
at 
org.tmatesoft.svn.core.wc.SVNStatusClient$1.receive(SVNStatusClient.java:353)
at 
org.tmatesoft.svn.core.wc2.SvnReceivingOperation.receive(SvnReceivingOperation.java:78)
at 
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgGetStatus.receive(SvnNgGetStatus.java:201)
at 
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgGetStatus.receive(SvnNgGetStatus.java:22)
at 
org.tmatesoft.svn.core.internal.wc17.SVNStatusEditor17.sendUnversionedItem(SVNStatusEditor17.java:208)
at 
org.tmatesoft.svn.core.internal.wc17.SVNStatusEditor17.getDirStatus(SVNStatusEditor17.java:679)
at 
org.tmatesoft.svn.core.internal.wc17.SVNStatusEditor17.walkStatus(SVNStatusEditor17.java:575)
at 
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgGetStatus.run(SvnNgGetStatus.java:123)
at 
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgGetStatus.run(SvnNgGetStatus.java:22)
at 
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
at 
org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)
at 
org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1235)
at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:291)
at 
org.tmatesoft.svn.core.wc.SVNStatusClient.doStatus(SVNStatusClient.java:360)
at 
hudson.scm.subversion.UpdateWithCleanUpdater$TaskImpl.preUpdate(UpdateWithCleanUpdater.java:66)
at 
hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:151)
at 
hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:153)
at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:903)
at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:884)
at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:867)
at hudson.FilePath.act(FilePath.java:905)
at hudson.FilePath.act(FilePath.java:878)
at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:843)
at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:781)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1369)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581)
at hudson.model.Run.execute(Run.java:1593)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:242)
Caused by: svn: E204900: D:\jenkins\jobs\Complete Build - 
Everything\workspace\build\scratch\lib\Root.war: The process cannot access the 
file because it is being used by another process.

at 
org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:109)
... 34 more
Caused by: java.nio.file.FileSystemException: D:\jenkins\jobs\Complete Build - 
Everything\workspace\build\scratch\lib\Root.war: The process cannot access the 
file because it is being used by another process.

at 
sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
at 
sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at 
sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
at 
sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:268)
at 
sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
at java.nio.file.Files.delete(Files.java:1077)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.refl

RE: Want to create Jenkins user login, but name already exists

2013-04-09 Thread Andrew Kujtan
You might want to update to a later version, IIRC around 1.500 they did
a bunch of fixes to the people page rendering to fix slow loading.

 

From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Richard J
Sent: Tuesday, April 09, 2013 3:09 PM
To: jenkinsci-users@googlegroups.com
Subject: Want to create Jenkins user login, but name already exists

 

Problem:

I want to add a user to the Jenkins user list to give him job control in
Jenkins, but Jenkins tells me the user already exists. 

The login ID I want to create is not in the list shown in the Manage
Users page.

 

 

Background:

Using Jenkins 1.492 on Windows with Perforce (version control) plugin.

The user in question has been submitting Perforce change lists for
awhile and they have been included in CI job runs, 

 

When I saw the error message, I had the feeling that the user account
name I was trying to create may already exist because the ID is the same
as that user's Perforce login ID.

I clicked on the "People" link on the main page, but after 10 minutes or
so, the page shows "Aborted" in the progress bar.  Tried several times
with same result.

 

If the display of people ever finished, what would I do then to create
the desired Jenkins login ID?

 

Thanks!

Richard

-- 
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: SVN 1.4 and SVN 1.7.5

2013-03-04 Thread Andrew Kujtan
I believe he means the working copy. Which AFAIK isn't currently
possible as there is no per project SVN setting, just the global
setting.

Sami's point is valid, why do you even want to use 2 different SVN
versions locally anywhay?

-Original Message-
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Sami Tikka
Sent: Saturday, March 02, 2013 4:48 PM
To: jenkinsci-users@googlegroups.com
Subject: Re: SVN 1.4 and SVN 1.7.5

I haven't used subversion a lot but according to my understanding, it
really is not a concern.

http://subversion.apache.org/docs/release-notes/1.7.html says:

"Older clients and servers interoperate transparently with 1.7 servers
and clients."

Or did you test it and found the compatibility was not working as
advertised?

Maybe you could tell us a bit more why you need "2 different versions of
SVN"?

-- Sami

Rahul k a  kirjoitti 28.2.2013 kello 22.11:

> Hi,
>  
> How to use 2 different versions of SVN (1.4 & 1.7.5) for 2 different
projects.?
>  
> Thanks,
> Rahul
> 
> -- 
> 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.


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