Re: Promoted Build Parameter Usage

2014-08-07 Thread Trey Duskin
I have not, other than by using the Promoted Build Parameter function. Is there a specific way I should make a dependency? I have many options... And I don't necessarily want this deploy job to run automatically... I want the promotion step to act as my "gate" to deploy, but I'd like the option t

Re: Can I nest an email notification step inside of a build step?

2014-08-07 Thread Slide
The Any Build Step plugin [1] might do what you want. I am not sure if you can conditionally do stuff based on other build step results, but it may be possible since it uses the Conditional Build Step plugin. slide 1 - https://wiki.jenkins-ci.org/display/JENKINS/Any+Build+Step+Plugin On Thu, Au

Re: Promoted Build Parameter Usage

2014-08-07 Thread Marky Jackson
Have you created a build dependency? Sent from my iPhone > On Aug 7, 2014, at 4:01 PM, Trey Duskin wrote: > > Hello, > > I am trying to use the Promoted Builds Plugin to help me select builds to > deploy to environments. I have set up a Build Job which will build the > software, and set up

Promoted Build Parameter Usage

2014-08-07 Thread Trey Duskin
Hello, I am trying to use the Promoted Builds Plugin to help me select builds to deploy to environments. I have set up a Build Job which will build the software, and set up a "Promote build when..." rule on this build which I set up for manual approval. I have a separate Deploy Job which I se

Re: Error when trying to configure Jenkins: hudson.plugins.git.GitException: Error performing command: git rev-parse --is-inside-work-tree

2014-08-07 Thread Parteek Kumar
Hi Mark, Also please suggest same thing for maven and java, what is work around to specify the both these tools if I dont want to enter manually in Slave node properties. Thanks, Parteek -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To

Re: Error when trying to configure Jenkins: hudson.plugins.git.GitException: Error performing command: git rev-parse --is-inside-work-tree

2014-08-07 Thread Parteek Kumar
Thanks Mark..it worked -- 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.

Re: Error when trying to configure Jenkins: hudson.plugins.git.GitException: Error performing command: git rev-parse --is-inside-work-tree

2014-08-07 Thread Parteek Kumar
Hi Curtis, Could you please explain about the script to specify the git tool, I dont want to mention git tool location under node properties for slave. Many thanks. Parteek On Friday, May 9, 2014 4:51:42 PM UTC-7, Curtis Kline wrote: > > Oana, on my OS-X slaves Git is located in /usr/bin/git.

Re: Error when trying to configure Jenkins: hudson.plugins.git.GitException: Error performing command: git rev-parse --is-inside-work-tree

2014-08-07 Thread Mark Waite
You probably have the Jenkins master node configured to specify git as git.exe. remove the exe from the end of that on the master node and the slaves will follow. Mark Waite On Aug 7, 2014 3:46 PM, "Parteek Kumar" wrote: > Hi Curtis, > > Could you please explain about the script to specify the

Can I nest an email notification step inside of a build step?

2014-08-07 Thread jishaq
Hello, I would like to add multiple build steps that: - Run a bash (or ruby or whatever) script - If script returns failure, perform custom email behavior based on that script's output - The email, and the distribution list, are customized for this specific build step. For example, a hypo

getting applescript failures back as build failures

2014-08-07 Thread Ginga, Dick
I have a simple setup...I have a single Applescript that builds an xcode project (I inherited this) that I am running from a Shell build step. But, whether the Applescript succeeds or fails, the shell always succeeds and the build is always marked as successful. How can I get the Applescript res

Re: How do I protect a job but publish the results?

2014-08-07 Thread Daniel Beck
Use (Project-based) Matrix Authorization Strategy and optionally enable the artifact permission by setting the Java system property -Dhudson.security.ArtifactsPermission=true This way, you can allow users read access to a job, builds, and build logs, but prevent access to job config, workspace,

Re: Trigger jobs via API plus with upstream

2014-08-07 Thread Daniel Beck
On 07.08.2014, at 17:12, Hiran Chaudhuri wrote: > Now if I do that the triggered job always is displayed as "triggered by > anonymous user". Is there any chance to trigger it via REST such that the > upstream project information is kept? I could not find anything in the docs > or the online R

How do I protect a job but publish the results?

2014-08-07 Thread Raine Nguyen
I need to have a way to protect all the jobs since I do not want to expose the protected data including the source code after build, but still allow users to view the build results to check the issues etc. Please let me know if there is any path I should take. All suggestions, advice are very a

Re: How do I Deploy an IIS website to a target server using Jenkins

2014-08-07 Thread Les Mikesell
On Thu, Aug 7, 2014 at 7:59 AM, Eric Wood wrote: > I want to be able to run a series of powershell scripts to automate the > deployment of an IIS website. I have the script already written, I just > need to be able to understand the jenkins configuration to run them. > Currently, the scripts are

Trigger jobs via API plus with upstream

2014-08-07 Thread Hiran Chaudhuri
Hello there. I have Jenkins with several projects. One project build is triggered correctly already, and during its run it find out many similar tasks that need to be done. You may assume it scans the filesystem for specific files and runs an ant target for each of them. Today this is solved by

How do I Deploy an IIS website to a target server using Jenkins

2014-08-07 Thread Eric Wood
I want to be able to run a series of powershell scripts to automate the deployment of an IIS website.  I have the script already written, I just need to be able to understand the jenkins configuration to run them. Currently, the scripts are able to pulled the compile website from a network share