0
votes

Please guide me to setup the procedure how to deploy the azure web jobs from Jenkins Pipeline. I have gone through the google of searching the documentation but couldn't able to make it.

1
This articles explains about the Deployment of web application from the Jenkins. My use case is about deploying the azure web jobs from Jenkins Pipeline.Dileep Prithvi

1 Answers

0
votes

After many tests I did it by adding the OutputPath parameter in the deploy script and deleting the folder before. The script looks like this:

dir('Publish'){
    deleteDir() 
}
bat "\"${tool 'Your MS Build'}\" Path_To_Project.csproj /p:Configuration=Release /p:DeployOnBuild=true /p:AllowUntrustedCertificate=true /p:OutputPath=Publish\\ /p:PublishProfile=path_to_web_job_publish_settings.pubxml /p:Password=your_password"