.Net Project Automated Build and Deployment Setup

2017-03-25 Thread Lokesh Swamy
Hi, Can anybody please help me out in performing deployment to a WebServer with telnet ? I am currently using telnet login to connect to my Validation servers where the code is actually deployed. I have written the script(or commands) for doing a build and publish a package in my Dev

p4 unshelve fails in a pipeline job

2017-03-25 Thread Ravi Kondamuru
Hi, I have a pipeline based job where I do an unshelve, if user provides it as input. However, I see that it always indicates "no such files". If i run the command on a regular system it succeeds. I am not able to figure out what this error indicates. Any help will be appreciated. thanks,

Re: How to skip a build after a "git push" done by a Jenkinsfile

2017-03-25 Thread Idan Adar
At last, resolved using parameters, when and expression blocks. See here: http://stackoverflow.com/questions/43016942/can-a-jenkins-job-be-aborted-with-success-result -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this

Re: How to skip a build after a "git push" done by a Jenkinsfile

2017-03-25 Thread Idan Adar
I am now attempting to solve this use the environment, when and expression blocks. Could some please take a look? http://stackoverflow.com/questions/43016942/can-a-jenkins-job-be-aborted-with-success-result -- You received this message because you are subscribed to the Google Groups "Jenkins

Chef plugin in jenkin

2017-03-25 Thread Krishna
Hi Experts, I am new bee to jenkin, just wanted to know is chef plugin supported in jenkin, If yes, can someone share me the link for the same. Thank you in advance. Thanks Krishna -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To

Re: platformlabeler removed from update center?

2017-03-25 Thread Daniel Beck
> On 25.03.2017, at 12:05, Mark Waite wrote: > > http://updates.jenkins-ci.org/download/plugins/ no longer includes the > platformlabeler plugin. I've found that to plugin to be a nice convenience > to automatically label my agents based on the operating system

platformlabeler removed from update center?

2017-03-25 Thread Mark Waite
http://updates.jenkins-ci.org/download/plugins/ no longer includes the platformlabeler plugin. I've found that to plugin to be a nice convenience to automatically label my agents based on the operating system which they are running. Was it removed for a specific reason? Is there a better

Re: How to skip a build after a "git push" done by a Jenkinsfile

2017-03-25 Thread Idan Adar
Thus far I have tried: * success ("...") -- build stops with "failed" status * sh "exit 0" -- build doesn't stop (continues to the next stage in the pipeline) I think "exit 0" is the way to go, but didn't yet figure out exactly how... On Saturday, March 25, 2017 at 1:01:15 PM UTC+3, Stephen

Re: How to skip a build after a "git push" done by a Jenkinsfile

2017-03-25 Thread Stephen Connolly
Skipping polling from the git plugin is not an option for branch sources The branch source tracks last revision built for each branch and fires a build of the current revision is not equal to the last. What you want is a build step that stops the build with an "ignore" status of some sort. On

Re: How to skip a build after a "git push" done by a Jenkinsfile

2017-03-25 Thread Idan Adar
As Mark mentioned, the alternative is to trigger an exception... (which will in turn show the row in red color). I do it as follows. After checking out, if a git commit includes "[ci skip]" I use a "success" keyword (this keyword does not exit) hence the build stops. I would love for this

Re: How to skip a build after a "git push" done by a Jenkinsfile

2017-03-25 Thread Idan Adar
This answer is promising: http://stackoverflow.com/a/41164841/1530814 The problem is that when using Branch Source as Git (so that these options are available in the Jenkins UI, $CHANGE_ID is not available... (my code depends on it). When using Branch Source as GitHub, these options are not

Re: How to skip a build after a "git push" done by a Jenkinsfile

2017-03-25 Thread Idan Adar
The above is not the solution. It simply makes the job not run... -- You received this 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.

Re: How to git push from a Jenkinsfile?

2017-03-25 Thread Idan Adar
Okay, solved at last. In addition to the below stage, for your reference, I had to also add the id_rsa and id_rsa.pub files to ~/.ssh. Then I had to do a git push manually from the command line which then instructed me to trust the ssh key. Following this, the script from the stage then