[JIRA] (JENKINS-56624) docker.build
Title: Message Title guillermo casco commented on JENKINS-56624 Re: docker.build I tried with : docker.build(imageNameTagged) , "--add-host=app..com host-name.domain.com:172.x.x.x" But no entry was added in host/file. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56624) docker.build
Title: Message Title guillermo casco created an issue Jenkins / JENKINS-56624 docker.build Issue Type: Story Assignee: vjuranek Components: docker-build-step-plugin, docker-plugin Created: 2019-03-19 18:39 Priority: Minor Reporter: guillermo casco I would like to execute docker.build command during Jenkins pipeline , with the --add-host parameter as I want to add a line in the /etc/host file. Something like: docker build t tag:latest-add-host="host:127.128.0.1" . I can´t find a way to do this with jenkins and docker yet, is this possible? Right now my pipeline only runs docker.build(imageNameTagged) Add Comment
[JIRA] (JENKINS-50702) jenkins pipeline with groovy and use of “Withcredentials”
Title: Message Title guillermo casco closed an issue as Fixed Jenkins / JENKINS-50702 jenkins pipeline with groovy and use of “Withcredentials” Change By: guillermo casco Status: Open Closed Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50702) jenkins pipeline with groovy and use of “Withcredentials”
Title: Message Title guillermo casco created an issue Jenkins / JENKINS-50702 jenkins pipeline with groovy and use of “Withcredentials” Issue Type: Story Assignee: Stephen Connolly Attachments: Extractor.groovy Components: credentials-plugin Created: 2018-04-09 21:17 Priority: Minor Reporter: guillermo casco I have a jenkins pipeline from SCM running in jenkins with a groovyscript. In one of the steps I have upload a file to artifactory with CURL - u user:pass , but don´t wan´t that user and pass be visible in output of pipeline in jenkins. I have read in several places the "Withcredential" function but I´m not quite sure how to this works or apply or implement. I tried this 2 options with no luck: stage ('Upload war to Artifactory') { withCredentials([usernamePassword(credentialsId: 'artifactory', usernameVariable: username', passwordVariable: 'password')]) sh "sudo curl -u $username:$password -T $warPath 'https://artifactory.xxx.com:443/artifactory/form/$warFile'" } In this case I´m getting: org.jenkinsci.plugins.credentialsbinding.impl.CredentialNotFoundException: artifactory at org.jenkinsci.plugins.credentialsbinding.MultiBinding.getCredentials(MultiBinding.java:153) at org.jenkinsci.plugins.credentialsbinding.impl.UsernamePasswordMultiBinding.bind(UsernamePasswordMultiBinding.java:76) at org.jenkinsci.plugins.credentialsbinding.impl.BindingStep$Execution.start(BindingStep.java:114) at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:229) at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:153) at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:108) at groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1278) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1172) at groovy.lang.MetaCl
[JIRA] (JENKINS-50131) git parameter
Title: Message Title guillermo casco commented on JENKINS-50131 Re: git parameter Is this some kind of another bug or something? I implemented multibranch pipeline as you suggsted Mark Waite and is still running master . check images. Is there some kind of configuration I´m missing? Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50131) git parameter
Title: Message Title guillermo casco updated an issue Jenkins / JENKINS-50131 git parameter Change By: guillermo casco Attachment: pipe3.JPG Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50131) git parameter
Title: Message Title guillermo casco updated an issue Jenkins / JENKINS-50131 git parameter Change By: guillermo casco Attachment: pipe4.JPG Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50131) git parameter
Title: Message Title guillermo casco updated an issue Jenkins / JENKINS-50131 git parameter Change By: guillermo casco Attachment: pip2.JPG Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50131) git parameter
Title: Message Title guillermo casco updated an issue Jenkins / JENKINS-50131 git parameter Change By: guillermo casco Attachment: pipe1.JPG Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50131) git parameter
Title: Message Title guillermo casco updated an issue Jenkins / JENKINS-50131 git parameter Change By: guillermo casco Attachment: pip2.JPG Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50131) git parameter
Title: Message Title guillermo casco updated an issue Jenkins / JENKINS-50131 git parameter Change By: guillermo casco Attachment: pipe1.JPG Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50131) git parameter
Title: Message Title guillermo casco updated an issue Jenkins / JENKINS-50131 git parameter Change By: guillermo casco Attachment: pipe1.JPG Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50131) git parameter
Title: Message Title guillermo casco updated an issue Jenkins / JENKINS-50131 git parameter Change By: guillermo casco Attachment: pip2.JPG Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50131) git parameter
Title: Message Title guillermo casco commented on JENKINS-50131 Re: git parameter ok will try that, thank you for for your help! Regards.- Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50131) git parameter
Title: Message Title guillermo casco commented on JENKINS-50131 Re: git parameter ok and the last one: Use a Freestyle job instead of a single Pipeline job and allow it to manage the branch checkout. Then the user can select from a pick list to choose the branch they want to build Is this better? is the branch checkout management UI configured through jenkins console? first option you said involves docker and other stuff to configure and looks a little bit messy. Doable, but messy thanks budy Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50131) git parameter
Title: Message Title guillermo casco commented on JENKINS-50131 Re: git parameter what do you mean multibranch? Is already a multibranch pipeline. Master branch has a groovy file which perform some steps inside the job (compile, build, etc), and the branch I created has another groovy which implement those same steps as master and also others I´m adding (compile, build, run tests, etc). Maybe yo refer to this option? adding more branches in there? check image. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50131) git parameter
Title: Message Title guillermo casco updated an issue Jenkins / JENKINS-50131 git parameter Change By: guillermo casco Attachment: br.JPG Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50131) git parameter
Title: Message Title guillermo casco commented on JENKINS-50131 Re: git parameter Ok, so if this can´t be done with the plug in, how can I achieve running a JOB but instead of running master branch from repo, to be run from a different branch. I don´t want to modify master because is being used for the today´s deploys. I created a different branch, Now How can I do a checkout to that branch and using it when running the job in jenkins? Has to be a way or not? Mark Waite, Boguslaw Klimas ? I don´t know how to do this, please help! Thank you Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50131) git parameter
Title: Message Title guillermo casco commented on JENKINS-50131 Re: git parameter But this doesn´t solve the issue. How can I achieve tat the jenkins do a git checkout the branch I choose? It only does a checkout of Master. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50131) git parameter
Title: Message Title guillermo casco commented on JENKINS-50131 Re: git parameter I configure it like you said, but now it can´t find the branch (even though is showed in the drop down menu) chek images that I just updated. thanks for your help Budy. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50131) git parameter
Title: Message Title guillermo casco updated an issue Jenkins / JENKINS-50131 git parameter Change By: guillermo casco Attachment: Capture1.JPG Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50131) git parameter
Title: Message Title guillermo casco updated an issue Jenkins / JENKINS-50131 git parameter Change By: guillermo casco Attachment: Capture3.JPG Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50131) git parameter
Title: Message Title guillermo casco updated an issue Jenkins / JENKINS-50131 git parameter Change By: guillermo casco Attachment: Capture4.JPG Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50131) git parameter
Title: Message Title guillermo casco updated an issue Jenkins / JENKINS-50131 git parameter Change By: guillermo casco Attachment: Capture2.JPG Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50131) git parameter
Title: Message Title guillermo casco created an issue Jenkins / JENKINS-50131 git parameter Issue Type: Story Assignee: Boguslaw Klimas Attachments: Capture.JPG, Capture.JPG, Capture.JPG, Capture.JPG Components: git-parameter-plugin Created: 2018-03-12 20:25 Priority: Minor Reporter: guillermo casco I have installed and configured git parameter plug in so I can deploy a job and select the branch with the code I wrote instead of code of master. Thing is that eventhough I select the branch I created, the job starts running on master. Here are some screenshots of what I have configured and when job is run. Add Comment