Here’s a better view of my script:
pipeline {
agent none
options { buildDiscarder(logRotator(numToKeepStr: '20')) }
triggers {
pollSCM('H/5 * * * *')
}
stages {
stage('build_gcc') {
<snip - this stage runs on a Linux node>
}
stage('build_VisualStudio') {
agent { label "jenkinswin10" }
environment {
VSMSBUILDCMD = 'C:\\Program Files (x86)\\Microsoft Visual
Studio 14.0\\Common7\\Tools\\VsMSBuildCmd.bat'
}
steps {
bat '''
call "%VSMSBUILDCMD%"
msbuild %WORKSPACE%\\MSVC\\myproj.sln
/p:Configuration=Release /p:Platform="Win32" /flp:logfile=ZodiacOutput.log
/verbosity:normal
'''
}
post {
<snip>
}
}
}
}
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/9ba563a7d91948fbbd59f4b9915c7174%40EUX13SRV1.EU.NEC.COM.
For more options, visit https://groups.google.com/d/optout.