Possibility to include Git change logs from failed build to next success build
Hi, I just noticed on my pipeline builds when I have a failed build, the the pipeline detected git change logs from a couple of developers maybe 5 for example, and one of them can cause a failure if there were code errors checked in, when that code error is fixed, after the next successful job, those change logs will be no longer considered as new code change, is there a workaround to include those logs in the next successful build? Thanks Dominic -- 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/804269e0-0cf2-40c6-9c84-5ba6a7990c05%40googlegroups.com.
Re: Push sources checked out from Gerrit to Git on jenkins Job using pipeline
Hi Björn Pedersen, Thanks for the reply, I will try the first approach you mentioned, I might also take a look at the gerrit replication feature in the future since I have one repository that is modified completely in gerrit and should not be synced with my Git, Im just wondering of its possible with a wrapper withCredentials to just provide the credentialsId without the username and password since in my jenkins global credentials its already stored my username with password? Thanks, Dominic On Tue, 14 Jan 2020 at 15:15, 'Björn Pedersen' via Jenkins Users < jenkinsci-users@googlegroups.com> wrote: > Hi, > > Checkout from the source with scm and just add a shell step that does the > push. Per default the scm implementation also will use the installed > commandline git client. > If you need credentials for the push, you can wrap the shell step in a > withCredentials. > > But maybe just using the gerrit replication instead could be a better > option. > > Björn > > Am Dienstag, 14. Januar 2020 06:19:48 UTC+1 schrieb Dominic Espiritu: >> >> Hi, >> >> I would just like to ask if possible to push updates from my Gerrit >> repository to Git repository using SCM in jenkins? I only tried doing this >> on a manual steps from my terminal window, Any suggestions would be a good >> help. >> >> Thanks, >> Dominic >> > -- > 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/2e89c015-febc-4381-a923-fcb08013433d%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/2e89c015-febc-4381-a923-fcb08013433d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAAL0yhmLqY_q2yX-jKaj%3D_n1_OD2xsWCNeW_%2B_05k9%3DBxAmGmQ%40mail.gmail.com.
Push sources checked out from Gerrit to Git on jenkins Job using pipeline
Hi, I would just like to ask if possible to push updates from my Gerrit repository to Git repository using SCM in jenkins? I only tried doing this on a manual steps from my terminal window, Any suggestions would be a good help. Thanks, Dominic -- 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/b5858828-76a3-4adb-ba6c-02e2272d62bb%40googlegroups.com.
Re: Changes not being displayed on jenkins build summary and in email body
Thanks Björn Pedersen, this is now working properly. :-) On Thursday, 9 January 2020 22:59:08 UTC+8, Dominic Espiritu wrote: > > On my jenkins Job (type of pipeline), I use gerrit-trigger and on the > pipeline script definition I run "git fetch --tags --progress -- > ${PROJECT_URL} ${GERRIT_REFSPEC} && git checkout FETCH_HEAD", > Values: > > GERRIT_REFSPEC = refs/changes/*:refs/changes/* > PROJECT_URL = > > I can get the file changes but those files are not listen on my jenkins > summary page and in the email body, > > I would like to ask for help on this. > > Thanks, > Dominic > -- 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/eedae0eb-6164-428a-8989-e10e7689b607%40googlegroups.com.
Changes not being displayed on jenkins build summary and in email body
On my jenkins Job (type of pipeline), I use gerrit-trigger and on the pipeline script definition I run "git fetch --tags --progress -- ${PROJECT_URL} ${GERRIT_REFSPEC} && git checkout FETCH_HEAD", Values: GERRIT_REFSPEC = refs/changes/*:refs/changes/* PROJECT_URL = I can get the file changes but those files are not listen on my jenkins summary page and in the email body, I would like to ask for help on this. Thanks, Dominic -- 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/0cd43a8b-90de-4121-ba38-827b532167ba%40googlegroups.com. jenkins-script.jfif Description: Binary data mail-content.jfif Description: Binary data jenkins-summary.jfif Description: Binary data