Kubernetes Plugin share workspace

2018-02-26 Thread Matthew Ceroni
Is it possible, much like with the docker agent and reuseNode option, to 
share a work space between multiple kubernetes pods?

My use case that I am trying to solve it to utilize the lock/milestone 
functionality to promote artifacts through environments (test, staging, 
prod). The problem is if I use a global agent at the top of my pipeline, 
that POD will stick around until the end user finally proceeds or aborts 
the promotion. I don't really want that as it uses up resources. If I use a 
stage specific agent then I have the problem that the workspace gets 
re-initialized each time.

Thanks in advance. 

-- 
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/d6780c76-cc0c-4f60-90c5-448be26b7d61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: VMWare Compatibility

2018-02-26 Thread Jeff
Being a bit nit picky here on terminology, but neither Jenkins nor Jira can
be hosted on VMWare and will not have any direct compatibility requirements
with VMWare or the virtual "hardware version".   It will have more to do
with what Guest Operating System and version you are running.  For specific
compatibility see:

https://www.vmware.com/resources/compatibility/search.php?deviceCategory=
software

   and/or

https://partnerweb.vmware.com/comp_guide2/pdf/VMware_GOS_
Compatibility_Guide.pdf

We've been upgrading our infrastructure to ESXi 6.5 having VM's consisting
of mostly Ubuntu 14.04/16.04 systems as well as a few CentOS 6/7 systems
that are running without issue.  Some are still running the pre-6.5
compatibility modes and all work just fine.




On Mon, Feb 26, 2018 at 9:12 AM, Bob Roy  wrote:

> We are going to upgrade the VM server Jenkins is hosted on to VMWare V6.5.
> Does anyone know if JIRA 7.4 works OK with VMWare V6.5? and VM "hardware
> version" 13?
>
> --
> 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/6fb09f9e-0f15-47f4-ab4f-5bf8f3fd682b%40googlegroups.
> com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAPJK9%3DL68Ex99B43DVUNVK-yfqz72gM%2Bq7jPTA6rj9N3LUq7yg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


VMWare Compatibility

2018-02-26 Thread Bob Roy
We are going to upgrade the VM server Jenkins is hosted on to VMWare V6.5. 
Does anyone know if JIRA 7.4 works OK with VMWare V6.5? and VM "hardware 
version" 13?

-- 
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/6fb09f9e-0f15-47f4-ab4f-5bf8f3fd682b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [solved] Re: Docker cloud plugin and pipeline using docker

2018-02-26 Thread nicolas de loof
For a dockerized agent to be able to run docker pipeline, it has to use a
volume for workspace directory so this one can be shared with other
containers it creates.
Your docker agent template should be configured to use
"/home/jenkins/agent" as agent root directory, as this one is a volume and
as such workspace sub-folder will be shareable with other containers.

2018-02-26 5:14 GMT+01:00 Christian Gagneraud :

> On 26 February 2018 at 15:29, Christian Gagneraud 
> wrote:
> > On 26 February 2018 at 03:10, nicolas de loof 
> wrote:
> >> docker support in declarative pipeline relies on docker-workfow plugin,
> >> which require the jenkins slave to have access to a LOCAL docker daemon,
> >> which means the docker agent you are provisioning on computer B using
> docker
> >> plugin HAS to be configured with /var/run/docker.sock (so, the one from
> B)
> >> bind mounted. Doing so it can then create some side container to host
> the
> >> build steps.
> >
> > Hi Nicolas,
> >
> > Thanks for the tips, i think i'm getting there, but i'm still missing
> some bits:
> > - I have created a docker image based on jenkinsci/jnlp-slave, the
> > only customisation is installing docker in it
> > - The pipeline now get checkout inside tmy slave (on machine B)
> > - The docker image from the Jenkinsfile is pulled and executed.
> >
> > But i get this weird error (see full log at the end of this email):
> > 
> > docker-44734997459c on work-leader seems to be running inside
> > container e7f7a4381e32c456b806695b9b7334751d88f1a3985867bb964e9fd3d2e8
> c948
> > but /home/jenkins/workspace/aa_aaa_master-GQ43GQETZSZCK3GMCGYSLEW5TKL7YK
> HSBXYJPJLEX7A2AM6K5M6Q
> > could not be found among [/home/jenkins/.jenkins, /home/jenkins/agent]
>
> Google didn't return much with "could not be found among"
>
> https://stackoverflow.com/questions/47559469/jenkins-
> declarative-pipeline-docker-agent-timeout-run?rq=1
> https://tutel.me/c/programming/questions/46530963/run+jenkins+agent+in+
> docker+container+issue+with+jenkins+pipeline+and+varrundockersocket
>
> Not very useful, but using google's "repeat the search with the
> omitted results included.", I got a few extra results, one of them, an
> IRD log, that gave me the answer:
> https://echelog.com/logs/browse/jenkins/1497304800
>
> I had to add /home/jenkins in the "Volumes" of the "Docker Agent
> templates" (as well as "Remoting Filling System Root", but this was
> set by default).
> I noticed as well that if no "user" is specified in the "Connect
> method"/"Attach Docker Container", the Python image script will be run
> with id 1000:1000, which does not exists. But this doesn't seem to be
> a problem. (user=root is not required, nor is "Run container
> privileged").
>
> Thanks!
> Chris
>
> --
> 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/CABxGUTjm_P7nc0pk2WntGjq1BX2Eoacn6tD9xqw
> skjLpxg2_ZA%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CANMVJz%3DL%3DP3ZGcPTEdEJi2eEfyM1Su-0sHDUoPQHN95qrHcAuA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Naginator Plugin

2018-02-26 Thread Victor Martinez
There is already an open ticket:
- https://issues.jenkins-ci.org/browse/JENKINS-37076

Cheers

-- 
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/9e3f33bc-b5a7-41e4-8c6a-9ca9124c487a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins issue on installing Email-ext plugin[--Urgent--]

2018-02-26 Thread Slide
Several of the pipeline plugins have dependencies on plugins that require a
newer version of Jenkins, there is a warning in the plugin manager about
this when you are installing things. If you upgraded the pipeline plugins,
then this dependency was probably upgraded as well and requires at least
2.60.3 or something like that in order to run. You may need to upgrade to
that version at minimum.

On Mon, Feb 26, 2018 at 2:37 AM iqbal md  wrote:

> Hi Mark,
> I am using Jenkins 2.7.2.
> I tried installing the latest version of Pipeline:Job(workflow-job)
> plugins along with all the dependencies but still I am facing the same
> issue.
> Is it some problem with the Jenkins version, do I need to install the
> latest Jenkins version here or is it just the issue with plugins here?
>
> With Regards
> Iqbal
>
> --
> 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/fc36d85d-e81e-4557-990f-990de2de080c%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAPiUgVfq65BWRMQubMaQe2JevPtvXU2PALve47b1o53X0-VhOA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins issue on installing Email-ext plugin[--Urgent--]

2018-02-26 Thread iqbal md
Hi Mark,
I am using Jenkins 2.7.2.
I tried installing the latest version of Pipeline:Job(workflow-job) plugins 
along with all the dependencies but still I am facing the same issue.
Is it some problem with the Jenkins version, do I need to install the 
latest Jenkins version here or is it just the issue with plugins here?

With Regards
Iqbal

-- 
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/fc36d85d-e81e-4557-990f-990de2de080c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.