Sei sulla pagina 1di 3

20/6/2017 WebLogicDeployerPluginJenkinsJenkinsWiki

Pginas / Home / Plugins

WebLogicDeployerPlugin
CreadoporRaphaelCHAUMIER,modificadoporltimavezenago03,2012

Estaviendounaversinantigua(v./display/JENKINS/WebLogic+Deployer+Plugin)deestapgina.

verdiferencias verelhistorialdelapgina

Verlaversinprevia Estaviendolaversinactualdeestapgina.(v.21) verlasiguienteversin

PluginInformation

PluginID weblogicdeployerplugin Changes InLatestRelease


SinceLatestRelease

LatestRelease 3.6(archives) SourceCode GitHub


LatestReleaseDate Oct25,2016 IssueTracking OpenIssues
RequiredCore 1.520 PullRequests PullRequests
Dependencies mavenplugin(version:1.520) Maintainer(s) RaphaelCHAUMIER(id:RaphC)

Usage Installations 2016Jun893


2016Jul870
2016Aug917
2016Sep962
2016Oct926
2016Nov945
2016Dec952
2017Jan1023
2017Feb1027
2017Mar1088
2017Apr1023
2017May1088

ThisplugindeployartifactsbuiltonJenkinstoaweblogictarget(managedserver,cluster...)asanapplicationoralibrarycomponent.

Prerequisites
Thispluginisonlyapplicableformaven2/3Job.
Thispluginonlydeployear,war,jarartifacts.

GettingStarted
Beforeuseit,Thepluginhastobeconfigured.Itconsistsofloadingtheweblogictargetconfiguration,chosingtheJDKversiontoexecuteadeploymenttaskandaddingthe
weblogiclibrarypath(i.e/pathtojar/weblogic.jaror/pathtojar/wlfullclient.jarforWL10.3).

Configuration

SystemConfiguration

Jdk:thejdkusedtorundeploymenttask.
Classpath:weblogic.jarfilepathloadedfordeployment.IfnovalueissetbuttheWL_HOMEenvironmentvariableisfound,thepluginwilltrytoload
%WL_HOME%/server/lib/weblogic.jar.
JavaOptions:thejavaoptionsusedbythejavaprocesswheninvokingtheweblogiclibrary.BydefaultitwillbeXms256MXmx256M.
Listedexclusion:thebuiltartifactsnamepatternexcludedfrompostbuilddeploymentaction.
Desactiver:Ifchecked,thepluginexecutionisdisabled.
Fichierdeconfiguration:xmlfilepathcontainingdeploymentstargets.Ithastobe[http://host:port/plugin/weblogicdeployerplugin/defaultConfig/plugin
configuration.xsd]schemacompliant.Novalidationcurrentlyperformed.Thefilecanbeaddedthroughalocalpath(/usr/users/.../pluginconfiguration.xml)oraremote

https://wiki.jenkinsci.org/pages/viewpage.action?pageId=63144531 1/3
20/6/2017 WebLogicDeployerPluginJenkinsJenkinsWiki
URL(http://xxxxxxxxx/pluginconfiguration.xml)&nbsp

configuration.xml

<?xmlversion="1.0"encoding="UTF8"?>
<configxmlns="http://org.jenkinsci.plugins/WeblogicDeploymentPlugin"
xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"
xsi:schemaLocation="http://org.jenkinsci.plugins/WeblogicDeploymentPluginpluginconfiguration.xsd">
<weblogictargets>
<weblogictarget>
<name>_name_</name>
<host>_weblogic.admin.server.host_</host>
<port>_weblogic.admin.server.port_</port>
<login>_weblogic.admin.server.login_</login>
<password>_weblogic.admin.server.password_</password>
<!optionnal>
<ftpHost>_weblogic.remote.host_</ftpHost>
<ftpUser>_weblogic.remote.user_</ftpUser>
<ftpPassowrd>_weblogic.remote.password_</ftpPassowrd>
<remoteDir>/remote/file/to/path/used/to/deploy/libraries</remoteDir>
<!>
</weblogictarget>
</weblogictargets>
</config>

NB:theftpHost/ftpUser/ftpPassowrd/remoteDirareusedtodeploylibraries.Basically,\_weblogic.remote.host\_shouldbethesameas

JobConfiguration

Ifthepluginisnotconfigured

Ifnoconfigurationhasbeenset,thepluginwilldisplayanerrormessage

Ifthepluginisalreadyconfigured

Ifthepluginisalreadyconfigured,thejobpluginconfigurationformwillbedisplayedonthejobconfigurationpageconfiguration

https://wiki.jenkinsci.org/pages/viewpage.action?pageId=63144531 2/3
20/6/2017 WebLogicDeployerPluginJenkinsJenkinsWiki

environnement:thetargetedweblogicenvironment.
name:thenameusedbyweblogictodisplaycomponent.
targets:theweblogictarget(canbeamanagedserverinstance,aclustereithertheAdminServer).BydefaultthepluginwillusetheAdminServerasthetarget.Many
targetscanbedefinedandwillbeseparatedbyuncommasymbol(e.gAdminServer,ManagedServer1,Cluster2).
weblogiclibraries:Ifchecked,thegeneratedartifactwillbedeployedasalibrarycomponent.
'Buildfailedwhendeploymentfailed':Ifchecked,Thecurrentbuildwillbeflaggedasafailedoneifthedeploymenttaskfailed.
'Deploymentstrategy':Configurewhichcause(s)willtriggerthedeploymentaction.If'Nonspecifie'isselected,thedeploymentoccurseachtimethejobbuilds.If
anotheronesareselected,thedeployementactiononlyoccurswhenthebuildwastriggeredbyachosencause.
'Deployingonlywhensourceschanges':Ifchecked,thedeploymentactiononlyoccurswhenthebuildtriggerbyaparametrizedcauseANDtheSCMstepdetects
anychanges.
'ProjectsdeploymentDependencies':(experimental)specifiesadependencywithothersjobdeployingsomeartifacts.

UserGuide

ViewdeploymentLogs

TODO

ReleaseNotes

Version1.2(Aug2,2012)

JENKINS14646ReplaceoldnameHudsonXXXXbyXXXX
JENKINS14626Specifyfilenamegeneratedtodeploy

Version1.1(May5,2012)

ForkedfromHudsonversion.
AddedJDKselectiononglobalconfiguration.
RemovedtaskabortionifnocompatibilitydetectedbetweentheJDKandtheweblogic.DeployerAPI(Asofnow,Itdisplaysawarning).
Fixedtranslationandspellingerrors.
AddedWebLogicServer10.3support.

Sinetiquetas

SitiocorriendosobreunaLicenciagratuitadeProyectoOpenSourceparaAtlassianConfluenceconcedidaaJenkins.Evale
Confluencehoy.

https://wiki.jenkinsci.org/pages/viewpage.action?pageId=63144531 3/3

Potrebbero piacerti anche