Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63657

create .msi package using pipeline from .net application code

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I'm new to DevOps and not aware of .net application build process. I'm trying to create a scripted pipeline using jenkins for .net application for instance I'm taking the code from https://github.com/executeautomation/SeleniumNUnitParam and trying to create .msi package. I'm just able to checkout the code but later the build steps are failing stating the file ,directory or volume label syntax is incorrect. I have Installed msbuild,git and nuget plugin. Below is my code

       

      {{}}

      {{node('new'){
      stage('Checkout SCM'){}} 

      {{bat 'git config --global http.sslverify false --Replace-all'
      checkout scm
      echo 'COMPLETE: Checkout SCM'}}}

      stage('Restore Nuget'){

      {{ bat 'C:/tool:/nuget.exe restore SeleniumNUnitParam/SeleniumNUnitParam.csproj'
      } }}

      stage('Build'){

      {{ bat "\" ${tool 'MSBUILD'}\" SeleniumNUnitParam/SeleniumNUnitParam.csproj
      /p:configuration=Release /p:Platform="Any CPU" /p:ProductVersion=1.0.0.${env.BUILD_NUMBER}"}}

      {{ }}}

        Attachments

          Activity

          Hide
          markewaite Mark Waite added a comment -

          The Jenkins issue tracker is used for issues and enhancement requests. It is not used to ask questions or seek assistance.

          Please use the Jenkins chat channels and the Jenkins mailing list for questions and answers. Many more people are available there and are willing to assist.

          Show
          markewaite Mark Waite added a comment - The Jenkins issue tracker is used for issues and enhancement requests. It is not used to ask questions or seek assistance. Please use the Jenkins chat channels and the Jenkins mailing list for questions and answers. Many more people are available there and are willing to assist.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            vodevops Vinay devops
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: