Re: Using git publisher from a Jenkinsfile pipeline?

2017-04-04 Thread Eduardo Aparicio Cardenes
This is really cool guys. I was wondering why checkout scm it didn't enable git command to avoid create sh command, but I guess this is in progress. it will be good if you can share as troubleshooting in pipelines plugin because the integration with Git is a little unclear for a newbie like

Re: Using git publisher from a Jenkinsfile pipeline?

2016-09-20 Thread Andrey Makeev
I want to share my Jenkins Pipeline setup and my solution to publish changes/tags to git repo via SSH (While Git Publish Support is under development). Please check it out f

Re: Using git publisher from a Jenkinsfile pipeline?

2016-08-26 Thread Random Guy
I tried withCredentials() method... its giving an error.. NoSuchMethodError... java.lang.NoSuchMethodError: No such DSL method 'withCredentials' found Here is how my method look withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: 'myid', usernameVariable: 'USERNAME', pas

Re: Using git publisher from a Jenkinsfile pipeline?

2016-06-19 Thread Mark Waite
I found the answer. Sorry to bother the list. Git publisher is not yet supported with pipeline (see https://issues.jenkins-ci.org/browse/JENKINS-28335) A work around to publish to git from a pipeline is available. See https://github.com/jenkinsci/pipeline-examples/blob/master/pipeline-example

Using git publisher from a Jenkinsfile pipeline?

2016-06-19 Thread Mark Waite
I've been creating Jenkins jobs as tests of various bug fixes and storing them in a git repository. Currently, the Jenkins jobs include the definition of the verification steps to confirm the bug is fixed. The pipeline file seems like a better way to check that the problem is fixed, since the