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

create .msi package using pipeline from .net application code

    • Icon: Story Story
    • Resolution: Not A Defect
    • Icon: Blocker Blocker
    • msbuild-plugin
    • None

      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}"}}

      {{ }}}

          [JENKINS-63657] create .msi package using pipeline from .net application code

          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.

          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.

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

              Created:
              Updated:
              Resolved: