Hey,
I would like to push my .war File after a successful build to my remote Wildfly server, which is accessible via SSH.
How can I do this? Is this even possible?
BR
Pascal
How to Deploy .war file via SSH on windows remote Wildfly Server
Linux console to windows .Please help.
is there any plugins available in bamboo like tomcat for wildfly server.please help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi friends,
you can use those scripts.
Script Task:
rsync -avh -e "ssh -i $HOME/.ssh/id_rsa" ${bamboo.agentWorkingDirectory}/${bamboo.planKey}-JOB1/target/${bamboo.shortPlanName}-1.0-SNAPSHOT.war bamboo@10.1.2.2:${bamboo.app1_deployments}/${bamboo.shortPlanName}/${bamboo.buildNumber}/
SSH Task:
your deploy and deployment cli codes in here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Who will help us? I have that problem. I got error in SCP task for deployment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Build Deployment of 'release-6' on 'Production' started building on agent Default Agent | |
24-Oct-2017 14:50:13 | |
24-Oct-2017 14:50:13 | Build working directory is /opt/atlassian/bamboo/xml-data/build-dir/196609/1179649-1245185 |
24-Oct-2017 14:50:13 | Executing build Deployment of 'release-6' on 'Production' |
24-Oct-2017 14:50:13 | Starting task 'Download release contents' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask' |
24-Oct-2017 14:50:13 | Finished task 'Download release contents' with result: Success |
24-Oct-2017 14:50:13 | Starting task 'SCP Task' of type 'com.atlassian.bamboo.plugins.bamboo-scp-plugin:scptask' |
24-Oct-2017 14:50:13 | Error occurred while running Task '(3)' of type com.atlassian.bamboo.plugins.bamboo-scp-plugin:scptask. |
24-Oct-2017 14:50:13 | java.lang.NullPointerException |
24-Oct-2017 14:50:13 | at java.io.File.<init>(File.java:360) |
24-Oct-2017 14:50:13 | at com.atlassian.bamboo.plugins.scp.ScpTask.artifactToScpFromTransferTask(ScpTask.java:205) |
24-Oct-2017 14:50:13 | at com.atlassian.bamboo.plugins.scp.ScpTask.getPathSpecToCopy(ScpTask.java:144) |
24-Oct-2017 14:50:13 | at com.atlassian.bamboo.plugins.scp.ScpTask.run(ScpTask.java:119) |
24-Oct-2017 14:50:13 | at com.atlassian.bamboo.plugins.scp.ScpTask.execute(ScpTask.java:113) |
24-Oct-2017 14:50:13 | at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$1(TaskExecutorImpl.java:280) |
24-Oct-2017 14:50:13 | at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:223) |
24-Oct-2017 14:50:13 | at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:280) |
24-Oct-2017 14:50:13 | at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:111) |
24-Oct-2017 14:50:13 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:71) |
24-Oct-2017 14:50:13 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:185) |
24-Oct-2017 14:50:13 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:120) |
24-Oct-2017 14:50:13 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:113) |
24-Oct-2017 14:50:13 | at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:185) |
24-Oct-2017 14:50:13 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:113) |
24-Oct-2017 14:50:13 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:126) |
24-Oct-2017 14:50:13 | at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:47) |
24-Oct-2017 14:50:13 | at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26) |
24-Oct-2017 14:50:13 | at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17) |
24-Oct-2017 14:50:13 | at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41) |
24-Oct-2017 14:50:13 | at java.lang.Thread.run(Thread.java:748) |
24-Oct-2017 14:50:13 | Finalising the build... |
24-Oct-2017 14:50:13 | Stopping timer. |
24-Oct-2017 14:50:13 | Build 1179649-1245185-1376281 completed. |
24-Oct-2017 14:50:13 | Finished processing deployment result Deployment of 'release-6' on 'Production' |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.