Want to automatic deployment

2023-10-13 Thread Achudhan M G
Hello, 

I have 2 servers, one is Jenkins and the other is my Laravel application 
server. My requirement is whenever I push the code to my main branch in 
Bitbucket, Jenkins will automatically trigger and pull the code to my 
Laravel application server. How will I do this and can you explain in a 
walk-through?


Thanks&Regards,
Achudhan

-- 
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/10ae8a8e-9df4-4cef-8257-5aabf1e43158n%40googlegroups.com.


Jenkins - Kubernetes YAML Deployment - Api call failed with code 0

2020-10-14 Thread Enes Lanpir
Hi,
<https://stackoverflow.com/posts/64350177/timeline>

I have been trying to deploy a yaml file to Kubernetes that I have pull 
from Github via Jenkins. At first I got an api version error, after plug in 
downgrades, when I started my pipeline, I got a different error.

I cannot find the solution to the problem below that I shared with you. 
Could you please help me with why I am getting this error and how to fix it?

Thanks,
Starting Kubernetes deployment Loading configuration: 
/var/lib/jenkins/workspace/k8sdeploy/k8sdeploy.yml Api call failed with 
code 0, detailed message: null ERROR: ERROR: java.lang.RuntimeException: 
io.kubernetes.client.openapi.ApiException: java.net.SocketException: Broken 
pipe (Write failed) hudson.remoting.ProxyException: 
java.lang.RuntimeException: io.kubernetes.client.openapi.ApiException: 
java.net.SocketException: Broken pipe (Write failed) at 
com.microsoft.jenkins.kubernetes.wrapper.ResourceManager.handleApiExceptionExceptNotFound(ResourceManager.java:180)
 
at 
com.microsoft.jenkins.kubernetes.wrapper.V1ResourceManager$DeploymentUpdater.getCurrentResource(V1ResourceManager.java:213)
 
at 
com.microsoft.jenkins.kubernetes.wrapper.V1ResourceManager$DeploymentUpdater.getCurrentResource(V1ResourceManager.java:201)
 
at 
com.microsoft.jenkins.kubernetes.wrapper.ResourceManager$ResourceUpdater.createOrApply(ResourceManager.java:93)
 
at 
com.microsoft.jenkins.kubernetes.wrapper.KubernetesClientWrapper.handleResource(KubernetesClientWrapper.java:289)
 
at 
com.microsoft.jenkins.kubernetes.wrapper.KubernetesClientWrapper.apply(KubernetesClientWrapper.java:256)
 
at 
com.microsoft.jenkins.kubernetes.command.DeploymentCommand$DeploymentTask.doCall(DeploymentCommand.java:172)
 
at 
com.microsoft.jenkins.kubernetes.command.DeploymentCommand$DeploymentTask.call(DeploymentCommand.java:124)
 
at 
com.microsoft.jenkins.kubernetes.command.DeploymentCommand$DeploymentTask.call(DeploymentCommand.java:106)
 
at hudson.FilePath.act(FilePath.java:1163) at 
com.microsoft.jenkins.kubernetes.command.DeploymentCommand.execute(DeploymentCommand.java:68)
 
at 
com.microsoft.jenkins.kubernetes.command.DeploymentCommand.execute(DeploymentCommand.java:45)
 
at 
com.microsoft.jenkins.azurecommons.command.CommandService.runCommand(CommandService.java:88)
 
at 
com.microsoft.jenkins.azurecommons.command.CommandService.execute(CommandService.java:96)
 
at 
com.microsoft.jenkins.azurecommons.command.CommandService.executeCommands(CommandService.java:75)
 
at 
com.microsoft.jenkins.azurecommons.command.BaseCommandContext.executeCommands(BaseCommandContext.java:77)
 
at 
com.microsoft.jenkins.kubernetes.KubernetesDeploy.perform(KubernetesDeploy.java:42)
 
at 
com.microsoft.jenkins.azurecommons.command.SimpleBuildStepExecution.run(SimpleBuildStepExecution.java:54)
 
at 
com.microsoft.jenkins.azurecommons.command.SimpleBuildStepExecution.run(SimpleBuildStepExecution.java:35)
 
at 
org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
 
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
at java.util.concurrent.FutureTask.run(FutureTask.java:266) at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
at java.lang.Thread.run(Thread.java:748) Caused by: 
hudson.remoting.ProxyException: io.kubernetes.client.openapi.ApiException: 
java.net.SocketException: Broken pipe (Write failed) at 
io.kubernetes.client.openapi.ApiClient.execute(ApiClient.java:898) at 
io.kubernetes.client.openapi.apis.AppsV1Api.readNamespacedDeploymentWithHttpInfo(AppsV1Api.java:7299)
 
at 
io.kubernetes.client.openapi.apis.AppsV1Api.readNamespacedDeployment(AppsV1Api.java:7275)
 
at 
com.microsoft.jenkins.kubernetes.wrapper.V1ResourceManager$DeploymentUpdater.getCurrentResource(V1ResourceManager.java:210)
 
