KalyanasundaramElangovan-2344 avatar image
0 Votes"
KalyanasundaramElangovan-2344 asked KalyanasundaramElangovan-2344 commented

Free style Jenkins build with msBuild command

We are using freestyle Jenkins build and msBuild execute command for the net core application.

/target restore and target build together using in single command. Its executing restore only build not happening. We need restore and build execution in single command because we need to execute the below command together in the build command
Because we have mentioned in the command
/p :Deployonbuild
/p: generatesamplescript
/p: deploytype

The above will work while build the solution only not working on restore the solution

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MsBuild. exe /target:"restore " /target:"buid" %workspace%\doc\doc.sln /p:OutDir= %workspace%\doc\webdeploy\Release /P:skipInvaildconfiguration=true /p:Deploynbuild=true /p:deploytype=package /P:Generatesampledeployscript=true /P:DeployIISpath= doc

I have tried the above command it's not working

0 Votes 0 ·


Please somebody check and help me.

0 Votes 0 ·

Anyone could please check on this and help

0 Votes 0 ·

0 Answers