... 23 more Caused by: hudson.remoting.ProxyException: 
java.net.SocketException: Broken pipe (Write failed) at 
java.net.SocketOutputStream.socketWrite0(Native Method) at 
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111) at 
java.net.SocketOutputStream.write(SocketOutputStream.java:155) at 
sun.security.ssl.OutputRecord.writeBuffer(OutputRecord.java:431) at 
sun.security.ssl.OutputRecord.write(OutputRecord.java:417) at 
sun.security.ssl.SSLSocketImpl.writeRecordInternal(SSLSocketImpl.java:894) 
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:865) at 
sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123) at 
okio.Okio$1.write(Okio.java:79) at 
okio.AsyncTimeout$1.write(AsyncTimeout.java:180) at 
okio.RealBufferedSink.flush(RealBufferedSink.java:224) at 
okhttp3.internal.http2.Http2Writer.settings(Http2Writer.java:185) at 
okhttp3.internal.http2.Http2Connection.start(Http2Connection.java:499) at 
okhttp3.internal.http2.Http2Connection.start(Http2Connection.java:4

Re: JAVA_OPTS in jenkins k8s deployment, does not seem to take into account -Xss (stack size)

2020-08-14 Thread Vincent Latombe
JAVA_OPTS is being passed only to the java process running Jenkins. If you
run blindly java in the same container, it won't pick up any of the
arguments you specified unless you explicitly pass it JAVA_OPTS.

Vincent


Le jeu. 13 août 2020 à 15:38, Pantelis Karamolegkos 
a écrit :

> In my jenkins deployment (for which I am using the official helm chart
> <https://github.com/helm/charts/tree/master/stable/jenkins>
>
>
> - name: JAVA_OPTS
>   value: |
> -Djava.awt.headless=true
> -Dorg.csanchez.jenkins.plugins.kubernetes.PodTemplate.connectionTimeout=180
> -Dhudson.slaves.NodeProvisioner.initialDelay=0 -Xss512k
>
>
> but when I log in to the pod:
>
>
> jenkins@jenkins-cd-5f4b845c5d-cd877:/$ java -XX:+PrintFlagsFinal -version
> | grep ThreadStackSize
>  intx CompilerThreadStackSize   = 0
> {pd product}
>  intx ThreadStackSize   = 1024
>{pd product}
>  intx VMThreadStackSize = 1024
>{pd product}
>
>
> why the -Xss512k has no effect and the ThreadStackSize remains at 1M?
>
> --
> 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/c1cfc6df-757b-45a6-8377-67bbe5b4fb0eo%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/c1cfc6df-757b-45a6-8377-67bbe5b4fb0eo%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/CAH-zGCiQuruhynnc1TPx1DgcQ8AkcOdwy%3DiNNWAFyPbxt229zQ%40mail.gmail.com.


JAVA_OPTS in jenkins k8s deployment, does not seem to take into account -Xss (stack size)

2020-08-13 Thread Pantelis Karamolegkos
In my jenkins deployment (for which I am using the official helm chart 
<https://github.com/helm/charts/tree/master/stable/jenkins>


- name: JAVA_OPTS
  value: |
-Djava.awt.headless=true 
-Dorg.csanchez.jenkins.plugins.kubernetes.PodTemplate.connectionTimeout=180 
-Dhudson.slaves.NodeProvisioner.initialDelay=0 -Xss512k


but when I log in to the pod:


jenkins@jenkins-cd-5f4b845c5d-cd877:/$ java -XX:+PrintFlagsFinal -version | 
grep ThreadStackSize
 intx CompilerThreadStackSize   = 0 
  {pd product}
 intx ThreadStackSize   = 1024 
   {pd product}
 intx VMThreadStackSize = 1024 
   {pd product}


why the -Xss512k has no effect and the ThreadStackSize remains at 1M?

-- 
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/c1cfc6df-757b-45a6-8377-67bbe5b4fb0eo%40googlegroups.com.


Re: About recommended RAM memory limit for Jenkins master docker for k8s deployment

2020-02-03 Thread Mahesh Wabale

I am able to free cache memory for Jenkins master pod docker container . As 
per docker image behaviour its taking resources from k8s node where it is 
deployed . 

You can verify memory usage by below commands from docker container . 

bash-4.4$ cat /sys/fs/cgroup/memory/memory.limit_in_bytes

bash-4.4$ cat /sys/fs/cgroup/memory/memory.max_usage_in_bytes

bash-4.4$ cat /sys/fs/cgroup/memory/memory.stat | grep cache

bash-4.4$ 



Solution , delete *cache memory for k8s node where your Jenkins master pod 
docker container is running* , there will be no downtime required for 
Jenkins service . 
Following document help me : 
https://www.tecmint.com/clear-ram-memory-cache-buffer-and-swap-space-on-linux/
 

Thanks , 

On Thursday, January 30, 2020 at 2:57:30 AM UTC+5:30, James Nord wrote:
>
> unfortunately there is no quick answer.
> I have seen much bigger instances work flawlessly with 4GB and much 
> smaller instances need 32GB.
>
> the big difference is on what plugins you have installed, especially 
> around report visualisation / transformation and if you are using pipelines 
> that you are following best practices and not putting build logic into the 
> pipeline bit only flow.
>
> as with any service in production I would recommend a monitoring service 
> that shows you the pods consumed memory / CPU and JVM heap / off heap 
> memory along with GC logs and tune based on your actual workload.  
> with k8s I would recommend that you specify a request and limit for CPU 
> and memory to avoid any suprises, the memory will need some headroom o we 
> what Jenkins itself uses as it will often spawn processes for SCM 
> integration / polling
>
>

-- 
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/69bf1bc8-e7f8-4181-adfa-b70900128021%40googlegroups.com.


About recommended RAM memory limit for Jenkins master docker for k8s deployment

2020-01-29 Thread James Nord
unfortunately there is no quick answer.
I have seen much bigger instances work flawlessly with 4GB and much smaller 
instances need 32GB.

the big difference is on what plugins you have installed, especially around 
report visualisation / transformation and if you are using pipelines that you 
are following best practices and not putting build logic into the pipeline bit 
only flow.

as with any service in production I would recommend a monitoring service that 
shows you the pods consumed memory / CPU and JVM heap / off heap memory along 
with GC logs and tune based on your actual workload.  
with k8s I would recommend that you specify a request and limit for CPU and 
memory to avoid any suprises, the memory will need some headroom o we what 
Jenkins itself uses as it will often spawn processes for SCM integration / 
polling

-- 
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/e8f12b1b-ce59-47c2-a988-b6328c440e20%40googlegroups.com.


About recommended RAM memory limit for Jenkins master docker for k8s deployment

2020-01-29 Thread Mahesh Wabale
My Jenkins is deployed on k8s , i have configured 60 slaves in setup which are 
also on k8s, there are around 60 concurrent builds are expected . Using NFS 4.1 
. Want to understand what should be recommended size for RAM size  limit in GB 
for Jenkins  master docker image so that my setup will work without any issues 
. Or should it be unlimited .

-- 
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/d03f2351-8c8f-46ba-8d25-f092d0aafd6d%40googlegroups.com.


Link to deployment: Maven Deployment Linker or alternative?

2019-11-28 Thread Nick Stolwijk
Hi,

I have a question about creating links to the deployed artifacts in our
freestyle Maven build. We used to use the Maven Deployment Linker[1] but
due to a few issues with it (support for maven 3.5.2 [2] and HTML
escaped[3]) it is no longer really usable.

Are there alternatives to this plugin or is there any chance that those
issues will be fixed?

[1] https://plugins.jenkins.io/maven-deployment-linker
[2] https://issues.jenkins-ci.org/browse/JENKINS-52105
[3] https://issues.jenkins-ci.org/browse/JENKINS-55734

With regards,

Nick Stolwijk

~~~ Try to leave this world a little better than you found it and, when
your turn comes to die, you can die happy in feeling that at any rate you
have not wasted your time but have done your best ~~~

Lord Baden-Powell

-- 
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/CAA9S6i4N%3D1Krk%2BH65cPQ%2BNKTWdwE_qzLjSNFBNU4LsqX0Sed%3Dw%40mail.gmail.com.


Re: I want deploy C\C++ projects in to jenkins and maveen, please advice guide and help me how to process this deployment

2019-10-12 Thread Jeevan Podduturi
Hi Jan Monterrunio,

i am new to jenkins and maven. Initially i want to deploy in locally(inside 
of jenkins) later on i will add jenkin slave and deploy in linux vm.

please help\guide me on process of this deployment..

Thanks,
Jeevan. 

On Saturday, September 7, 2019 at 3:05:45 AM UTC+8, Jan Monterrubio wrote:
>
> Can you currently build these projects locally (outside of Jenkins) with 
> maven? We do something similar and the c++ projects get built on specific 
> windows vms. 
>
> On Wed, Sep 4, 2019 at 22:04 Jeevan Podduturi  > wrote:
>
>> I want deploy C\C++ projects in to jenkins and maveen, please advice 
>> guide and help me how to process this deployment 
>>
>> -- 
>> 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 jenkins...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/be5a0c28-45e5-44e3-9ea4-a1b7061e149e%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/be5a0c28-45e5-44e3-9ea4-a1b7061e149e%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/09f84e67-9aff-4962-aeca-fc187bf06f55%40googlegroups.com.


Re: I want deploy C\C++ projects in to jenkins and maveen, please advice guide and help me how to process this deployment

2019-10-12 Thread Jeevan Podduturi
Hi Jan Monterrunio,

i am new to jenkins and maven. instaly i want to deploy in locally(inside 
of jenkins) later on i will add jenkin slave and deploy in linux vm.

please help\guide me on process of this deployment..

Thanks,
Jeevan. 

On Saturday, September 7, 2019 at 3:05:45 AM UTC+8, Jan Monterrubio wrote:
>
> Can you currently build these projects locally (outside of Jenkins) with 
> maven? We do something similar and the c++ projects get built on specific 
> windows vms. 
>
> On Wed, Sep 4, 2019 at 22:04 Jeevan Podduturi  > wrote:
>
>> I want deploy C\C++ projects in to jenkins and maveen, please advice 
>> guide and help me how to process this deployment 
>>
>> -- 
>> 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 jenkins...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/be5a0c28-45e5-44e3-9ea4-a1b7061e149e%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/be5a0c28-45e5-44e3-9ea4-a1b7061e149e%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/b8fa2c67-aa7a-48f0-90c0-4542a060e532%40googlegroups.com.


Re: I want deploy C\C++ projects in to jenkins and maveen, please advice guide and help me how to process this deployment

2019-09-07 Thread Jeevan Podduturi
i am deploying in jenkins and maven, i was new jenkin and maven. i have
deploy c++ projects in linux vms. please give me some idea or advice to
complete

On Sat, Sep 7, 2019 at 3:05 AM Jan Monterrubio 
wrote:

> Can you currently build these projects locally (outside of Jenkins) with
> maven? We do something similar and the c++ projects get built on specific
> windows vms.
>
> On Wed, Sep 4, 2019 at 22:04 Jeevan Podduturi 
> wrote:
>
>> I want deploy C\C++ projects in to jenkins and maveen, please advice
>> guide and help me how to process this deployment
>>
>> --
>> 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/be5a0c28-45e5-44e3-9ea4-a1b7061e149e%40googlegroups.com
>> <https://groups.google.com/d/msgid/jenkinsci-users/be5a0c28-45e5-44e3-9ea4-a1b7061e149e%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/CADgiF9JHfTtv_pJv-yS4Vq2J-jwdhVG7-fF%2BpURtNkdeO0U2FA%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9JHfTtv_pJv-yS4Vq2J-jwdhVG7-fF%2BpURtNkdeO0U2FA%40mail.gmail.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/CABRoojROctYjaM%2BEbNFk2mb-B3oXMV%3DMX7-iziYczJryYBHCfg%40mail.gmail.com.


Re: I want deploy C\C++ projects in to jenkins and maveen, please advice guide and help me how to process this deployment

2019-09-06 Thread Jan Monterrubio
Can you currently build these projects locally (outside of Jenkins) with
maven? We do something similar and the c++ projects get built on specific
windows vms.

On Wed, Sep 4, 2019 at 22:04 Jeevan Podduturi 
wrote:

> I want deploy C\C++ projects in to jenkins and maveen, please advice guide
> and help me how to process this deployment
>
> --
> 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/be5a0c28-45e5-44e3-9ea4-a1b7061e149e%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/be5a0c28-45e5-44e3-9ea4-a1b7061e149e%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/CADgiF9JHfTtv_pJv-yS4Vq2J-jwdhVG7-fF%2BpURtNkdeO0U2FA%40mail.gmail.com.


I want deploy C\C++ projects in to jenkins and maveen, please advice guide and help me how to process this deployment

2019-09-04 Thread Jeevan Podduturi
I want deploy C\C++ projects in to jenkins and maveen, please advice guide 
and help me how to process this deployment 

-- 
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/be5a0c28-45e5-44e3-9ea4-a1b7061e149e%40googlegroups.com.


Help me raise attention to an Atlassian feature request about pushing tags to a Bitbucket repo from build server with deployment access key.

2019-08-06 Thread Aslak


We are using access_keys to access repo in Bitbucket on our Jenkins CI 
server to build projects.

Access key for a project is read-only, but it it would have be nice to be 
able to push a build tag after successful build.

https://bitbucket.org/site/master/issues/11266/allow-deployment-keys-to-push-tags

Thanks all

-- 
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/adfee94d-63e7-4786-bb3f-4bada4e0a94f%40googlegroups.com.


Re: Declarative pipeline: Somewhat more advanced deployment logic

2019-06-24 Thread Ivan Fernandez Calvo
about to use declarative or scripted, I'd said declarative, it'd force you 
to be cleaner and use pipeline code only to define the pipeline not to make 
your build process, in any case, you can use script blocks on Declarative 
pipeline by using the script step (
https://jenkins.io/doc/book/pipeline/syntax/#script) or by defining 
functions or by using shared libraries (
https://jenkins.io/doc/book/pipeline/shared-libraries/).
about the buildingTag, you can use the when statement 
https://jenkins.io/doc/book/pipeline/syntax/#when

https://jenkins.io/doc/book/pipeline/syntax/

-- 
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/c10b1d9c-289f-4948-8092-15f73e129b4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Declarative pipeline: Somewhat more advanced deployment logic

2019-06-23 Thread 'Mark Raynsford' via Jenkins Users
Hello!

As mentioned in the other email, here's the second problem I'm facing.

For reference, this is my current Jenkinsfile shared between about
eighty projects via a Git submodule:

https://raw.githubusercontent.com/io7m/jenkinsfiles/50d80c92c8a51df11b7970ebbdbae7611dc8ac51/com.io7m.jenkins.github.txt

I would like to try to move my whole setup towards greater automation.
I currently have three different nodes that perform builds, but only
one of those is trusted enough that I'd actually use the artifacts that
it produces. The other two nodes are really just there to build code
and run the tests - to ensure it builds, and to ensure the tests are
successful - but the artifacts are discarded afterwards.

What I would like to try and do is declare a pipeline such that if a
particular job is tagged as being a release build (via a Git tag), then
the trusted node is tasked with doing the build rather than it just
being a matter of whichever node has an executor to spare. This same
node would also push the artifacts to Maven Central. For non-release
builds, I'm fine with any node doing the build.

Is it actually possible to do this via a declarative pipeline? From
what I can make out, I'd need to do the "buildingTag()" check outside
of the set of stages, and I'd need to then pick a node that had a
"trusted-builder" label assigned to it. Unfortunately, I can't work out
how to do this. Do I need to move to scripted instead of declarative
pipelines?

-- 
Mark Raynsford | http://www.io7m.com

-- 
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/20190623173424.0784a652%40almond.int.arc7.info.
For more options, visit https://groups.google.com/d/optout.


pgptYutTixWmJ.pgp
Description: OpenPGP digital signature


using Jenkins for vue js project build and deployment

2019-05-15 Thread LP
Hi, I am new in Jenkins. Even though I have created .net projects build and 
deployments just fine, I have an issue with building Vue js project in 
Jenkins.
 I am trying to build and deploy vue js project  in Jenkins but it does not 
build.. and it does not give me the reason why, or even a message that it 
does not do it. It says build succeeded but there is no files produced! 
When I am running the project in command prompt it builds fine, creates 
files in a right directory but through Jenkins it just stalls even though I 
am running the same commands in Jenkins (using Execute Windows Batch 
Command) as I use in command prompt.
Does anybody builds vue js project  in Jenkins? How to do it? Any help 
appreciated! Thanks!

-- 
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/e4a0ac7c-a133-4cdf-bf36-854e5adbc04c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Manhattan MMC tool deployment using Jenkins

2018-04-03 Thread Vamsee Koppolu
Hi there,

Has anyone tried deployments thru jenkins for Manhattan MMC tool.

Today, I have to login to the MMC tool and run the deployments and i'm 
trying to find something that can let me automate those deployments thru 
Jenkins.

MMC tool is used for deployments thru the UI and I want to be able to 
automate them.

Any help or information is greatly appreciated.

Thanks,
Vamsee.

-- 
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/43d85c35-48ee-4e47-b8ab-98d3f3fc3893%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Question about marathon deployment

2018-03-02 Thread Samuel Mutel
Hello,

To start a docker container through marathon, I use this piece of code 
which is working fine:

withCredentials([
  string(credentialsId: '1d759531-1e0d-40b8-a434-911d97c58d36', variable: 
'DCOS_PRIVATE_KEY')
]) {
  marathon(
url: 'http://10.86.155.5:8080',
forceUpdate: true,
credentialsId: 
'{"uid":"cicd","login_endpoint":"${env.DCOS_ENDPOINT}","scheme":"RS256","private_key":"$DCOS_PRIVATE_KEY"}',
filename: 'Marathon.json'
  )
}

The variable env.DCOS_ENDPOINT contains 
https://qdcos.xit.rxcorp.com/acs/api/v1/auth/login.
We can see that I use the IP of the leader in the url field which is not 
good. If the leader is down or if the leader has changed, the deployment 
will fail.
So I tried to replace by the line below but it does not work:

url: 'https://qdcos.xit.rxcorp.com/marathon',

I tried to connect with cicd account so I don't think that it's a issue on 
the account.
I think that it's work because the endpoint on the leader does not need any 
authentication. So in fact it works but the authentication is not mandatory.
Using the url https://qdcos.xit.rxcorp.com/marathon, the authentication 
seems to be mandatory. It's why it does not work.

Any help should be appreciated !
Thanks.

-- 
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/d3f49627-7f28-42c7-8ddd-de3fbb5fdc9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


PTC Integrity with Jenkins Deployment

2018-02-19 Thread Narayana Boominathan
I've build which is checked-in on the PTC Integrity and I've raised the CR 
or SR ticket(Build & Deploy Request) on the PTC life manager by developer 
for deploy his build on some  server and the version of the build is 
.

As of now as a deployment team we are following the below process

If we get a ticket we assigned it to us.
And then collect all those details which is on the ticket by manually and 
doing deployment also by manually.

Instead of this now we are planning to do this on automation.

How do I get the following details on the Jenkins to do my deployment. I've 
some bat script to do the deployment. To kick off that bat file, it needs 
the following details
1. Version of the build
2. Which server the Build needs to deploy
3. Where the build file is located

I need to collect all those above details from the PTC ticket which I had 
created earlier
Is there any possiblity from Jenkins can I able to get those values from 
the ticket number.

I'm very new to PTC.
I came to know from google there is a plugin available for PTC with Jenkins

Could someone please help on this

-- 
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/93252141-9e88-4055-9f74-ef2cb1739576%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Blue Ocean deployment to DTAP

2018-02-01 Thread wim . lustenhouwer
Having done some research on my own, I've come to the conclusion that a 
pipeline might hold all deployments (to test and acceptance servers), so 
that's one way, but I feel that it really clutters the end result. I'm 
launching quite the advanced production line. Having it in source is great 
though, so I'm not knocking the idea just yet. 

So I'll augment my question a bit: Is the above assumption correct? And is 
there some resource that describes how to use the individual steps 
described in the activity view of Jenkins Blue Ocean?

Op maandag 29 januari 2018 13:23:45 UTC+1 schreef wim.lust...@finalist.nl:
>
> Hi all,
>
> I'm new to Jenkins and I'm currently setting up Jenkins with Blue Ocean. 
> I'm having some trouble setting up Pipelines through Blue Ocean.
> The gist of the question is: how do I set up multiple pipelines that 
> deploy to various environments on a single project?
>
> The reason for my question:
> I've set up Blue Ocean and noticed it creates Jenkins Files in my repo 
> (git). And our workflow dictates that the master branch goes to the test, 
> acceptance and production environment (when applicable, not simultaneously 
> of course).
> Now the Jenkins file is created on branch level by Blue Ocean, meaning I 
> get overwrites any time I merge my code. This prohibits me from defining 
> pipelines to test, acceptance and production simultaneously .
> I've tried googeling, but it seems most people use a deployment tool 
> outside of Jenkins. But I want to streamline the approach so it becomes a 
> one button solution where my pipeline starts tests, and deployment in the 
> same flow.
>
> Is there something I'm missing? Is Blue Ocean not meant to deploy to DTAP? 
> Thanks in advance
>
> <http://www.finalist.nl>
>

-- 
 <http://www.finalist.nl>

-- 
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/a1c0dfdc-7f31-49f5-9bdc-39408d83ac60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Blue Ocean deployment to DTAP

2018-01-29 Thread wim . lustenhouwer
Hi all,

I'm new to Jenkins and I'm currently setting up Jenkins with Blue Ocean. 
I'm having some trouble setting up Pipelines through Blue Ocean.
The gist of the question is: how do I set up multiple pipelines that deploy 
to various environments on a single project?

The reason for my question:
I've set up Blue Ocean and noticed it creates Jenkins Files in my repo 
(git). And our workflow dictates that the master branch goes to the test, 
acceptance and production environment (when applicable, not simultaneously 
of course).
Now the Jenkins file is created on branch level by Blue Ocean, meaning I 
get overwrites any time I merge my code. This prohibits me from defining 
pipelines to test, acceptance and production simultaneously .
I've tried googeling, but it seems most people use a deployment tool 
outside of Jenkins. But I want to streamline the approach so it becomes a 
one button solution where my pipeline starts tests, and deployment in the 
same flow.

Is there something I'm missing? Is Blue Ocean not meant to deploy to DTAP? 
Thanks in advance

-- 
 <http://www.finalist.nl>

-- 
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/3e686ecc-3902-4318-9fdf-9c4d52c40482%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to configure parameters in websphere from jenkins, before a deployment

2017-11-27 Thread Cesar Mateus


Good day, I need to configure a task from jenkins, that allows me to 
configure some parameters before the deployment of an application that will 
be in another task. I do not know how to perform this configuration, I have 
installed the plugin was builder but I can not understand its operation 
correctly.

I appreciate the collaboration that you can give me.

-- 
 

--

*This email may contain material that is subject to copyright or trade 
secret protection, confidential and/or privileged and, in all cases, 
provided for the sole use of the intended recipient. Any review, reliance 
or distribution by others or forwarding without express permission is 
strictly prohibited. If you are not the intended recipient, please contact 
the sender and delete all copies. E-mail transmission cannot be guaranteed 
to be secure or error-free as information could be intercepted, corrupted, 
lost, destroyed, arrive late or incomplete, or contain viruses. The sender 
therefore does not accept liability for any errors or omissions in the 
contents of this message, which arise as a result of e-mail transmission. 
Mercury Trade Finance Solutions may monitor the use of this email system 
for various purposes including security management, system operations, and 
intellectual property compliance. Mercury - TFS's email systems may not be 
used for the delivery of unsolicited bulk e-mail communications.*

-- 
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/7a8f6344-90ad-4930-a8f0-781975d5a8a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Beanstalk deployment plugin for multi-region app? (AWSEB Deployment Plugin)

2017-09-14 Thread red 888
Looking at this plugin: 
https://wiki.jenkins.io/display/JENKINS/AWSEB+Deployment+Plugin

How do I use this to deploy to multiple regions? I have a single EB app 
across several regions (I gave it the same env and application name in 
every region).

Maybe I can call this as a step programatically in jenkinsfile 
multiple times for each region of my app?

-- 
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/5f87d687-eea4-4a2b-bcd4-cec367aa47a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: stop deployment when build fails while using ssh plugin

2017-09-01 Thread Michael Pailloncy
Not sure to understand your issue, could you give more details plz ?
Do you have logs ? Just stopping the build is not enough ?

2017-09-01 4:30 GMT+02:00 pandiyan kaliaperumal :

> Hi Friends,
>
> Need to know to stop the deployment, while using ssh plugin when build
> gets failed in jenkins. Could any one suggest.
>
> Thanks,
> Pandi
>
> --
> 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/d2519833-5e1a-4546-9cad-ec089c21b698%40googlegroups.
> com
> <https://groups.google.com/d/msgid/jenkinsci-users/d2519833-5e1a-4546-9cad-ec089c21b698%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CAPO77c3MJYDwPv6LGs0Pj6WR4sa%2BTsubuvEnrtT-QXREbiQzZA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


stop deployment when build fails while using ssh plugin

2017-08-31 Thread pandiyan kaliaperumal
Hi Friends,

Need to know to stop the deployment, while using ssh plugin when build gets 
failed in jenkins. Could any one suggest.

Thanks,
Pandi

-- 
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/d2519833-5e1a-4546-9cad-ec089c21b698%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins deployment of a particular build through code

2017-08-03 Thread Deepu Sundar
Thank you Sam,  Will take a shot on this and get back. 

On Monday, 31 July 2017 14:24:44 UTC-7, Sam K wrote:
>
> Hi 
>
>   I'm not saying this is the best way...
>
>   You can add the feature to kick off jobs remotely using a token.  Then 
> you can somehow grab the parameters of the job.  For example, if user 
> clicks on job no. 6, then this URL gives you the parameters.  With 
> wget/curl magic, I'm sure you can get all the parameters. 
>
>   http:///job/Job-1/6/parameters/
>
> Then you can use the URL pattern below to kick off another job with the 
> parameters gathered above
>
>   
> http:///job/myjob/buildWithParameters?token=TOKEN&PARAMETER=Value
>
>
>   
>
> On Sunday, July 30, 2017 at 11:18:58 AM UTC-7, Deepu Sundar wrote:
>
> Hi Team, 
>>
>> Need your expert advice on the below query, appreciate your help. 
>>
>> We have a Jenkins CI/CD process in place for deploying AWS lambda 
>> functions into cloud and it is fully automated. 
>>
>> Now we are building a service portal to manage all aspects of the 
>> services being deployed. One of the UI of the portal is deployment history 
>> page which will list out all the current and past build history (may be 
>> similar to jenkins shows the build history) 
>>
>> From the UI, the user should be able to trigger the build again (like 
>> redeploying a previous version = run a previous build with same exact 
>> configuration). What is best way to do this?  What are metadata Jenkins may 
>> require to run a previous build with same exact configuration?  What 
>> Jenkins API we can use for this purpose.   
>>
>> Thanks! 
>>
>> regards, 
>> Deepu
>>
>

-- 
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/574d754d-fd6b-432a-936b-30aeb28cdb5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins deployment of a particular build through code

2017-07-31 Thread Sam K
Hi 

  I'm not saying this is the best way...

  You can add the feature to kick off jobs remotely using a token.  Then 
you can somehow grab the parameters of the job.  For example, if user 
clicks on job no. 6, then this URL gives you the parameters.  With 
wget/curl magic, I'm sure you can get all the parameters. 

  http:///job/Job-1/6/parameters/

Then you can use the URL pattern below to kick off another job with the 
parameters gathered above

  
http:///job/myjob/buildWithParameters?token=TOKEN&PARAMETER=Value


  

On Sunday, July 30, 2017 at 11:18:58 AM UTC-7, Deepu Sundar wrote:

Hi Team, 
>
> Need your expert advice on the below query, appreciate your help. 
>
> We have a Jenkins CI/CD process in place for deploying AWS lambda 
> functions into cloud and it is fully automated. 
>
> Now we are building a service portal to manage all aspects of the services 
> being deployed. One of the UI of the portal is deployment history page 
> which will list out all the current and past build history (may be similar 
> to jenkins shows the build history) 
>
> From the UI, the user should be able to trigger the build again (like 
> redeploying a previous version = run a previous build with same exact 
> configuration). What is best way to do this?  What are metadata Jenkins may 
> require to run a previous build with same exact configuration?  What 
> Jenkins API we can use for this purpose.   
>
> Thanks! 
>
> regards, 
> Deepu
>

-- 
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/d27aa122-90ed-4890-b60c-339de2941a1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins deployment of a particular build through code

2017-07-30 Thread Deepu Sundar
Hi Team, 

Need your expert advice on the below query, appreciate your help. 

We have a Jenkins CI/CD process in place for deploying AWS lambda functions 
into cloud and it is fully automated. 

Now we are building a service portal to manage all aspects of the services 
being deployed. One of the UI of the portal is deployment history page 
which will list out all the current and past build history (may be similar 
to jenkins shows the build history) 

>From the UI, the user should be able to trigger the build again (like 
redeploying a previous version = run a previous build with same exact 
configuration). What is best way to do this?  What are metadata Jenkins may 
require to run a previous build with same exact configuration?  What 
Jenkins API we can use for this purpose.   

Thanks! 

regards, 
Deepu

-- 
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/b590-1934-4c1a-a153-08c9529a60a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Remote deployment of MSI Package from Jenkins in Windows Environment

2017-07-27 Thread Ben Whyall
Hello

I wonder if anyone can help me as I have a problem with my Jenkins install 
caused by a change in our corporate AV policy.

We have a Build server, that lives on Domain A, and we have a system test 
environment that lives on Domain B.  At the moment the Build server does 
the build and then triggers some deployment steps to roll out the MSI 
installer packages and execute them on the machines in domain B.  This is 
done using PSEXEC to run the command on the remote servers in domain B.  
Since the recent Petya oubreak and other ransom ware, our AV now has a rule 
that is stopping all access to PSEXEC.  Causing our automated deployments 
to system test to fail.

What I am trying to work out is if there is a better way to trigger the 
deployments to happen so that we don't need to use PSEXEC at all.

The deployment packages really need to be MSI as they are manually moved 
into the production environments due to security concerns and we need to 
maximise the automation.

Any suggestions, pointers welcomed.

Thanks

Ben

-- 
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/26585e19-8784-410c-bae7-431effcd74f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: .Net Project Automated Build and Deployment Setup

2017-04-06 Thread suresh kumar
You can use the generated access token and select the username and password 
option instead of ssh key.

-Suresh

On Tuesday, April 4, 2017 at 11:20:51 PM UTC+5:30, Lokesh Swamy wrote:
>
> Suresh,
>
> Can you please walk me through how to setup a SSH with private key in TFS 
> plugin ? 
>
>  I tried the other two options , didnt work for me. I am using an on 
> premise TFS repository
>
> It would be of great help
>
> Thanks,
> Lokesh
>
> On Sunday, March 26, 2017 at 9:11:57 PM UTC+5:30, suresh kumar wrote:
>>
>> Hi,
>> I don't know the reason why you are looking for plugin.
>> As you have the script in hand already, you can use the same script and 
>> deploy the package.
>> Pulling source files you are using TFS plugin and to get the package you 
>> are using MSBuild plugin.
>> Now for the script to work package is there, call the script from the 
>> Windows Batch command build step.
>>
>> -Suresh
>>
>> On Sunday, March 26, 2017 at 9:16:38 AM UTC+5:30, Lokesh Swamy wrote:
>>>
>>> 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 environment. 
>>>
>>> I am planning to do an automated build with deployment to my server.
>>>
>>> I am using MSBuild and TFS plugin already, is there any plugin for 
>>> overriding telnet ?
>>>
>>>
>>> Regards,
>>> Lokesh
>>>
>>

-- 
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/b112ffb5-8991-429d-8379-4880530a9b30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: .Net Project Automated Build and Deployment Setup

2017-04-04 Thread Lokesh Swamy


<https://lh3.googleusercontent.com/-_t77pTO5u-I/WOPdKIH98lI/ARs/fma0uVPYGPMAQ4iDC431ZDBYDMTlyJqdgCLcB/s1600/asd.PNG>


On Sunday, March 26, 2017 at 9:16:38 AM UTC+5:30, Lokesh Swamy wrote:
>
> 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 environment. 
>
> I am planning to do an automated build with deployment to my server.
>
> I am using MSBuild and TFS plugin already, is there any plugin for 
> overriding telnet ?
>
>
> Regards,
> Lokesh
>

-- 
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/c00ae596-99bc-4103-b82e-dffdb2158d97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: .Net Project Automated Build and Deployment Setup

2017-04-04 Thread Lokesh Swamy
Suresh,

Can you please walk me through how to setup a SSH with private key in TFS 
plugin ? 

 I tried the other two options , didnt work for me. I am using an on 
premise TFS repository

It would be of great help

Thanks,
Lokesh

On Sunday, March 26, 2017 at 9:11:57 PM UTC+5:30, suresh kumar wrote:
>
> Hi,
> I don't know the reason why you are looking for plugin.
> As you have the script in hand already, you can use the same script and 
> deploy the package.
> Pulling source files you are using TFS plugin and to get the package you 
> are using MSBuild plugin.
> Now for the script to work package is there, call the script from the 
> Windows Batch command build step.
>
> -Suresh
>
> On Sunday, March 26, 2017 at 9:16:38 AM UTC+5:30, Lokesh Swamy wrote:
>>
>> 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 environment. 
>>
>> I am planning to do an automated build with deployment to my server.
>>
>> I am using MSBuild and TFS plugin already, is there any plugin for 
>> overriding telnet ?
>>
>>
>> Regards,
>> Lokesh
>>
>

-- 
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/9c5df684-5a5c-4bab-9254-2e0d82549850%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: .Net Project Automated Build and Deployment Setup

2017-03-26 Thread suresh kumar
Hi,
I don't know the reason why you are looking for plugin.
As you have the script in hand already, you can use the same script and 
deploy the package.
Pulling source files you are using TFS plugin and to get the package you 
are using MSBuild plugin.
Now for the script to work package is there, call the script from the 
Windows Batch command build step.

-Suresh

On Sunday, March 26, 2017 at 9:16:38 AM UTC+5:30, Lokesh Swamy wrote:
>
> 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 environment. 
>
> I am planning to do an automated build with deployment to my server.
>
> I am using MSBuild and TFS plugin already, is there any plugin for 
> overriding telnet ?
>
>
> Regards,
> Lokesh
>

-- 
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/68d68e4d-7b51-42d5-a21a-dd9532864ea5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


.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 environment. 

I am planning to do an automated build with deployment to my server.

I am using MSBuild and TFS plugin already, is there any plugin for 
overriding telnet ?


Regards,
Lokesh

-- 
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/5cf9a675-c075-4286-8491-130f947f9444%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pipeline with tests and deployment

2017-03-01 Thread Bert
Unconditionally gathering the JUnit results was actually simple: just add a 
post block each test stage, see the Jenkinsfile here 
<https://github.com/yonadev/yona-server/blob/master/Jenkinsfile>.

The input is a little harder. I know how to do it through a script, but I'd 
like to stay in the declarative model. See my follow on question here 
<https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!topic/jenkinsci-users/t58kWb3RGvg>
.

Regards,
Bert

On Wednesday, March 1, 2017 at 10:34:44 AM UTC+1, Bert wrote:
>
> Thanks!
> The input I figured out. Gathering the JUnit results (unconditionally) 
> before asking for user input is where I'm stuck at.
>
> Regards,
> Bert
>
> On Wednesday, March 1, 2017 at 10:20:44 AM UTC+1, Baptiste Mathus wrote:
>>
>> For user input, you should be able to use the "input" step.
>>
>> For real world public usage of Declarative, there's mainly one I've heard 
>> of (Declarative reached 1.0 less than one month ago), I've seen a tweet for 
>> a mozilla project but can't find it again.
>>
>> 2017-03-01 8:08 GMT+01:00 Bert :
>>
>>> Hello everyone,
>>>
>>> We recently switched to the declarative pipeline approach. The current 
>>> pipeline 
>>> <https://github.com/yonadev/yona-server/blob/master/Jenkinsfile> is 
>>> very simple:
>>>
>>>1. Build
>>>2. Setup test server
>>>3. Run integration tests
>>>4. Post: Gather test results
>>>
>>> No I would like to add a user input to decide whether to take it to the 
>>> next stage: deploy it to acceptance test. The user providing that input 
>>> should be able to check the test results of that job, so the junit step 
>>> needs to move out of the post block, but it needs to remain 
>>> unconditional/always.
>>>
>>> How do I do that?
>>> Related: are you aware of serious public deployment pipelines (using the 
>>> declarative syntax) with multiple deployment stages and user inputs?
>>>
>>> Thanks in advance,
>>> Bert
>>>
>>> -- 
>>> 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-use...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-users/cd0d4cd6-df50-4e41-a0ce-8ab41786d53c%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/jenkinsci-users/cd0d4cd6-df50-4e41-a0ce-8ab41786d53c%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> 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/e3e3facf-31af-4206-9b5c-7ad226378e9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pipeline with tests and deployment

2017-03-01 Thread Bert
The Tweet you referred to is this one 
<https://twitter.com/bitwiseman/status/831348896513134593>. The Jenkinsfile 
is here on GitHub 
<https://github.com/mozilla/socorro/blob/5d914b6f1655743dbf5dc334eb2008038d18de6e/e2e-tests/Jenkinsfile>
.
Thanks for mentioning it.

Regards,
Bert


On Wednesday, March 1, 2017 at 10:20:44 AM UTC+1, Baptiste Mathus wrote:
>
> For user input, you should be able to use the "input" step.
>
> For real world public usage of Declarative, there's mainly one I've heard 
> of (Declarative reached 1.0 less than one month ago), I've seen a tweet for 
> a mozilla project but can't find it again.
>
> 2017-03-01 8:08 GMT+01:00 Bert >:
>
>> Hello everyone,
>>
>> We recently switched to the declarative pipeline approach. The current 
>> pipeline <https://github.com/yonadev/yona-server/blob/master/Jenkinsfile> 
>> is very simple:
>>
>>1. Build
>>2. Setup test server
>>3. Run integration tests
>>4. Post: Gather test results
>>
>> No I would like to add a user input to decide whether to take it to the 
>> next stage: deploy it to acceptance test. The user providing that input 
>> should be able to check the test results of that job, so the junit step 
>> needs to move out of the post block, but it needs to remain 
>> unconditional/always.
>>
>> How do I do that?
>> Related: are you aware of serious public deployment pipelines (using the 
>> declarative syntax) with multiple deployment stages and user inputs?
>>
>> Thanks in advance,
>> Bert
>>
>> -- 
>> 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-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/cd0d4cd6-df50-4e41-a0ce-8ab41786d53c%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/cd0d4cd6-df50-4e41-a0ce-8ab41786d53c%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> 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/4554dfd6-90cc-4131-95a4-1252b5bf61a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pipeline with tests and deployment

2017-03-01 Thread Bert
Thanks!
The input I figured out. Gathering the JUnit results (unconditionally) 
before asking for user input is where I'm stuck at.

Regards,
Bert

On Wednesday, March 1, 2017 at 10:20:44 AM UTC+1, Baptiste Mathus wrote:
>
> For user input, you should be able to use the "input" step.
>
> For real world public usage of Declarative, there's mainly one I've heard 
> of (Declarative reached 1.0 less than one month ago), I've seen a tweet for 
> a mozilla project but can't find it again.
>
> 2017-03-01 8:08 GMT+01:00 Bert >:
>
>> Hello everyone,
>>
>> We recently switched to the declarative pipeline approach. The current 
>> pipeline <https://github.com/yonadev/yona-server/blob/master/Jenkinsfile> 
>> is very simple:
>>
>>1. Build
>>2. Setup test server
>>3. Run integration tests
>>4. Post: Gather test results
>>
>> No I would like to add a user input to decide whether to take it to the 
>> next stage: deploy it to acceptance test. The user providing that input 
>> should be able to check the test results of that job, so the junit step 
>> needs to move out of the post block, but it needs to remain 
>> unconditional/always.
>>
>> How do I do that?
>> Related: are you aware of serious public deployment pipelines (using the 
>> declarative syntax) with multiple deployment stages and user inputs?
>>
>> Thanks in advance,
>> Bert
>>
>> -- 
>> 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-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/cd0d4cd6-df50-4e41-a0ce-8ab41786d53c%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/cd0d4cd6-df50-4e41-a0ce-8ab41786d53c%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> 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/a43d33d5-bfe9-4028-bd9f-a54a3da61b3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pipeline with tests and deployment

2017-03-01 Thread Baptiste Mathus
For user input, you should be able to use the "input" step.

For real world public usage of Declarative, there's mainly one I've heard
of (Declarative reached 1.0 less than one month ago), I've seen a tweet for
a mozilla project but can't find it again.

2017-03-01 8:08 GMT+01:00 Bert :

> Hello everyone,
>
> We recently switched to the declarative pipeline approach. The current
> pipeline <https://github.com/yonadev/yona-server/blob/master/Jenkinsfile>
> is very simple:
>
>1. Build
>2. Setup test server
>3. Run integration tests
>4. Post: Gather test results
>
> No I would like to add a user input to decide whether to take it to the
> next stage: deploy it to acceptance test. The user providing that input
> should be able to check the test results of that job, so the junit step
> needs to move out of the post block, but it needs to remain
> unconditional/always.
>
> How do I do that?
> Related: are you aware of serious public deployment pipelines (using the
> declarative syntax) with multiple deployment stages and user inputs?
>
> Thanks in advance,
> Bert
>
> --
> 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/ms
> gid/jenkinsci-users/cd0d4cd6-df50-4e41-a0ce-8ab41786d53c%
> 40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/cd0d4cd6-df50-4e41-a0ce-8ab41786d53c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CANWgJS5zG7ND%2BR_TLDPn%3DwqxxUu%3D%3DG3oLFXpmFsC%2BcMKJ4am9Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Pipeline with tests and deployment

2017-02-28 Thread Bert
Hello everyone,

We recently switched to the declarative pipeline approach. The current 
pipeline <https://github.com/yonadev/yona-server/blob/master/Jenkinsfile> 
is very simple:

   1. Build
   2. Setup test server
   3. Run integration tests
   4. Post: Gather test results

No I would like to add a user input to decide whether to take it to the 
next stage: deploy it to acceptance test. The user providing that input 
should be able to check the test results of that job, so the junit step 
needs to move out of the post block, but it needs to remain 
unconditional/always.

How do I do that?
Related: are you aware of serious public deployment pipelines (using the 
declarative syntax) with multiple deployment stages and user inputs?

Thanks in advance,
Bert

-- 
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/cd0d4cd6-df50-4e41-a0ce-8ab41786d53c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Merge Git Core Repo and Site Repo folder while Jenkins deployment

2016-09-28 Thread Mark Waite
I'm sorry, but I don't have a script handy to do that.  You might
investigate the "ant" build tool and its "copy" task.

Mark Waite

On Tue, Sep 27, 2016 at 5:08 AM kamlesh nattamai ramesh babu <
nrkaml...@gmail.com> wrote:

> Thanks very much *Mark Waite, *I was looking for the similar kind of
> solution.
>
> You are right , My expectation is to *combine* 2 folders of "WP-CONTENT"
> from the different repositories(CORE & SITE) while JENKINS deployment. We
> make the changes only on the *site wise "WP-CONTENT". *But finally when
> we do the* JENKINS deployment* I would need to COMBINE the WP-CONTENT
> folders from the CORE along with the site repository which belongs to a
> particular site and contains the recent changes.
>
> It would be helpful for me if you have the script handy for the same
> experiment ..
>
> Thanks again for your worthy suggestions..
>
> Thanks,
> Kamlesh
>
> On Tuesday, 27 September 2016 05:54:04 UTC+5:30, Mark Waite wrote:
>>
>>
>> On Mon, Sep 26, 2016 at 9:50 AM kamlesh nattamai ramesh babu <
>> nrka...@gmail.com> wrote:
>>
>>> Hi Folks,
>>>
>>> I need your advice badly.. We are Maintaining  2 GIT repo for handling
>>> code.
>>>
>>> 1. *Core repo*: This repo contains the core files which is commonly
>>> used for all the projects as a core base files.
>>> 2. *Site repo*: This repo contains the site wise file which will merge
>>> with core while GIT deployment.
>>>
>>>
>> I assume in my comments below that the verb "merge" in the above comment
>> means "combine the files from both git repositories into a single
>> directory.  I assume in my comments below that the verb "merge" does not
>> mean "perform the 'git merge' command across two git repositories".
>>
>> If those assumptions are wrong, then my comments should be ignored.
>>
>>
>>> Both CORE and SITE will get merged with each other while doing the GIT
>>> deployment.  We maintain the CORE plugins in the *core repo* and site
>>> wise plugins in *site repo. *So both the repo will contain the same
>>> folder name called "WP-CONTENT" which contain core plugins in core repo and
>>> site plugins in site repo. Both the folder will get merged while deploying
>>> the code thru GIT. I want to make this process automate thru *JENKIN
>>> deployment* but it is not happening.
>>>
>>>
>> The Jenkins git plugin can't combine the contents of two different
>> repositories into the same root workspace folder.  Thus, you can't use the
>> Jenkins git plugin to have a single job workspace root folder which
>> contains both CORE and SITE repositories at its root.
>>
>> You can (with the pipeline plugin, or with the multiple SCM's plugin)
>> checkout multiple repositories into subdirectories of the workspace root
>> folder.  You could then run a build step which combines the contents of the
>> "WP-CONTENT" directory from each of those subdirectories into a single
>> subdirectory of your choosing inside the workspace.
>>
>> I'm not sure what you mean when you say "Both the folder will get merged
>> while deploying the code thru GIT".
>>
>> Thanks,
>> Mark Waite
>>
>>
> I would like you guys share your esteemed knowledge to make this sort out..
>>>
>>> Thanks,
>>> Kamlesh
>>>
>>> --
>>> 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-use...@googlegroups.com.
>>
>>
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/46e509ed-2734-41e1-9d31-76c17f43bffb%40googlegroups.com
>>> <https://groups.google.com/d/msgid/jenkinsci-users/46e509ed-2734-41e1-9d31-76c17f43bffb%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> 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/eded920d-8067-49d7-8595-30197bf1c1e7%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/eded920d-8067-49d7-8595-30197bf1c1e7%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CAO49JtEBfsJ355pvz%3D9-wmPkpfHtnHn0BNcFDF%3D4tUekj5OmUA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Merge Git Core Repo and Site Repo folder while Jenkins deployment

2016-09-27 Thread kamlesh nattamai ramesh babu
Thanks very much *Mark Waite, *I was looking for the similar kind of 
solution.

You are right , My expectation is to *combine* 2 folders of "WP-CONTENT" 
from the different repositories(CORE & SITE) while JENKINS deployment. We 
make the changes only on the *site wise "WP-CONTENT". *But finally when we 
do the* JENKINS deployment* I would need to COMBINE the WP-CONTENT folders 
from the CORE along with the site repository which belongs to a particular 
site and contains the recent changes. 

It would be helpful for me if you have the script handy for the same 
experiment ..

Thanks again for your worthy suggestions..

Thanks,
Kamlesh 

On Tuesday, 27 September 2016 05:54:04 UTC+5:30, Mark Waite wrote:
>
>
> On Mon, Sep 26, 2016 at 9:50 AM kamlesh nattamai ramesh babu <
> nrka...@gmail.com > wrote:
>
>> Hi Folks, 
>>
>> I need your advice badly.. We are Maintaining  2 GIT repo for handling 
>> code. 
>>
>> 1. *Core repo*: This repo contains the core files which is commonly used 
>> for all the projects as a core base files.
>> 2. *Site repo*: This repo contains the site wise file which will merge 
>> with core while GIT deployment.
>>
>>
> I assume in my comments below that the verb "merge" in the above comment 
> means "combine the files from both git repositories into a single 
> directory.  I assume in my comments below that the verb "merge" does not 
> mean "perform the 'git merge' command across two git repositories".
>
> If those assumptions are wrong, then my comments should be ignored.
>  
>
>> Both CORE and SITE will get merged with each other while doing the GIT 
>> deployment.  We maintain the CORE plugins in the *core repo* and site 
>> wise plugins in *site repo. *So both the repo will contain the same 
>> folder name called "WP-CONTENT" which contain core plugins in core repo and 
>> site plugins in site repo. Both the folder will get merged while deploying 
>> the code thru GIT. I want to make this process automate thru *JENKIN 
>> deployment* but it is not happening. 
>>
>>
> The Jenkins git plugin can't combine the contents of two different 
> repositories into the same root workspace folder.  Thus, you can't use the 
> Jenkins git plugin to have a single job workspace root folder which 
> contains both CORE and SITE repositories at its root.
>
> You can (with the pipeline plugin, or with the multiple SCM's plugin) 
> checkout multiple repositories into subdirectories of the workspace root 
> folder.  You could then run a build step which combines the contents of the 
> "WP-CONTENT" directory from each of those subdirectories into a single 
> subdirectory of your choosing inside the workspace.
>
> I'm not sure what you mean when you say "Both the folder will get merged 
> while deploying the code thru GIT".
>
> Thanks,
> Mark Waite
>  
>
>> I would like you guys share your esteemed knowledge to make this sort 
>> out..
>>
>> Thanks,
>> Kamlesh
>>
>> -- 
>> 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-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/46e509ed-2734-41e1-9d31-76c17f43bffb%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/46e509ed-2734-41e1-9d31-76c17f43bffb%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> 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/eded920d-8067-49d7-8595-30197bf1c1e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Merge Git Core Repo and Site Repo folder while Jenkins deployment

2016-09-26 Thread Mark Waite
On Mon, Sep 26, 2016 at 9:50 AM kamlesh nattamai ramesh babu <
nrkaml...@gmail.com> wrote:

> Hi Folks,
>
> I need your advice badly.. We are Maintaining  2 GIT repo for handling
> code.
>
> 1. *Core repo*: This repo contains the core files which is commonly used
> for all the projects as a core base files.
> 2. *Site repo*: This repo contains the site wise file which will merge
> with core while GIT deployment.
>
>
I assume in my comments below that the verb "merge" in the above comment
means "combine the files from both git repositories into a single
directory.  I assume in my comments below that the verb "merge" does not
mean "perform the 'git merge' command across two git repositories".

If those assumptions are wrong, then my comments should be ignored.


> Both CORE and SITE will get merged with each other while doing the GIT
> deployment.  We maintain the CORE plugins in the *core repo* and site
> wise plugins in *site repo. *So both the repo will contain the same
> folder name called "WP-CONTENT" which contain core plugins in core repo and
> site plugins in site repo. Both the folder will get merged while deploying
> the code thru GIT. I want to make this process automate thru *JENKIN
> deployment* but it is not happening.
>
>
The Jenkins git plugin can't combine the contents of two different
repositories into the same root workspace folder.  Thus, you can't use the
Jenkins git plugin to have a single job workspace root folder which
contains both CORE and SITE repositories at its root.

You can (with the pipeline plugin, or with the multiple SCM's plugin)
checkout multiple repositories into subdirectories of the workspace root
folder.  You could then run a build step which combines the contents of the
"WP-CONTENT" directory from each of those subdirectories into a single
subdirectory of your choosing inside the workspace.

I'm not sure what you mean when you say "Both the folder will get merged
while deploying the code thru GIT".

Thanks,
Mark Waite


> I would like you guys share your esteemed knowledge to make this sort out..
>
> Thanks,
> Kamlesh
>
> --
> 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/46e509ed-2734-41e1-9d31-76c17f43bffb%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/46e509ed-2734-41e1-9d31-76c17f43bffb%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CAO49JtHe6fmuV0Bye7gkkO-frvVb4mjRqqSeWAz%2BBffmjm34dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Merge Git Core Repo and Site Repo folder while Jenkins deployment

2016-09-26 Thread Indra Gunawan (ingunawa)
Use git submodules  or git sparse checkout and you have to do it in cmd line 
git CLI in your Linux BuildStep instead of using "git" Jenkins plugin.
http://jasonkarns.com/blog/subdirectory-checkouts-with-git-sparse-checkout/

From: 
mailto:jenkinsci-users@googlegroups.com>> on 
behalf of kamlesh nattamai ramesh babu 
mailto:nrkaml...@gmail.com>>
Reply-To: 
"jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com>" 
mailto:jenkinsci-users@googlegroups.com>>
Date: Monday, September 26, 2016 at 8:50 AM
To: Jenkins Users 
mailto:jenkinsci-users@googlegroups.com>>
Subject: Merge Git Core Repo and Site Repo folder while Jenkins deployment

Hi Folks,

I need your advice badly.. We are Maintaining  2 GIT repo for handling code.

1. Core repo: This repo contains the core files which is commonly used for all 
the projects as a core base files.
2. Site repo: This repo contains the site wise file which will merge with core 
while GIT deployment.

Both CORE and SITE will get merged with each other while doing the GIT 
deployment.  We maintain the CORE plugins in the core repo and site wise 
plugins in site repo. So both the repo will contain the same folder name called 
"WP-CONTENT" which contain core plugins in core repo and site plugins in site 
repo. Both the folder will get merged while deploying the code thru GIT. I want 
to make this process automate thru JENKIN deployment but it is not happening.

I would like you guys share your esteemed knowledge to make this sort out..

Thanks,
Kamlesh

--
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<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/46e509ed-2734-41e1-9d31-76c17f43bffb%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/46e509ed-2734-41e1-9d31-76c17f43bffb%40googlegroups.com?utm_medium=email&utm_source=footer>.
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/D40EDA20.5DA63%25ingunawa%40cisco.com.
For more options, visit https://groups.google.com/d/optout.


Re: deployment YAML script with Jenkins

2016-09-26 Thread Victor Martinez
IMO, it seems this is an ansible runtime issue when running that playbook 
rather than a Jenkins issue 


On Monday, 26 September 2016 20:21:07 UTC+1, GBANE FETIGUE wrote:
>
> Hi, 
>
>
> I am running a Yaml deployment on with Jenkins. I specified the branch 
> (develop) but when I run the YAML I am getting error message . 
>
> ​The weird stuff is I have already added the key to bitbucket deployment key 
> . any ideas ?
> ​
>
> Started by user UserName LastName
> [EnvInject] - Loading node environment variables.
> Building in workspace 
> /opt/bitnami/apps/jenkins/jenkins_home/jobs/DemoUI/workspace
>  > /opt/bitnami/git/bin/git rev-parse --is-inside-work-tree # timeout=10
> Fetching changes from the remote Git repository
>  > /opt/bitnami/git/bin/git config remote.origin.url 
> g...@bitbucket.org:Wildcardpay/push_demo_ui.git # timeout=10
> Fetching upstream changes from g...@bitbucket.org:Wildcardpay/push_demo_ui.git
>  > /opt/bitnami/git/bin/git --version # timeout=10
> using GIT_SSH to set credentials 
>  > /opt/bitnami/git/bin/git fetch --tags --progress 
> g...@bitbucket.org:Wildcardpay/push_demo_ui.git 
> +refs/heads/*:refs/remotes/origin/*
>  > /opt/bitnami/git/bin/git rev-parse refs/remotes/origin/develop^{commit} # 
> timeout=10
>  > /opt/bitnami/git/bin/git rev-parse 
> refs/remotes/origin/origin/develop^{commit} # timeout=10
> Checking out Revision 01e22b0ac99e9ba4a2c321f91e109080ff38215b 
> (refs/remotes/origin/develop)
>  > /opt/bitnami/git/bin/git config core.sparsecheckout # timeout=10
>  > /opt/bitnami/git/bin/git checkout -f 
> 01e22b0ac99e9ba4a2c321f91e109080ff38215b
>  > /opt/bitnami/git/bin/git rev-list 01e22b0ac99e9ba4a2c321f91e109080ff38215b 
> # timeout=10
> [EnvInject] - Executing scripts and injecting environment variables after the 
> SCM step.
> [EnvInject] - Injecting as environment variables the properties content 
> ANSIBLE_SSH_CONTROL_PATH='%(directory)s/%%h-%%r'
>
> [EnvInject] - Variables injected successfully.
> [workspace] $ /usr/bin/ansible-playbook ops/deploy-ms3.yml -i 
> ops/inventory/static -f 5 --private-key 
> /opt/bitnami/apache-tomcat/temp/ssh5992238100411202856.key -u bitnami 
> --vault-password-file=/opt/bitnami/apps/jenkins/jenkins_home/jobs/DemoUI/workspace@tmp/secretFiles/efdaab00-43b2-4944-ae17-826c1e0a72b7/vault_password.txt
>
> PLAY [configuring instances] 
> ***
>
> TASK [setup] 
> ***
>  [0;32mok: [52.4.198.19] [0m
>
> TASK [get_code : include_vars] 
> *
>  [0;32mok: [52.4.198.19] [0m
>
> TASK [get_code : ensure .ssh directory exists.] 
> 
>  [0;32mok: [52.4.198.19] [0m
>
> TASK [get_code : install ssh key] 
> **
>  [0;32mok: [52.4.198.19] [0m
>
> TASK [get_code : install git package] 
> **
>  [0;32mok: [52.4.198.19] [0m
>
> TASK [get_code : pull code] 
> 
>  [0;31mfatal: [52.4.198.19]: FAILED! => {"changed": false, "cmd": 
> "/usr/bin/git ls-remote origin -h refs/heads/develop", "failed": true, "msg": 
> "conq: repository access denied. deployment key is not associated with the 
> requested repository.\nfatal: Could not read from remote 
> repository.\n\nPlease make sure you have the correct access rights\nand the 
> repository exists.", "rc": 128, "stderr": "conq: repository access denied. 
> deployment key is not associated with the requested repository.\nfatal: Could 
> not read from remote repository.\n\nPlease make sure you have the correct 
> access rights\nand the repository exists.\n", "stdout": "", "stdout_lines": 
> []} [0m
>
> NO MORE HOSTS LEFT 
> *
>   to retry, use: --limit @ops/deploy-ms3.retry
>
> PLAY RECAP 
> *
>  [0;31m52.4.198.19 [0m:  [0;32mok [0m [0;32m= [0m [0;32m5 [0m 
>changed=0unreachable=0 [0;31mfailed [0m [0;31m= [0m [0;31m1 [0m   
>
> FATAL: command execution failed
> hudson.AbortException: Ansible playbook execution failed
>   at 
> org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:227)
>   at 
> org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:200)
>   at 
> hudson.tasks.BuildStepCompatibility

deployment YAML script with Jenkins

2016-09-26 Thread GBANE FETIGUE


Hi, 


I am running a Yaml deployment on with Jenkins. I specified the branch 
(develop) but when I run the YAML I am getting error message . 

​The weird stuff is I have already added the key to bitbucket deployment key . 
any ideas ?
​

Started by user UserName LastName
[EnvInject] - Loading node environment variables.
Building in workspace 
/opt/bitnami/apps/jenkins/jenkins_home/jobs/DemoUI/workspace
 > /opt/bitnami/git/bin/git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > /opt/bitnami/git/bin/git config remote.origin.url 
 > g...@bitbucket.org:Wildcardpay/push_demo_ui.git # timeout=10
Fetching upstream changes from g...@bitbucket.org:Wildcardpay/push_demo_ui.git
 > /opt/bitnami/git/bin/git --version # timeout=10
using GIT_SSH to set credentials 
 > /opt/bitnami/git/bin/git fetch --tags --progress 
 > g...@bitbucket.org:Wildcardpay/push_demo_ui.git 
 > +refs/heads/*:refs/remotes/origin/*
 > /opt/bitnami/git/bin/git rev-parse refs/remotes/origin/develop^{commit} # 
 > timeout=10
 > /opt/bitnami/git/bin/git rev-parse 
 > refs/remotes/origin/origin/develop^{commit} # timeout=10
Checking out Revision 01e22b0ac99e9ba4a2c321f91e109080ff38215b 
(refs/remotes/origin/develop)
 > /opt/bitnami/git/bin/git config core.sparsecheckout # timeout=10
 > /opt/bitnami/git/bin/git checkout -f 01e22b0ac99e9ba4a2c321f91e109080ff38215b
 > /opt/bitnami/git/bin/git rev-list 01e22b0ac99e9ba4a2c321f91e109080ff38215b # 
 > timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the 
SCM step.
[EnvInject] - Injecting as environment variables the properties content 
ANSIBLE_SSH_CONTROL_PATH='%(directory)s/%%h-%%r'

[EnvInject] - Variables injected successfully.
[workspace] $ /usr/bin/ansible-playbook ops/deploy-ms3.yml -i 
ops/inventory/static -f 5 --private-key 
/opt/bitnami/apache-tomcat/temp/ssh5992238100411202856.key -u bitnami 
--vault-password-file=/opt/bitnami/apps/jenkins/jenkins_home/jobs/DemoUI/workspace@tmp/secretFiles/efdaab00-43b2-4944-ae17-826c1e0a72b7/vault_password.txt

PLAY [configuring instances] ***

TASK [setup] ***
 [0;32mok: [52.4.198.19] [0m

TASK [get_code : include_vars] *
 [0;32mok: [52.4.198.19] [0m

TASK [get_code : ensure .ssh directory exists.] 
 [0;32mok: [52.4.198.19] [0m

TASK [get_code : install ssh key] **
 [0;32mok: [52.4.198.19] [0m

TASK [get_code : install git package] **
 [0;32mok: [52.4.198.19] [0m

TASK [get_code : pull code] 
 [0;31mfatal: [52.4.198.19]: FAILED! => {"changed": false, "cmd": "/usr/bin/git 
ls-remote origin -h refs/heads/develop", "failed": true, "msg": "conq: 
repository access denied. deployment key is not associated with the requested 
repository.\nfatal: Could not read from remote repository.\n\nPlease make sure 
you have the correct access rights\nand the repository exists.", "rc": 128, 
"stderr": "conq: repository access denied. deployment key is not associated 
with the requested repository.\nfatal: Could not read from remote 
repository.\n\nPlease make sure you have the correct access rights\nand the 
repository exists.\n", "stdout": "", "stdout_lines": []} [0m

NO MORE HOSTS LEFT *
to retry, use: --limit @ops/deploy-ms3.retry

PLAY RECAP *
 [0;31m52.4.198.19 [0m:  [0;32mok [0m [0;32m= [0m [0;32m5 [0m   
 changed=0unreachable=0 [0;31mfailed [0m [0;31m= [0m [0;31m1 [0m   

FATAL: command execution failed
hudson.AbortException: Ansible playbook execution failed
at 
org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:227)
at 
org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:200)
at 
hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
at hudson.model.Build$BuildExecution.build(Build.java:205)
at hudson.model.Build$BuildExecution.doRun(Build.java:162)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
at hudson.model.Run.execute(Run.java:1738)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceControll

Merge Git Core Repo and Site Repo folder while Jenkins deployment

2016-09-26 Thread kamlesh nattamai ramesh babu
Hi Folks, 

I need your advice badly.. We are Maintaining  2 GIT repo for handling 
code. 

1. *Core repo*: This repo contains the core files which is commonly used 
for all the projects as a core base files.
2. *Site repo*: This repo contains the site wise file which will merge with 
core while GIT deployment.

Both CORE and SITE will get merged with each other while doing the GIT 
deployment.  We maintain the CORE plugins in the *core repo* and site wise 
plugins in *site repo. *So both the repo will contain the same folder name 
called "WP-CONTENT" which contain core plugins in core repo and site 
plugins in site repo. Both the folder will get merged while deploying the 
code thru GIT. I want to make this process automate thru *JENKIN deployment* 
but 
it is not happening. 

I would like you guys share your esteemed knowledge to make this sort out..

Thanks,
Kamlesh

-- 
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/46e509ed-2734-41e1-9d31-76c17f43bffb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Deployment

2016-07-26 Thread Raghu Goud
Hi , 
Iam new to jenkins ,i have checkout code form svn and generate build ear . 
please help me to deploy ear file from one server to another remote server. 
Let me know the steps...

-- 
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/3f757844-f9ed-4389-90eb-23623f4cbfd1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins plugin availability with Devops deployment tool.

2016-06-16 Thread Baptiste Mathus
First step: check you're able to do all that with only commands. No manual
modifications allowed.

Then create a job, either a freestyle or pipeline one.
Add a step for the build part, then call that tool (another step, or line
in a pipeline script).

When you've tried it, don't hesitate to come back with more specific
questions.

Cheers
Le 16 juin 2016 11:59 AM, "Manik sharma"  a écrit :

> Hi Team ,
>
> I have been using one of the in-house tool named as DEVOPS (not open
> source) for the deployment purposes.
>   As i was not able to find the plugin available to sync up with the
> jenkins . I wanted to know whether there is any plugin available for that
> or if it is not there how i can i be able to write it to make that sync
> happen so that my scenario will be like
> "Every time  whenever there is a code push in the version control
> and a build will get successful  in jenkins  it should trigger a deployment
> action in the DEVOPS tool".
>
> I understand the fact that this DEVOPS tool is having lots of API open
> at the server level .All i want is , i can make use of those API's and sync
> up jenkins and DEVOPS tool.
>
> Can you please help me with this ?
>
> Regards
> Manik sharma
>
> --
> 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/85a73dcf-f19c-4a38-a71d-0ac2ee27026a%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/85a73dcf-f19c-4a38-a71d-0ac2ee27026a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CANWgJS6DY0t1wTh0ycnjb2thbUybj4cibtmOcyif-jgV7bhnAw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins plugin availability with Devops deployment tool.

2016-06-16 Thread Manik sharma
Hi Team , 

I have been using one of the in-house tool named as DEVOPS (not open 
source) for the deployment purposes. 
  As i was not able to find the plugin available to sync up with the 
jenkins . I wanted to know whether there is any plugin available for that 
or if it is not there how i can i be able to write it to make that sync 
happen so that my scenario will be like  
"Every time  whenever there is a code push in the version control 
and a build will get successful  in jenkins  it should trigger a deployment 
action in the DEVOPS tool".
  
I understand the fact that this DEVOPS tool is having lots of API open 
at the server level .All i want is , i can make use of those API's and sync 
up jenkins and DEVOPS tool.

Can you please help me with this ?

Regards
Manik sharma

-- 
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/85a73dcf-f19c-4a38-a71d-0ac2ee27026a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Specify deployment servers as job parameters

2016-06-12 Thread Marco Sacchetto
Hi all,

I'm struggling to find some elegant solution to this problem, so I'm asking 
if anybody got stuck with this before and if any specific plugin exists 
that might take me to the solution. I need to dynamically build one or more 
configuration files and to deploy them to a number of servers. Deployment 
is by scp/ssh/sftp by the means of a local user on the remote system 
(access might be either by key or password) plus a "sudo cp" action to move 
the file in position. Now the problem is the deployment destination. That 
is likely to change everytime, and might be either a single server or a 
group of servers. If it's a group, I can assume that the same 
username/key/password can be used for all of them.
Unluckily, it looks like that no "deploy server" option can be set. I also 
tried to use the credentials plugin with the "password as build parameter" 
plugin to fire up a custom script or to launch a matrix style job with a 
simpler script, but the later only supports passwords and not keys. The 
credentials plugin would be fine if I could use it alone, but since it just 
returns an uuid it's of no use without a companion plugin to consumer the 
code it generates.
A very dirty solution would be to pass the key or password as a parameter 
when I build, but that would mean possible sharing the password with a 
number of people and our policies do not allow for that (besides it being 
possibly time consuming as it would force us to keep the passwords locally).
Any ideas?

-- 
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/a4e2b44d-1c2c-4ee5-85c9-5447b2ddc691%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: deployment of multiple git branches

2016-05-31 Thread Tomáš Bohuněk
Thank you a lot guys. My question was - what do you use for this type of 
deployment - build from each feature branch.

On Tuesday, May 31, 2016 at 1:04:30 PM UTC+2, Tomáš Bohuněk wrote:
>
> What do you recommend for deployment of multiple git repository (one 
> project with few feature branches). Final artifact is JAR with bundled 
> Tomcat application server. I usually run this JAR in Docker container. What 
> do you prefer?
>

-- 
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/6afa3353-2f58-4c6b-9e42-62c5db210ec9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: deployment of multiple git branches

2016-05-31 Thread Mark Waite
You might consider fingerprinting the artifacts then you can use the
Jenkins fingerprint lookup to steer what created that artifact

On Tue, May 31, 2016, 12:07 PM Thomas Zoratto 
wrote:

> Tomáš was talking about Docker so let’s take it for example. You could
> build a new Docker image for each one of your branches and tag it with the
> branch name, build number or whatever you prefer.
>
> Regarding Nexus or Maven specifically you could use a plugin such as the
> Maven build number plugin for that purpose.
>
> It’s just my opinion based on little experience, there are probably better
> methods (or workflows that don’t raise this question) out there.
>
> But honestly, I think this isn’t directly related to Jenkins.
>
> Good luck !
>
> Le 31 mai 2016 à 18:59, Philipp Meier  a écrit :
>
> Hi,
>
> The interesting question for me is how to handle and identify the
> different artifacts which are built by the several branches. I. e. in Maven
> you specify a version 1.0.0-snapshot and this is then used to build the
> Jar. When you're going to deploy this on a machine or a repository (i. e.
> Nexus) you won't be able to identify from which branch it was built. How do
> you handle this?
>
> Best, Philipp
>
> On Tuesday, 31 May 2016 18:16:34 UTC+2, Thomas Zoratto wrote:
>>
>> Hello,
>>
>> You can achieve this with a Jenkinsfile per branch in your repository.
>> Then create a new multibranch pipeline job in Jenkins pointing to your
>> repository and you're done. See
>> https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Multibranch+Plugin
>>
>> Thomas
>>
>> Le 31 mai 2016 à 14:00, Tomáš Bohuněk  a écrit :
>>
>> I would like to deploy and run each jar file for each feature branch.
>>
>> Project is written in Java and JavaScript. Jar file is built by maven. I
>> need to deploy somehow to one machine each of jar built from each feature
>> branch.
>>
>>
>> On Tuesday, May 31, 2016 at 1:55:21 PM UTC+2, Mark Waite wrote:
>>>
>>> I think you'll need to provide more details about the problem you're
>>> trying to solve, and the languages you're using to solve it.  For example,
>>> since you mentioned that you're deploying to tomcat, are you writing in
>>> Java or some other JRE supported language (like Scala)?
>>>
>>> Are you building your jar with maven, gradle, ant, or some other build
>>> tool?
>>>
>>> Mark Waite
>>>
>>> On Tue, May 31, 2016 at 5:46 AM Tomáš Bohuněk  wrote:
>>>
>>>> Sorry for mistake. You are right. I have one single git repository (one
>>>> project) with a few feature branches.
>>>>
>>>>
>>>> On Tuesday, May 31, 2016 at 1:44:19 PM UTC+2, Mark Waite wrote:
>>>>
>>>>> Could you explain further what you mean by "multiple git repository
>>>>> (one project with few feature branches)"?
>>>>>
>>>>> The phrase "multiple git repository" seems to be in conflict with the
>>>>> phrase "one project".  I typically place a project in a single git
>>>>> repository with a few feature branches as necessary.  Can you describe 
>>>>> more
>>>>> about why you need multiple git repositories?
>>>>>
>>>>> Thanks,
>>>>> Mark Waite
>>>>>
>>>>> On Tue, May 31, 2016 at 5:04 AM Tomáš Bohuněk 
>>>>> wrote:
>>>>>
>>>> What do you recommend for deployment of multiple git repository (one
>>>>>> project with few feature branches). Final artifact is JAR with bundled
>>>>>> Tomcat application server. I usually run this JAR in Docker container. 
>>>>>> What
>>>>>> do you prefer?
>>>>>>
>>>>>> --
>>>>>> 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-use...@googlegroups.com.
>>>>>
>>>>>
>>>>>> To view this discussion on the web visit
>>>>>> https://groups.google.com/d/msgid/jenkinsci-users/911cbd52-c307-486d-b0bd-339ea40b8200%40googlegroups.com
>>>>>> <https://groups.google.com/d/msgid/jenkinsci-users/911cbd52-c307-486d-b0bd-339ea40b8200%40googlegroups.com?utm_medium=email&utm_source=footer>

Re: deployment of multiple git branches

2016-05-31 Thread Thomas Zoratto
Tomáš was talking about Docker so let’s take it for example. You could build a 
new Docker image for each one of your branches and tag it with the branch name, 
build number or whatever you prefer.

Regarding Nexus or Maven specifically you could use a plugin such as the Maven 
build number plugin for that purpose.

It’s just my opinion based on little experience, there are probably better 
methods (or workflows that don’t raise this question) out there.

But honestly, I think this isn’t directly related to Jenkins.

Good luck !

> Le 31 mai 2016 à 18:59, Philipp Meier  a écrit :
> 
> Hi,
> 
> The interesting question for me is how to handle and identify the different 
> artifacts which are built by the several branches. I. e. in Maven you specify 
> a version 1.0.0-snapshot and this is then used to build the Jar. When you're 
> going to deploy this on a machine or a repository (i. e. Nexus) you won't be 
> able to identify from which branch it was built. How do you handle this?
> 
> Best, Philipp
> 
> On Tuesday, 31 May 2016 18:16:34 UTC+2, Thomas Zoratto wrote:
> Hello,
> 
> You can achieve this with a Jenkinsfile per branch in your repository. Then 
> create a new multibranch pipeline job in Jenkins pointing to your repository 
> and you're done. See 
> https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Multibranch+Plugin 
> <https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Multibranch+Plugin>
> 
> Thomas
> 
> Le 31 mai 2016 à 14:00, Tomáš Bohuněk > a 
> écrit :
> 
>> I would like to deploy and run each jar file for each feature branch. 
>> 
>> Project is written in Java and JavaScript. Jar file is built by maven. I 
>> need to deploy somehow to one machine each of jar built from each feature 
>> branch.
>> 
>> 
>> On Tuesday, May 31, 2016 at 1:55:21 PM UTC+2, Mark Waite wrote:
>> I think you'll need to provide more details about the problem you're trying 
>> to solve, and the languages you're using to solve it.  For example, since 
>> you mentioned that you're deploying to tomcat, are you writing in Java or 
>> some other JRE supported language (like Scala)?
>> 
>> Are you building your jar with maven, gradle, ant, or some other build tool?
>> 
>> Mark Waite
>> 
>> On Tue, May 31, 2016 at 5:46 AM Tomáš Bohuněk > wrote:
>> Sorry for mistake. You are right. I have one single git repository (one 
>> project) with a few feature branches.
>> 
>> 
>> On Tuesday, May 31, 2016 at 1:44:19 PM UTC+2, Mark Waite wrote:
>> Could you explain further what you mean by "multiple git repository (one 
>> project with few feature branches)"?
>> 
>> The phrase "multiple git repository" seems to be in conflict with the phrase 
>> "one project".  I typically place a project in a single git repository with 
>> a few feature branches as necessary.  Can you describe more about why you 
>> need multiple git repositories?
>> 
>> Thanks,
>> Mark Waite
>> 
>> On Tue, May 31, 2016 at 5:04 AM Tomáš Bohuněk > wrote:
>> What do you recommend for deployment of multiple git repository (one project 
>> with few feature branches). Final artifact is JAR with bundled Tomcat 
>> application server. I usually run this JAR in Docker container. What do you 
>> prefer?
>> 
>> -- 
>> 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-use...@googlegroups.com <>.
>> 
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/911cbd52-c307-486d-b0bd-339ea40b8200%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/911cbd52-c307-486d-b0bd-339ea40b8200%40googlegroups.com?utm_medium=email&utm_source=footer>.
>> For more options, visit https://groups.google.com/d/optout 
>> <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-use...@googlegroups.com <>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/a5cf009f-289a-4945-ac5c-00fb6f52568e%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/a5cf009f-289a-4945-ac5c-00fb6f52568e%40googlegroups.com?utm_medium=email&utm_source=footer>.
>&g

Re: deployment of multiple git branches

2016-05-31 Thread Philipp Meier
Hi,

The interesting question for me is how to handle and identify the different 
artifacts which are built by the several branches. I. e. in Maven you 
specify a version 1.0.0-snapshot and this is then used to build the Jar. 
When you're going to deploy this on a machine or a repository (i. e. Nexus) 
you won't be able to identify from which branch it was built. How do you 
handle this?

Best, Philipp

On Tuesday, 31 May 2016 18:16:34 UTC+2, Thomas Zoratto wrote:
>
> Hello,
>
> You can achieve this with a Jenkinsfile per branch in your repository. 
> Then create a new multibranch pipeline job in Jenkins pointing to your 
> repository and you're done. See 
> https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Multibranch+Plugin
>
> Thomas
>
> Le 31 mai 2016 à 14:00, Tomáš Bohuněk > a 
> écrit :
>
> I would like to deploy and run each jar file for each feature branch. 
>
> Project is written in Java and JavaScript. Jar file is built by maven. I 
> need to deploy somehow to one machine each of jar built from each feature 
> branch.
>
>
> On Tuesday, May 31, 2016 at 1:55:21 PM UTC+2, Mark Waite wrote:
>>
>> I think you'll need to provide more details about the problem you're 
>> trying to solve, and the languages you're using to solve it.  For example, 
>> since you mentioned that you're deploying to tomcat, are you writing in 
>> Java or some other JRE supported language (like Scala)?
>>
>> Are you building your jar with maven, gradle, ant, or some other build 
>> tool?
>>
>> Mark Waite
>>
>> On Tue, May 31, 2016 at 5:46 AM Tomáš Bohuněk  wrote:
>>
>>> Sorry for mistake. You are right. I have one single git repository (one 
>>> project) with a few feature branches.
>>>
>>>
>>> On Tuesday, May 31, 2016 at 1:44:19 PM UTC+2, Mark Waite wrote:
>>>
>>>> Could you explain further what you mean by "multiple git repository 
>>>> (one project with few feature branches)"?
>>>>
>>>> The phrase "multiple git repository" seems to be in conflict with the 
>>>> phrase "one project".  I typically place a project in a single git 
>>>> repository with a few feature branches as necessary.  Can you describe 
>>>> more 
>>>> about why you need multiple git repositories?
>>>>
>>>> Thanks,
>>>> Mark Waite
>>>>
>>>> On Tue, May 31, 2016 at 5:04 AM Tomáš Bohuněk  
>>>> wrote:
>>>>
>>> What do you recommend for deployment of multiple git repository (one 
>>>>> project with few feature branches). Final artifact is JAR with bundled 
>>>>> Tomcat application server. I usually run this JAR in Docker container. 
>>>>> What 
>>>>> do you prefer?
>>>>>
>>>>> -- 
>>>>> 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-use...@googlegroups.com.
>>>>
>>>>
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/jenkinsci-users/911cbd52-c307-486d-b0bd-339ea40b8200%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/jenkinsci-users/911cbd52-c307-486d-b0bd-339ea40b8200%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>> 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-use...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-users/a5cf009f-289a-4945-ac5c-00fb6f52568e%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/jenkinsci-users/a5cf009f-289a-4945-ac5c-00fb6f52568e%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> 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-use...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/ef93b121-e7e9-4591-aa2a-e31f57c49b32%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-users/ef93b121-e7e9-4591-aa2a-e31f57c49b32%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/a9af9134-fdfa-4bbc-aa1a-788417f71e1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: deployment of multiple git branches

2016-05-31 Thread Zoratto Thomas
Hello,

You can achieve this with a Jenkinsfile per branch in your repository. Then 
create a new multibranch pipeline job in Jenkins pointing to your repository 
and you're done. See 
https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Multibranch+Plugin

Thomas

> Le 31 mai 2016 à 14:00, Tomáš Bohuněk  a écrit :
> 
> I would like to deploy and run each jar file for each feature branch. 
> 
> Project is written in Java and JavaScript. Jar file is built by maven. I need 
> to deploy somehow to one machine each of jar built from each feature branch.
> 
> 
>> On Tuesday, May 31, 2016 at 1:55:21 PM UTC+2, Mark Waite wrote:
>> I think you'll need to provide more details about the problem you're trying 
>> to solve, and the languages you're using to solve it.  For example, since 
>> you mentioned that you're deploying to tomcat, are you writing in Java or 
>> some other JRE supported language (like Scala)?
>> 
>> Are you building your jar with maven, gradle, ant, or some other build tool?
>> 
>> Mark Waite
>> 
>>> On Tue, May 31, 2016 at 5:46 AM Tomáš Bohuněk  wrote:
>>> Sorry for mistake. You are right. I have one single git repository (one 
>>> project) with a few feature branches.
>>> 
>>> 
>>>> On Tuesday, May 31, 2016 at 1:44:19 PM UTC+2, Mark Waite wrote:
>>> 
>>>> Could you explain further what you mean by "multiple git repository (one 
>>>> project with few feature branches)"?
>>>> 
>>>> The phrase "multiple git repository" seems to be in conflict with the 
>>>> phrase "one project".  I typically place a project in a single git 
>>>> repository with a few feature branches as necessary.  Can you describe 
>>>> more about why you need multiple git repositories?
>>>> 
>>>> Thanks,
>>>> Mark Waite
>>>> 
>>> 
>>>>> On Tue, May 31, 2016 at 5:04 AM Tomáš Bohuněk  wrote:
>>> 
>>>>> What do you recommend for deployment of multiple git repository (one 
>>>>> project with few feature branches). Final artifact is JAR with bundled 
>>>>> Tomcat application server. I usually run this JAR in Docker container. 
>>>>> What do you prefer?
>>>>> -- 
>>>>> 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-use...@googlegroups.com.
>>> 
>>>>> 
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/jenkinsci-users/911cbd52-c307-486d-b0bd-339ea40b8200%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-use...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-users/a5cf009f-289a-4945-ac5c-00fb6f52568e%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/ef93b121-e7e9-4591-aa2a-e31f57c49b32%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/8E6462C2-EC15-4164-B5CD-B04D50276E3D%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: deployment of multiple git branches

2016-05-31 Thread Tomáš Bohuněk
I would like to deploy and run each jar file for each feature branch. 

Project is written in Java and JavaScript. Jar file is built by maven. I 
need to deploy somehow to one machine each of jar built from each feature 
branch.


On Tuesday, May 31, 2016 at 1:55:21 PM UTC+2, Mark Waite wrote:
>
> I think you'll need to provide more details about the problem you're 
> trying to solve, and the languages you're using to solve it.  For example, 
> since you mentioned that you're deploying to tomcat, are you writing in 
> Java or some other JRE supported language (like Scala)?
>
> Are you building your jar with maven, gradle, ant, or some other build 
> tool?
>
> Mark Waite
>
> On Tue, May 31, 2016 at 5:46 AM Tomáš Bohuněk  > wrote:
>
>> Sorry for mistake. You are right. I have one single git repository (one 
>> project) with a few feature branches.
>>
>>
>> On Tuesday, May 31, 2016 at 1:44:19 PM UTC+2, Mark Waite wrote:
>>
>>> Could you explain further what you mean by "multiple git repository 
>>> (one project with few feature branches)"?
>>>
>>> The phrase "multiple git repository" seems to be in conflict with the 
>>> phrase "one project".  I typically place a project in a single git 
>>> repository with a few feature branches as necessary.  Can you describe more 
>>> about why you need multiple git repositories?
>>>
>>> Thanks,
>>> Mark Waite
>>>
>>> On Tue, May 31, 2016 at 5:04 AM Tomáš Bohuněk  wrote:
>>>
>> What do you recommend for deployment of multiple git repository (one 
>>>> project with few feature branches). Final artifact is JAR with bundled 
>>>> Tomcat application server. I usually run this JAR in Docker container. 
>>>> What 
>>>> do you prefer?
>>>>
>>>> -- 
>>>> 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-use...@googlegroups.com.
>>>
>>>
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/jenkinsci-users/911cbd52-c307-486d-b0bd-339ea40b8200%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/jenkinsci-users/911cbd52-c307-486d-b0bd-339ea40b8200%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> 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-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/a5cf009f-289a-4945-ac5c-00fb6f52568e%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/a5cf009f-289a-4945-ac5c-00fb6f52568e%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> 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/ef93b121-e7e9-4591-aa2a-e31f57c49b32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: deployment of multiple git branches

2016-05-31 Thread Mark Waite
I think you'll need to provide more details about the problem you're trying
to solve, and the languages you're using to solve it.  For example, since
you mentioned that you're deploying to tomcat, are you writing in Java or
some other JRE supported language (like Scala)?

Are you building your jar with maven, gradle, ant, or some other build tool?

Mark Waite

On Tue, May 31, 2016 at 5:46 AM Tomáš Bohuněk  wrote:

> Sorry for mistake. You are right. I have one single git repository (one
> project) with a few feature branches.
>
>
> On Tuesday, May 31, 2016 at 1:44:19 PM UTC+2, Mark Waite wrote:
>
>> Could you explain further what you mean by "multiple git repository (one
>> project with few feature branches)"?
>>
>> The phrase "multiple git repository" seems to be in conflict with the
>> phrase "one project".  I typically place a project in a single git
>> repository with a few feature branches as necessary.  Can you describe more
>> about why you need multiple git repositories?
>>
>> Thanks,
>> Mark Waite
>>
>> On Tue, May 31, 2016 at 5:04 AM Tomáš Bohuněk  wrote:
>>
> What do you recommend for deployment of multiple git repository (one
>>> project with few feature branches). Final artifact is JAR with bundled
>>> Tomcat application server. I usually run this JAR in Docker container. What
>>> do you prefer?
>>>
>>> --
>>> 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-use...@googlegroups.com.
>>
>>
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/911cbd52-c307-486d-b0bd-339ea40b8200%40googlegroups.com
>>> <https://groups.google.com/d/msgid/jenkinsci-users/911cbd52-c307-486d-b0bd-339ea40b8200%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> 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/a5cf009f-289a-4945-ac5c-00fb6f52568e%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/a5cf009f-289a-4945-ac5c-00fb6f52568e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CAO49JtHTzrs%2BGt24qAHUM%3D681NgzYJSmLhf-6Um1HA%3Dn6kYzjw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: deployment of multiple git branches

2016-05-31 Thread Tomáš Bohuněk
Sorry for mistake. You are right. I have one single git repository (one 
project) with a few feature branches.

On Tuesday, May 31, 2016 at 1:44:19 PM UTC+2, Mark Waite wrote:
>
> Could you explain further what you mean by "multiple git repository (one 
> project with few feature branches)"?
>
> The phrase "multiple git repository" seems to be in conflict with the 
> phrase "one project".  I typically place a project in a single git 
> repository with a few feature branches as necessary.  Can you describe more 
> about why you need multiple git repositories?
>
> Thanks,
> Mark Waite
>
> On Tue, May 31, 2016 at 5:04 AM Tomáš Bohuněk  > wrote:
>
>> What do you recommend for deployment of multiple git repository (one 
>> project with few feature branches). Final artifact is JAR with bundled 
>> Tomcat application server. I usually run this JAR in Docker container. What 
>> do you prefer?
>>
>> -- 
>> 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-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/911cbd52-c307-486d-b0bd-339ea40b8200%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/911cbd52-c307-486d-b0bd-339ea40b8200%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> 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/a5cf009f-289a-4945-ac5c-00fb6f52568e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: deployment of multiple git branches

2016-05-31 Thread Mark Waite
Could you explain further what you mean by "multiple git repository (one
project with few feature branches)"?

The phrase "multiple git repository" seems to be in conflict with the
phrase "one project".  I typically place a project in a single git
repository with a few feature branches as necessary.  Can you describe more
about why you need multiple git repositories?

Thanks,
Mark Waite

On Tue, May 31, 2016 at 5:04 AM Tomáš Bohuněk  wrote:

> What do you recommend for deployment of multiple git repository (one
> project with few feature branches). Final artifact is JAR with bundled
> Tomcat application server. I usually run this JAR in Docker container. What
> do you prefer?
>
> --
> 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/911cbd52-c307-486d-b0bd-339ea40b8200%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/911cbd52-c307-486d-b0bd-339ea40b8200%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CAO49JtFdU9%2Btn5xMka2_GHuW8MY5R6r3RUH-0-4%2Bdy4M2g2aBw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


deployment of multiple git branches

2016-05-31 Thread Tomáš Bohuněk
What do you recommend for deployment of multiple git repository (one 
project with few feature branches). Final artifact is JAR with bundled 
Tomcat application server. I usually run this JAR in Docker container. What 
do you prefer?

-- 
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/911cbd52-c307-486d-b0bd-339ea40b8200%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Weblogic deployment from jenkins

2016-03-22 Thread süleyman idinak
Hi All,

I'm working on weblogic .war deployment from jenkins. I installed your webLogic 
deployment plugin. I created deployment job. When i start the deployment job 
i'm getting this error;

I uploaded error and configuration files.

1-> Error : https://goo.gl/NSPxcW
2-> Configuration 1 : https://goo.gl/ydjSA1
3-> Configuration 2: https://goo.gl/YV48UU

I need help.


Thank you so much.

-- 
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/e175349c-7a8f-4568-84e1-7797b36b9bf7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: PHP deployment - Synchronize souces

2015-12-04 Thread Baptiste Mathus
Not really a Jenkins question at first IMO.

Yeah, rsync would work I guess.
But IIUC your needs then what you want to use is a configuration management
tool to configure and deploy you app where it has to be: Ansible, Puppet,
Chef, you name it.

Jenkins could in that case responsible for handling the global lifecycle of
all that. For example: at commit, run unit tests, deploy to UAT environment
(via Ansible), etc.

HTH
Le 4 déc. 2015 1:02 PM, "Fabricio De Marchi"  a
écrit :

> Hi All,
>
> Considering a simple scenario:
> A PHP project in SVN, checkout and deploy it to several App servers
> running Apache (everything under Linux).
>
> Considering that with SVN you can remove/delete sources in some
> situations, what would be a best practice to ensure the build/deploy
> process would synchronize the sources (new files, updates and deletes in
> SVN are applied to the servers)?
>
> My initial thoughts:
> 1. Installing SVN client in the servers would NOT be the best option in my
> opinion. Servers should only contain what is necessary for your app to run
> in order to minimize security risks
> 2. Use RSYNC
> 3. Maybe have a symbolic link pointing to the app path in each server so a
> SVN checkout would take care of that "sync"
>
> There might be some plugin that takes care of that but I am not aware of
> it.
>
> Eventually other aspects as unit test, security and other items will be
> added to the build/deploy process but for now the situation above is my
> main focus.
>
> Thanks,
> Fabricio
>
> --
> 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/fcdff0a7-ae09-421e-a523-c1cf1243b14e%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/CANWgJS4MdLzSADPbzxj_-4FoHsWDkDT62Wug7LRjajvq%3DTqS8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


PHP deployment - Synchronize souces

2015-12-04 Thread Fabricio De Marchi
Hi All,

Considering a simple scenario:
A PHP project in SVN, checkout and deploy it to several App servers running 
Apache (everything under Linux).

Considering that with SVN you can remove/delete sources in some situations, 
what would be a best practice to ensure the build/deploy process would 
synchronize the sources (new files, updates and deletes in SVN are applied 
to the servers)?

My initial thoughts:
1. Installing SVN client in the servers would NOT be the best option in my 
opinion. Servers should only contain what is necessary for your app to run 
in order to minimize security risks
2. Use RSYNC
3. Maybe have a symbolic link pointing to the app path in each server so a 
SVN checkout would take care of that "sync"

There might be some plugin that takes care of that but I am not aware of it.

Eventually other aspects as unit test, security and other items will be 
added to the build/deploy process but for now the situation above is my 
main focus.

Thanks,
Fabricio

-- 
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/fcdff0a7-ae09-421e-a523-c1cf1243b14e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Custom Build Step w/ Grid containing Deployment Targets

2015-10-29 Thread Matt Redmond
Hi Folks,

I am still trying to get my head wrapped around Jenkins' capabilities and 
was hoping someone could give me some guidance...

We have a number of deployment target devices in the field that are of 
different types, locations, etc.  Rather than simply creating a 
parameterized job where values would need to be pulled in from an external 
source (a spreadsheet, for example), I would like to include on the job 
configuration page a grid containing all of the possible deployment targets 
and their metadata (location, IP address, type, etc).  I'm thinking I want 
to use the KendoUI grid but I'm flexible there.  Ideally the grid will be 
sortable, filterable, groupable, etc., allowing the user to drill down on 
one or more deployment targets.  The selected item(s) would be used for 
either pulling in configuration data to be used as part of the build - or 
in a step that deploys to the targeted device.

I cannot find a plugin that will provide the ability to include completely 
custom build parameters or steps with associated javascript UI elements.

Any ideas?  I'd really appreciate a point in the right direction.

BTW, the closest I've found is the Mashup Portlets 
<https://wiki.jenkins-ci.org/display/JENKINS/Mashup+Portlets> plugin, but 
this wants to be used in a new dashboard view, not a project configuration 
page.

Thanks!

Matt Redmond 


-- 
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/b0508625-ec11-4296-b563-1f08243aecca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


o control deployment and tests on iSeries-hosts

2015-09-28 Thread Wilmer_T
Hi there!
How should I go about to run deployment and tests on iSeries (former 
AS/400) with Jenkins...?

Any references or caveats to identify and mitigate?

Med vänlig hälsning,

   /Wilmer_T

...här skiner solen...

-- 
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/7a680d9c-2956-44b3-9bd7-c4cd1b1f0f93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Automated deployment process through Jenkins

2015-09-03 Thread veeralscm
Hello,

Thanks for the update.

I am using jenkins plugin and trying to copy the files from build machine 
to remote machine but it is not working,if any one have sample script 
please provide me.

Your help is greatly appreciate.

On Wednesday, August 26, 2015 at 2:46:54 PM UTC-5, veer...@gmail.com wrote:
>
> I have configured Jenkins on windows 7 based and we are using Subversion 
> on windows based.
>
> I am trying to Automate my build machine.Once it build automatically the 
> war files should copy to shared server location and do the auto 
> deployment.I need assistance to implement this process.
>
>
>

-- 
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/153508e6-7102-4e95-a0d5-2a395395b896%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Automated deployment process through Jenkins

2015-08-26 Thread Peter Berghold
On Wed, Aug 26, 2015, 15:47   wrote:


I am trying to Automate my build machine.Once it build automatically the
war files should copy to shared server location and do the auto
deployment.I need assistance to implement this proces

s


Not much to go on htere, but my builds I've implemented in Jenkins look a
lot like shell scripts using the same techniques I'd use manually.

For instance I'll build a .war file for a web application and then just
send it to the appropriate directory on the target server using scp.  Make
sure you have SSL certs in place making Jenkins trusted in the landing zone.

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


RE: Automated deployment process through Jenkins

2015-08-26 Thread Scott Klein
Depending how you "auto-deploy" there might be a plugin for it - search the 
availalbe plugins for your server (eg Tomcat)

Or, for a more manual process:

* Use the Publish Over SSH plugin to push the files up to your server 
(you will need to configure your SSH authentication credentials)

* Use Ant to execute your deploy script on the server

Just configure these in your post build actions


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of veeral...@gmail.com
Sent: Wednesday, August 26, 2015 12:47 PM
To: Jenkins Users
Subject: Automated deployment process through Jenkins

I have configured Jenkins on windows 7 based and we are using Subversion on 
windows based.

I am trying to Automate my build machine.Once it build automatically the war 
files should copy to shared server location and do the auto deployment.I need 
assistance to implement this process.


--
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<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/448ba04f-73e3-496b-8d9c-8643ecd13361%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/448ba04f-73e3-496b-8d9c-8643ecd13361%40googlegroups.com?utm_medium=email&utm_source=footer>.
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/7FB4F0EC1916C84CBA95F6E5A360E40A013E5E066266%40ghex01.hq.ghds.net.
For more options, visit https://groups.google.com/d/optout.


Automated deployment process through Jenkins

2015-08-26 Thread veeralscm
I have configured Jenkins on windows 7 based and we are using Subversion on 
windows based.

I am trying to Automate my build machine.Once it build automatically the 
war files should copy to shared server location and do the auto 
deployment.I need assistance to implement this process.


-- 
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/448ba04f-73e3-496b-8d9c-8643ecd13361%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Need to run "post build task" step on the slave server for Continuous Deployment.

2015-07-27 Thread swastika basu
why not add another job to run the on the slave, let it execute the script 
and add the job as downstream job to your master job?

On Monday, 27 July 2015 14:54:51 UTC-4, Pavan Teja wrote:
>
> Hi,
>
> I am using Jenkins for Continuous Integration and Continuous 
> Deployment. I have written script for deployment process, but i don't want 
> to run that script from jenkins master server, due to some security 
> reasons. 
> So i launched a slave server using Headless mode in Ubuntu server, now 
> i need to Set a "Post-build" task for a Job in jenkins, which should run in 
> slave server. 
> Is there any way to do it ? OR Please suggest if there are any 
> alternatives.
>
> Thanks,
> Pavan
>

-- 
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/6da6d880-9e76-421e-b2ea-8f0cebb887d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Need to run "post build task" step on the slave server for Continuous Deployment.

2015-07-27 Thread Pavan Teja
Hi,

I am using Jenkins for Continuous Integration and Continuous 
Deployment. I have written script for deployment process, but i don't want 
to run that script from jenkins master server, due to some security 
reasons. 
So i launched a slave server using Headless mode in Ubuntu server, now 
i need to Set a "Post-build" task for a Job in jenkins, which should run in 
slave server. 
Is there any way to do it ? OR Please suggest if there are any 
alternatives.

Thanks,
Pavan

-- 
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/2f20dbce-b92d-4a53-9ff6-83c3293ba0df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


WebSphere 8.0 Deployment with Jenkins

2015-06-23 Thread Manjunath Narayan
Hi All,

I am trying to do automatic deployment through WebSphere plugin for Jenkins 
and getting below error. Tried all the JAR and etc but nothing seems 
working, Can someone help.

ERROR <http://localhost:8080/job/DA_Demo/configure>

A problem occurred while processing the request. Please check our bug 
tracker <https://issues.jenkins-ci.org/> to see if a similar problem has 
already been reported. If it is already reported, please vote and put a 
comment on it to let us gauge the impact of the problem. If you think this 
is a new issue, please file a new issue. When you file an issue, make sure 
to add the entire stack trace, along with the version of Jenkins and 
relevant plugins. The users list 
<http://jenkins-ci.org/content/mailing-lists> might be also useful in 
understanding what has happened.
Stack trace

javax.servlet.ServletException: java.lang.NoClassDefFoundError: Could not 
initialize class com.ibm.websphere.management.AdminClientFactory
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)
at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:123)
at hudson.plugins.collabnet.auth.CNFilter.doFilter(CNFilter.java:90)
at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:120)
at 
hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:114)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at 
hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at 
org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at 
hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at 
org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at 
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
at 
org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960)
at 
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021)
at org.eclipse.jetty.http.HttpParser.parseNext(H

Re: Getting error during deployment

2015-04-23 Thread Maciej Jaros

Bharath Raj (2015-04-22 21:28):

Hi team ,
I am trying to deploy artifact through Weblogic server ..After building project 
I have written build.xml which is generating war successfully .. I am able to 
undeploy but while deploying I am getting the below error . Could you please 
help me in solving the issue and let me know the cause for the error..

  Task completed abnormally (exit code =1) .


Not sure about Weblogic server, but for Tomcat the best way to make sure 
deployment works is to stop the server (and wait for it to actually 
stop) and then copy war and then start the sever again.


Here is a stopping script which you could adjust for Weblogic server:
# Set timeout (in seconds).
# default value
TIMEOUT=240
# run-time value
if [ ! -z "$1" ]; then
TIMEOUT=$1
fi
echo "[INFO] Timeout will occur at: " $(date -d "$TIMEOUT seconds")

# stopping...
/etc/init.d/tomcat stop

# timeout setup
END_TIME=$(date -d "$TIMEOUT seconds" +%s)

# waiting...
echo "---"
echo "  Stop log"
echo "- - - - - - - - - -"
while read line
do
echo $line
if echo $line|grep -i "INFO: Destroying ProtocolHandler \[\"ajp"
then
break
fi
# break if no java is running...
runningJava=`ps -A|grep -i "java"`
if [ -z "$runningJava" ]
then
echo "[INFO] Java is not running"
break
fi
if [ $(date +%s) -ge $END_TIME ]
then
echo "[INFO] Timeout occurred - killing java"
killall java
break
fi
done < <(tail -5f /usr/share/apache-tomcat/logs/catalina.out)
echo -e "\n---\n\n"

--
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/5538BDA8.8000909%40mol.com.pl.
For more options, visit https://groups.google.com/d/optout.


Getting error during deployment

2015-04-22 Thread Bharath Raj
Hi team , 
I am trying to deploy artifact through Weblogic server ..After building project 
I have written build.xml which is generating war successfully .. I am able to 
undeploy but while deploying I am getting the below error . Could you please 
help me in solving the issue and let me know the cause for the error.. 

 Task completed abnormally (exit code =1) .

Thanks,
Indu.

-- 
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/9b6d8ca7-659d-4313-9b98-079c7ce95f11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Tomcat deployment Fails when using Deploy To Container plugin v1.10

2015-03-31 Thread Oscar Martins
Hello,

I am not able to do the deploy of all projects.

In the container in "conf / tomcat-users.xml" have user with the privilege 
"manager-script".: 

<https://lh3.googleusercontent.com/-PNyDFvP1NkM/VRqoLCZdH3I/DGQ/YFSbvJzuo34/s1600/Captura%2Bde%2Becra%CC%83%2B2015-03-31%2C%2Ba%CC%80s%2B14.57.41.png>

























In the project settings have the following:

<https://lh3.googleusercontent.com/-gvW7UyqQ5uQ/VRqniLTKuRI/DGI/WtoIeoFoy7s/s1600/Captura%2Bde%2Becra%CC%83%2B2015-03-31%2C%2Ba%CC%80s%2B14.55.57.png>



























- Jenkins *v1.606*
- Deploy to container Plugin *v1.10*
- Tomcat *v7.0.41*



- Console log:

BUILD SUCCESSFUL
Total time: 0 seconds
Deploying 
/home/orcproje/.jenkins/workspace/ORCDATABASE/DATABASE_ORC/dist/DATABASE_ORC.war
 
to container Tomcat 7.x Remote
  
[/home/orcproje/.jenkins/workspace/ORCDATABASE/DATABASE_ORC/dist/DATABASE_ORC.war]
 
is not deployed. Doing a fresh deployment.
  Deploying 
[/home/orcproje/.jenkins/workspace/ORCDATABASE/DATABASE_ORC/dist/DATABASE_ORC.war]
ERROR: Build step failed with exception
org.codehaus.cargo.container.ContainerException: Failed to deploy 
[/home/orcproje/.jenkins/workspace/ORCDATABASE/DATABASE_ORC/dist/DATABASE_ORC.war]
at 
org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.deploy(AbstractTomcatManagerDeployer.java:111)
at 
org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.redeploy(AbstractTomcatManagerDeployer.java:185)
at 
hudson.plugins.deploy.CargoContainerAdapter.deploy(CargoContainerAdapter.java:73)
at 
hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:116)
at 
hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:103)
at hudson.FilePath.act(FilePath.java:989)
at hudson.FilePath.act(FilePath.java:967)
at 
hudson.plugins.deploy.CargoContainerAdapter.redeploy(CargoContainerAdapter.java:103)
at hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:61)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670)
at hudson.model.Run.execute(Run.java:1776)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)
Caused by: java.io.FileNotFoundException: 
http://orc-project.com/manager/text/deploy?path=%2FDATABASE_ORC
at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1624)
at 
org.codehaus.cargo.container.tomcat.internal.TomcatManager.invoke(TomcatManager.java:544)
at 
org.codehaus.cargo.container.tomcat.internal.TomcatManager.deployImpl(TomcatManager.java:611)
at 
org.codehaus.cargo.container.tomcat.internal.TomcatManager.deploy(TomcatManager.java:291)
at 
org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.deploy(AbstractTomcatManagerDeployer.java:102)
... 17 more
java.io.FileNotFoundException: 
http://orc-project.com/manager/text/deploy?path=%2FDATABASE_ORC
at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1624)
at 
org.codehaus.cargo.container.tomcat.internal.TomcatManager.invoke(TomcatManager.java:544)
at 
org.codehaus.cargo.container.tomcat.internal.TomcatManager.deployImpl(TomcatManager.java:611)
at 
org.codehaus.cargo.container.tomcat.internal.TomcatManager.deploy(TomcatManager.java:291)
at 
org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.deploy(AbstractTomcatManagerDeployer.java:102)
at 
org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.redeploy(AbstractTomcatManagerDeployer.java:185)
at 
hudson.plugins.deploy.CargoContainerAdapter.deploy(CargoContainerAdapter.java:73)
at 
hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:116)
at 
hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:103)
at hudson.FilePath.act(FilePath.java:989)
at hudson.FilePath.act(FilePath.java:967)
at 
hudson.plugins.deploy.CargoContainerAdapter.redeploy(CargoContainerAdapter.java:103)
at hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:61)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670)
at hudson.model.Run.execute(Run.java:1776)
at hudson.model.FreeStyleBuil

Jenkins change reports on deployment to environment

2015-03-26 Thread Mark Small
We have a GIT/JENKINS auto Build/Deploy continuous integration setup.

1) Developer pushes code to DEV git branch.
2) Jenkins is notified, it builds and deploys code to DEV environment.
3) DEV git branch is merged to BETA git branch and pushed.
4) Jenkins is notified, it builds and deploys code to BETA environment.
5) Developer emails link to BETA Job's changes URL to wider team (including 
non-developers).

While this system works, it breaks one of the rules of Continuous 
Integration/Deployment i.e. build once, deploy to multiple environments.

What we would ideally like is:

1) Developer pushes code to DEV git branch.
2) Jenkins is notified, it builds and deploys code to DEV environment.
3) DEV manually triggers BETA deploy Job, it takes the latest successful 
build and deploys it to the BETA environment and an email of all changes 
since last deploy to that environment is emails to the wider team 
(including non-developers).

The problem as I see it is collating the changes across many builds into 
one email.  Does anyone have any ideas, examples?

Thanks in advance.


MARK

CIAO

-- 
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/920baa36-01ef-407a-b8b3-4e79b485db36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


MSBuild deployment issue

2015-03-18 Thread Praveen Ravula
I am publishing and deploying the .net web application using jenkins 
MSbuild plugin.Everey thing is working fine except one issue.
Here the issue is not able to find the created website in IIS.
Missing the site *http://localhost/enhancement* 
<http://localhost/enhancement> in iis.
Please find the following MSBUILD command line parameters :
/p:Configuration=Release
/p:DeployOnBuild=True
/p:DeployTarget=Package
/p:_PackageTempDir=c:\QueRxDemo\publish
/p:VisualStudioVersion=10.0
 commandline command generated by jenkin :
Path To MSBuild.exe: 
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
Executing the command cmd.exe /C " 
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe 
/p:Configuration=Release /p:DeployOnBuild=True /p:DeployTarget=Package 
/p:_PackageTempDir=c:\QueRxDemo\publish /p:VisualStudioVersion=10.0 "C:\Svn 
repos\V2.4\src\Web\Web.csproj" "
 Please find the jekins console output :
 Publish Pipeline Deploy phase Pre-Deploy CopyAllFilesToOneFolder Stage
Package:
Invoking Web Deploy to generate the package with the following settings:
$(LocalIisVersion) is 7
$(DestinationIisVersion) is 7
$(UseIis) is True
$(IisUrl) is *http://localhost/enhancement* <http://localhost/enhancement>
$(IncludeIisSettings) is False
$(_DeploymentUseIis) is False
$(DestinationUseIis) is False
GenerateMsdeployManifestFiles:
Generate source manifest file for Web Deploy package/publish ...
PackageUsingManifest:
Packaging into C:\Svn repos\V2.4\src\Web\obj\Release\Package\Web.zip.
Starting Web deployment task from source:manifest(C:\Svn 
repos\V2.4\src\Web\obj\Release\Package\Web.SourceManifest.xml) to 
Destination:package(C:\Svn repos\V2.4\src\Web\obj\Release\Package\Web.zip).
Successfully executed Web deployment task.
Package "Web.zip" is successfully created as single file at the following 
location:
*file:///C:/Svn%20repos/V2.4/src/Web/obj/Release/Package* 

To get the instructions on how to deploy the web package please visit the 
following 
Thanks.

-- 
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/8c21bcea-cbf5-416d-b127-db6b2e136182%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Suitable Use Case for Jenkins - Windows Deployment and integration Testing of Commerical Applications ?

2015-02-06 Thread mobcdi
Thanks to all who replied, looks like it is possible with a bit of work. 
For completeness looking at test complete by smart bear was also suggested 
in case others are following the discussion 

http://smartbear.com/product/testcomplete/overview/ 





On Thursday, February 5, 2015 at 2:06:50 PM UTC, Mark Waite wrote:
>
>
>
> On Thu, Feb 5, 2015 at 6:44 AM, mobcdi > 
> wrote:
>
>>
>> Seems the vm steps are covered by this plugin 
>> https://wiki.jenkins-ci.org/display/JENKINS/vSphere+Cloud+Plugin but 
>> what I'm not clear is possible is how to test applications that need to 
>> emulate an end user clicking menus
>>
>
> I'm not aware of a plugin to perform that type of test, but there are 
> several different test automation tools available which can be invoked from 
> a Jenkins job and which can attempt end user clicks on menus.  I'm not sure 
> any of them are worth the effort to configure and maintain for your use 
> case, but they are available.
>
> Refer to http://en.wikipedia.org/wiki/List_of_GUI_testing_tools for a 
> good listing of tools for GUI testing.
>
> Mark Waite
>  
>
>> On Tuesday, February 3, 2015 at 5:04:29 PM UTC, mobcdi wrote:
>>>
>>> Hi all,
>>>
>>> Is the following use case suitable for Jenkins and if so are there any 
>>> of the many plugins you would recommend to help?
>>>
>>> In an enviroment with a large number of windows applications could 
>>> Jenkins be used for testing new versions of applications work well together 
>>> and also work with updates to the Windows client/desktop OS ?
>>>
>>> The applications would be for the most part manually created custom 
>>> packages of commerical applications (think MS Office, Adobe Suites that 
>>> kind of thing) and the aim would be to automate the testing of both changes 
>>> to the underlying OS either from a config change or a patch as well as 
>>> updates/patches to the applications themselves?
>>>
>>> I would envisage a series of tests would include 
>>>
>>>- starts correctly
>>>- Can create a new file
>>>- Can open and save an existing file
>>>- Carry out application specify tests e.g in Adobe PhotoShop export 
>>>image as pdf
>>>
>>> I would expect the Windows test machines would be a vm based on a custom 
>>> template /image
>>>
>>> Is this dream a reality already or the stuff of nighmares?
>>>
>>>
>>>
>>>  -- 
>> 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-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/29d25fd4-3006-452a-b913-28bf051d1d22%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Thanks!
> Mark Waite
>  

-- 
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/d737c987-45c9-43c1-b91b-35c8d2678e16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Suitable Use Case for Jenkins - Windows Deployment and integration Testing of Commerical Applications ?

2015-02-05 Thread Mark Waite
On Thu, Feb 5, 2015 at 6:44 AM, mobcdi  wrote:

>
> Seems the vm steps are covered by this plugin
> https://wiki.jenkins-ci.org/display/JENKINS/vSphere+Cloud+Plugin but what
> I'm not clear is possible is how to test applications that need to emulate
> an end user clicking menus
>

I'm not aware of a plugin to perform that type of test, but there are
several different test automation tools available which can be invoked from
a Jenkins job and which can attempt end user clicks on menus.  I'm not sure
any of them are worth the effort to configure and maintain for your use
case, but they are available.

Refer to http://en.wikipedia.org/wiki/List_of_GUI_testing_tools for a good
listing of tools for GUI testing.

Mark Waite


> On Tuesday, February 3, 2015 at 5:04:29 PM UTC, mobcdi wrote:
>>
>> Hi all,
>>
>> Is the following use case suitable for Jenkins and if so are there any of
>> the many plugins you would recommend to help?
>>
>> In an enviroment with a large number of windows applications could
>> Jenkins be used for testing new versions of applications work well together
>> and also work with updates to the Windows client/desktop OS ?
>>
>> The applications would be for the most part manually created custom
>> packages of commerical applications (think MS Office, Adobe Suites that
>> kind of thing) and the aim would be to automate the testing of both changes
>> to the underlying OS either from a config change or a patch as well as
>> updates/patches to the applications themselves?
>>
>> I would envisage a series of tests would include
>>
>>- starts correctly
>>- Can create a new file
>>- Can open and save an existing file
>>- Carry out application specify tests e.g in Adobe PhotoShop export
>>image as pdf
>>
>> I would expect the Windows test machines would be a vm based on a custom
>> template /image
>>
>> Is this dream a reality already or the stuff of nighmares?
>>
>>
>>
>>  --
> 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/29d25fd4-3006-452a-b913-28bf051d1d22%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Thanks!
Mark Waite

-- 
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/CAO49JtH%2BD_BYwt532g%3DqtitSYHZbp-uFGNRjip4WAX%2Bq5BhhjA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Suitable Use Case for Jenkins - Windows Deployment and integration Testing of Commerical Applications ?

2015-02-05 Thread mobcdi

Seems the vm steps are covered by this plugin 
https://wiki.jenkins-ci.org/display/JENKINS/vSphere+Cloud+Plugin but what 
I'm not clear is possible is how to test applications that need to emulate 
an end user clicking menus

On Tuesday, February 3, 2015 at 5:04:29 PM UTC, mobcdi wrote:
>
> Hi all,
>
> Is the following use case suitable for Jenkins and if so are there any of 
> the many plugins you would recommend to help?
>
> In an enviroment with a large number of windows applications could Jenkins 
> be used for testing new versions of applications work well together and 
> also work with updates to the Windows client/desktop OS ?
>
> The applications would be for the most part manually created custom 
> packages of commerical applications (think MS Office, Adobe Suites that 
> kind of thing) and the aim would be to automate the testing of both changes 
> to the underlying OS either from a config change or a patch as well as 
> updates/patches to the applications themselves?
>
> I would envisage a series of tests would include 
>
>- starts correctly
>- Can create a new file
>- Can open and save an existing file
>- Carry out application specify tests e.g in Adobe PhotoShop export 
>image as pdf
>
> I would expect the Windows test machines would be a vm based on a custom 
> template /image
>
> Is this dream a reality already or the stuff of nighmares?
>
>
>
>

-- 
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/29d25fd4-3006-452a-b913-28bf051d1d22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Suitable Use Case for Jenkins - Windows Deployment and integration Testing of Commerical Applications ?

2015-02-03 Thread michael . obrien
Hi all,

Is the following use case suitable for Jenkins and if so are there any of 
the many plugins you would recommend to help?

In an enviroment with a large number of windows applications could Jenkins 
be used for testing new versions of applications work well together and 
also work with updates to the Windows client/desktop OS ?

The applications would be for the most part manually created custom 
packages of commerical applications (think MS Office, Adobe Suites that 
kind of thing) and the aim would be to automate the testing of both changes 
to the underlying OS either from a config change or a patch as well as 
updates/patches to the applications themselves?

I would envisage a series of tests would include 

   - starts correctly
   - Can create a new file
   - Can open and save an existing file
   - Carry out application specify tests e.g in Adobe PhotoShop export 
   image as pdf

I would expect the Windows test machines would be a vm based on a custom 
template /image

Is this dream a reality already or the stuff of nighmares?



-- 
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/884f4029-2685-41ec-8202-95a0c53c7eac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do I incorporate CHEF into my build and deployment process

2015-02-03 Thread Timur Batyrshin
Hi Eric,

You need to understand first what exactly you want to be run and at which 
point.
>From the quick glance it could be running Chef on already provisioned 
server (use SSH to do that when you need it) or creating a new server in 
the cloud for running tests etc on it. (It's likely there are some more 
usecases I'm missing here).
Not sure what is the most recommended way to do that with Jenkins (I'd love 
to hear about that too) but we use Vagrant for spinning up servers for 
integration tests.
Jenkins kicks Vagrant to create a new server. You can then use Vagrant Chef 
provisioners or whatever you like to setup your server.
After the test run is finished we just retrieve the test reports from the 
server and terminate it.
Hope that makes sense for you.

Regards,
Timur

вторник, 27 января 2015 г., 21:21:33 UTC+3 пользователь 
eric...@rocketmail.com написал:
>
> Currently I am deploying application code to our target environments using 
> the Build Pipeline plugin.  It is a visualization tool for managing a chain 
> of upstream and downstream jenkins jobs.  We want to incorporate chef 
> scripts into our deployment process for setting up the initial servers and 
> verifying their configuration.  For example, we want to be able to install 
> tomcat, java and other packages in a consistent programmatic way.
>
> Does it make sense to incorporate this pieces into my build pipeline along 
> with the build steps for deploying the application code & liquibase DB 
> changes. What is the preferred method for incorporating setting up the 
> application server to be able to accept our application code.
>
>

-- 
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/a2577cce-e697-4dff-b0b6-f0a4185006fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How do I incorporate CHEF into my build and deployment process

2015-01-27 Thread Eric Wood
Currently I am deploying application code to our target environments using the 
Build Pipeline plugin.  It is a visualization tool for managing a chain of 
upstream and downstream jenkins jobs.  We want to incorporate chef scripts into 
our deployment process for setting up the initial servers and verifying their 
configuration.  For example, we want to be able to install tomcat, java and 
other packages in a consistent programmatic way.
Does it make sense to incorporate this pieces into my build pipeline along with 
the build steps for deploying the application code & liquibase DB changes. What 
is the preferred method for incorporating setting up the application server to 
be able to accept our application code.

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


Re: Configuring Jenkins for production deployment

2014-09-29 Thread mr
It depends on how do you want deploy.
For example, if you deploy by means of ssh 
( https://wiki.jenkins-ci.org/display/JENKINS/Publish+Over+SSH+Plugin ) 
then you can choose the server to which you want to deploy.


Am Freitag, 26. September 2014 12:46:24 UTC+2 schrieb Harsh Saxena:
>
> Where do we configure the production servers while configuring a new job 
> in Jenkins.   In short how does Jenkins identify where to deploy the code ? 
> where do we configure the production/Destination servers where the code has 
> to be eventually deployed.
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Continuous Deployment

2014-09-28 Thread Colin Kincaid Williams
Hi,

I'm interested on how to use Jenkins for Continuous Deployment. I notice 
there are some non-free tools like Bamboo, which can integrate with Jenkins 
to deploy the builds after they have completed. I am wondering what kind of 
open source alternatives are available. I did see a tomcat plugin. What 
about non-tomcat deployments ? Right now I'm considering using shell 
scripts and ssh-keys, but I'm wondering if I'm rebuilding the wheel.


Best,

Colin Williams

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Configuring Jenkins for production deployment

2014-09-26 Thread Harsh Saxena
Where do we configure the production servers while configuring a new job in 
Jenkins.   In short how does Jenkins identify where to deploy the code ? 
where do we configure the production/Destination servers where the code has 
to be eventually deployed.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Hi Reg j boss server deployment

2014-09-23 Thread bandi pavankumar reddy
Hi friend's how to enable the auto deployment option in jboss
application server and how to deploy the war ear files in jboss application
server using ant scripts how to deploy the files in jboss using jenkins
give to me any suggestions

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Error deploying war using AWS elasticbeastalk deployment plugin

2014-07-11 Thread Jagmeet Singh
I am trying to deploy the newly build artifact to AWS Elastic beanstalk 
using the AWS ElasticBeanstalk Deployment Plugin in the Post Build Step.
But the build is getting failed with the following exception:

java.lang.RuntimeException 
<http://stacktrace.jenkins-ci.org/search?query=java.lang.RuntimeException>: 
com.amazonaws.AmazonClientException: Unable to execute HTTP request: 
elasticbeanstalk.us-east-1.amazonaws.com
at 
br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder.perform(AWSEBDeploymentBuilder.java:211)
 
<http://stacktrace.jenkins-ci.org/search/?query=br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder.perform&entity=method>
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.BuildStepMonitor$1.perform&entity=method>
at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.perform&entity=method>
at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.build(MavenModuleSetBuild.java:899)
 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.build&entity=method>
at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:850)
 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun&entity=method>
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:585) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method>
at hudson.model.Run.execute(Run.java:1676) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method>
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:519) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild.run&entity=method>
at hudson.model.ResourceController.execute(ResourceController.java:88) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method>
at hudson.model.Executor.run(Executor.java:231) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method>
Caused by: com.amazonaws.AmazonClientException 
<http://stacktrace.jenkins-ci.org/search?query=com.amazonaws.AmazonClientException>:
 Unable to execute HTTP request: elasticbeanstalk.us-east-1.amazonaws.com
at 
com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:413) 
<http://stacktrace.jenkins-ci.org/search/?query=com.amazonaws.http.AmazonHttpClient.executeHelper&entity=method>
at 
com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:249) 
<http://stacktrace.jenkins-ci.org/search/?query=com.amazonaws.http.AmazonHttpClient.execute&entity=method>
at 
com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient.invoke(AWSElasticBeanstalkClient.java:1383)
 
<http://stacktrace.jenkins-ci.org/search/?query=com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient.invoke&entity=method>
at 
com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient.createApplicationVersion(AWSElasticBeanstalkClient.java:446)
 
<http://stacktrace.jenkins-ci.org/search/?query=com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient.createApplicationVersion&entity=method>
at 
br.com.ingenieux.jenkins.plugins.awsebdeployment.Deployer.createApplicationVersion(Deployer.java:177)
 
<http://stacktrace.jenkins-ci.org/search/?query=br.com.ingenieux.jenkins.plugins.awsebdeployment.Deployer.createApplicationVersion&entity=method>
at 
br.com.ingenieux.jenkins.plugins.awsebdeployment.Deployer.perform(Deployer.java:112)
 
<http://stacktrace.jenkins-ci.org/search/?query=br.com.ingenieux.jenkins.plugins.awsebdeployment.Deployer.perform&entity=method>
at 
br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder.perform(AWSEBDeploymentBuilder.java:207)
 
<http://stacktrace.jenkins-ci.org/search/?query=br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder.perform&entity=method>
... 9 more
Caused by: java.net.UnknownHostException 
<http://stacktrace.jenkins-ci.org/search?query=java.net.UnknownHostException>: 
elasticbeanstalk.us-east-1.amazonaws.com
at java.net.InetAddress.getAllByName0(InetAddress.java:1250) 
<http://stacktrace.jenkins-ci.org/search/?query=java.net.InetAddress.getAllByName0&entity=method>
at java.net.InetAddress.getAllByName(InetAddress.java:1162) 
<http://stac

How to test connection string as part of the deployment in Jenkins

2014-06-20 Thread Eric Wood
We have had several deployments to our Enterprise Service Bus where the 
applications did not have proper connection strings for the environment.  I'd 
like to put a step into my deployment job where I can test the connection 
string information (which has values keep in an external property file) as part 
of the process and have the build fail if the values are not correct.  I have 
done a quick google search on the topic but did not get any good hits.

Can somebody suggest a method for performing this verification step?

Thanks, Eric

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: Suggestions for using Jenkins for environment deployment?

2014-06-03 Thread Eric Wood
Chandra:

The CI job is a maven job that pulls the code from the SCM (using the TFS 
plugin) and it builds the java asset using maven.  This job then uses the 
post-build Actions step called "Archive for Clone Workspace SCM) to archive its 
workspces for consumption by a downstream job. Also, this job specifies the 
additional post-build Actions step "Build other projetcs (manual step)" to 
specify the downstrean job.

The downstream job uses the "Clone Workspace" for the Source Code Management 
sections.  My deploy takes place using some ANT code calling a REST API for 
Mule as we are deploying a Mule asset to an in-house enterprise service bus.  
All deployment jobs (DEV->TEST->UAT->PROD) in turn use the same "clone archive" 
and "Build other projects (manual step)" to pass the workspace down the 
pipeline. Of course prod does not as it end the pipeline.

The Build pipeline plugin is a visualization tool where you indicate the 
starting job and it visualizes the job relationsheip of upstream/downstream 
jobs.  It allows you to manually trigger downstream jobs based upon the sucess 
of the upstream job.


On Monday, June 2, 2014 6:01 PM, Chanda Norton  wrote:
 


how is this configured?  

On Tuesday, March 4, 2014 7:57:29 AM UTC-5, eric...@rocketmail.com wrote:
I use the build pipeline plugin for this purpose.  The first "link" in the 
chain is a CI build that polls the SCM repo and then subsequent downstream jobs 
are used to promote the build DEV-.>TEST->UAT->PROD
>
>
>
>On Monday, March 3, 2014 2:53 PM, Stephen Connolly  
>wrote:
> 
>The promoted builds plugin is a good starting point.
>
>
>After that it depends where you are deploying your app to.
>
>
>In general, you set up your build to archive the artifacts... Then you set up 
>promotions to move the archived artifacts to their target servers... 
>Parameterized promotions can help if you have to change the target from 
>deployment to deployment.
>
>
>For larger deployments, you are deploying to a file share from which 
>chef/puppet does the actual deployment... But for small deployments you just 
>push direct to the server eg by the ssh/sftp publisher or by a container 
>specific plugin (eg tomcat) or by a PaaS specific deployer plugin (eg 
>cloudbees-deployer-plugin for deployment to cloudbees/cloudfoundry/AWS elastic 
>beanstalk/google app engine)
>
>On Monday, 3 March 2014, Caleb Tote  wrote:
>
>We've been using Jenkins for a year or so as our CI tool, but would like to 
>set it up somehow to also do our environment deployments. I've been testing 
>around with Atlassian Bamboo, which nicely integrates both CI and Deployments; 
>however, we'd like to stay with Jenkins since it's free.
>>
>>
>>Is there a plugin for this type of thing? Any suggestions on how to manage 
>>deployments? Should we just switch to Bamboo?
-- 
>>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+unsubscribe@ googlegroups.com.
>>For more options, visit https://groups.google.com/ groups/opt_out.
>>
>
>-- 
>Sent from my phone
>-- 
>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-use...@ googlegroups.com.
>
>For more options, visit https://groups.google.com/ groups/opt_out.
>
>
>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: Suggestions for using Jenkins for environment deployment?

2014-06-02 Thread Chanda Norton
how is this configured?  

On Tuesday, March 4, 2014 7:57:29 AM UTC-5, eric...@rocketmail.com wrote:
>
> I use the build pipeline plugin for this purpose.  The first "link" in the 
> chain is a CI build that polls the SCM repo and then subsequent downstream 
> jobs are used to promote the build DEV-.>TEST->UAT->PROD
>
>
>   On Monday, March 3, 2014 2:53 PM, Stephen Connolly <
> stephen.al...@gmail.com > wrote:
>  The promoted builds plugin is a good starting point.
>
> After that it depends where you are deploying your app to.
>
> In general, you set up your build to archive the artifacts... Then you set 
> up promotions to move the archived artifacts to their target servers... 
> Parameterized promotions can help if you have to change the target from 
> deployment to deployment.
>
> For larger deployments, you are deploying to a file share from which 
> chef/puppet does the actual deployment... But for small deployments you 
> just push direct to the server eg by the ssh/sftp publisher or by a 
> container specific plugin (eg tomcat) or by a PaaS specific deployer plugin 
> (eg cloudbees-deployer-plugin for deployment to cloudbees/cloudfoundry/AWS 
> elastic beanstalk/google app engine)
>
> On Monday, 3 March 2014, Caleb Tote > 
> wrote:
>
> We've been using Jenkins for a year or so as our CI tool, but would like 
> to set it up somehow to also do our environment deployments. I've been 
> testing around with Atlassian Bamboo, which nicely integrates both CI and 
> Deployments; however, we'd like to stay with Jenkins since it's free.
>
> Is there a plugin for this type of thing? Any suggestions on how to manage 
> deployments? Should we just switch to Bamboo?
> -- 
> 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.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
> -- 
> Sent from my phone
> -- 
> 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-use...@googlegroups.com .
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>   

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: deployment tools..

2014-04-26 Thread Chanda Norton
Because I can laugh at my self..that was a good one.. thanks..


On Fri, Apr 25, 2014 at 7:01 PM, Les Mikesell  wrote:

> On Fri, Apr 25, 2014 at 4:20 PM, Chanda Norton 
> wrote:
> > wow..awesome topics to think about.  Ultimately, I would want to deploy
> > every successful build, because we would only trigger deployment builds.
>  I
> > haven't found an FTP plugin as of yet?
>
>
> https://wiki.jenkins-ci.org/display/JENKINS/FTP-Publisher+Plugin
> would seem like an obvious choice.  And hard to miss if you are
> looking for ftp plugins.
>
> > I would also entertain a central
> > place to archive builds, although, i'm not familiar with how Jenkins does
> > that?
>
> If you use the archive artifacts option it will keep however many
> build versions you want on the server itself.  Or you can commit to a
> version control system, etc.
>
> --
>   Les Mikesell
> lesmikes...@gmail.com
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/hGyW3ypTK9A/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jenkinsci-users+unsubscr...@googlegroups.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.
For more options, visit https://groups.google.com/d/optout.


Re: deployment tools..

2014-04-25 Thread Les Mikesell
On Fri, Apr 25, 2014 at 4:20 PM, Chanda Norton  wrote:
> wow..awesome topics to think about.  Ultimately, I would want to deploy
> every successful build, because we would only trigger deployment builds.  I
> haven't found an FTP plugin as of yet?


https://wiki.jenkins-ci.org/display/JENKINS/FTP-Publisher+Plugin
would seem like an obvious choice.  And hard to miss if you are
looking for ftp plugins.

> I would also entertain a central
> place to archive builds, although, i'm not familiar with how Jenkins does
> that?

If you use the archive artifacts option it will keep however many
build versions you want on the server itself.  Or you can commit to a
version control system, etc.

-- 
  Les Mikesell
lesmikes...@gmail.com

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: deployment tools..

2014-04-25 Thread Chanda Norton
wow..awesome topics to think about.  Ultimately, I would want to deploy
every successful build, because we would only trigger deployment builds.  I
haven't found an FTP plugin as of yet? I would also entertain a central
place to archive builds, although, i'm not familiar with how Jenkins does
that?


On Fri, Apr 25, 2014 at 12:49 PM, Les Mikesell wrote:

> On Fri, Apr 25, 2014 at 11:25 AM, Chanda Norton 
> wrote:
> > I finally made successfull builds with Jenkins and Clear Case...now I
> need
> > to figure out automated deployments of this build.  Was looking in a
> simple
> > FTP task, so an awaiting desktop or server, but not quite sure. Also, if
> > there are some plugins and tools I could use, it would be awesome if you
> > could pass along the info..
>
> Have you already gone to 'manage jenkins/manage plugins' and searched
> the 'available' section for ftp or deploy?   Conceptually, though, you
> need to decide if you want to push every successful build, or just
> stage them somewhere for some other action to control releases.  If
> you just want a central place to collect the build results you can let
> jenkins archive them and then you can download from the job page via
> http later.
>
> --
>Les Mikesell
>  lesmikes...@gmail.com
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/hGyW3ypTK9A/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jenkinsci-users+unsubscr...@googlegroups.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.
For more options, visit https://groups.google.com/d/optout.


Re: deployment tools..

2014-04-25 Thread Les Mikesell
On Fri, Apr 25, 2014 at 11:25 AM, Chanda Norton  wrote:
> I finally made successfull builds with Jenkins and Clear Case...now I need
> to figure out automated deployments of this build.  Was looking in a simple
> FTP task, so an awaiting desktop or server, but not quite sure. Also, if
> there are some plugins and tools I could use, it would be awesome if you
> could pass along the info..

Have you already gone to 'manage jenkins/manage plugins' and searched
the 'available' section for ftp or deploy?   Conceptually, though, you
need to decide if you want to push every successful build, or just
stage them somewhere for some other action to control releases.  If
you just want a central place to collect the build results you can let
jenkins archive them and then you can download from the job page via
http later.

-- 
   Les Mikesell
 lesmikes...@gmail.com

-- 
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.
For more options, visit https://groups.google.com/d/optout.


deployment tools..

2014-04-25 Thread Chanda Norton
I finally made successfull builds with Jenkins and Clear Case...now I need 
to figure out automated deployments of this build.  Was looking in a simple 
FTP task, so an awaiting desktop or server, but not quite sure. Also, if 
there are some plugins and tools I could use, it would be awesome if you 
could pass along the info..

thanks.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: Suggestions for using Jenkins for environment deployment?

2014-03-04 Thread Eric Wood
I use the build pipeline plugin for this purpose.  The first "link" in the 
chain is a CI build that polls the SCM repo and then subsequent downstream jobs 
are used to promote the build DEV-.>TEST->UAT->PROD



On Monday, March 3, 2014 2:53 PM, Stephen Connolly 
 wrote:
 
The promoted builds plugin is a good starting point.

After that it depends where you are deploying your app to.

In general, you set up your build to archive the artifacts... Then you set up 
promotions to move the archived artifacts to their target servers... 
Parameterized promotions can help if you have to change the target from 
deployment to deployment.

For larger deployments, you are deploying to a file share from which 
chef/puppet does the actual deployment... But for small deployments you just 
push direct to the server eg by the ssh/sftp publisher or by a container 
specific plugin (eg tomcat) or by a PaaS specific deployer plugin (eg 
cloudbees-deployer-plugin for deployment to cloudbees/cloudfoundry/AWS elastic 
beanstalk/google app engine)

On Monday, 3 March 2014, Caleb Tote  wrote:

We've been using Jenkins for a year or so as our CI tool, but would like to set 
it up somehow to also do our environment deployments. I've been testing around 
with Atlassian Bamboo, which nicely integrates both CI and Deployments; 
however, we'd like to stay with Jenkins since it's free.
>
>
>Is there a plugin for this type of thing? Any suggestions on how to manage 
>deployments? Should we just switch to Bamboo?
-- 
>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.
>For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
Sent from my phone
-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Suggestions for using Jenkins for environment deployment?

2014-03-03 Thread Stephen Connolly
The promoted builds plugin is a good starting point.

After that it depends where you are deploying your app to.

In general, you set up your build to archive the artifacts... Then you set
up promotions to move the archived artifacts to their target servers...
Parameterized promotions can help if you have to change the target from
deployment to deployment.

For larger deployments, you are deploying to a file share from which
chef/puppet does the actual deployment... But for small deployments you
just push direct to the server eg by the ssh/sftp publisher or by a
container specific plugin (eg tomcat) or by a PaaS specific deployer plugin
(eg cloudbees-deployer-plugin for deployment to cloudbees/cloudfoundry/AWS
elastic beanstalk/google app engine)

On Monday, 3 March 2014, Caleb Tote  wrote:

> We've been using Jenkins for a year or so as our CI tool, but would like
> to set it up somehow to also do our environment deployments. I've been
> testing around with Atlassian Bamboo, which nicely integrates both CI and
> Deployments; however, we'd like to stay with Jenkins since it's free.
>
> Is there a plugin for this type of thing? Any suggestions on how to manage
> deployments? Should we just switch to Bamboo?
>
> --
> 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
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>


-- 
Sent from my phone

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Suggestions for using Jenkins for environment deployment?

2014-03-03 Thread Caleb Tote
We've been using Jenkins for a year or so as our CI tool, but would like to 
set it up somehow to also do our environment deployments. I've been testing 
around with Atlassian Bamboo, which nicely integrates both CI and 
Deployments; however, we'd like to stay with Jenkins since it's free.

Is there a plugin for this type of thing? Any suggestions on how to manage 
deployments? Should we just switch to Bamboo?

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


  1   2   >