devenv.exe execute through jenkin's job doesn't work -


i trying execute devenv.exe through windows batch command plugin in jenkins keeps on executing , fails launch application.

console output :

**in progressconsole output started user anonymous building on master in workspace c:\program files (x86)\jenkins\jobs\temp\workspace [workspace] $ cmd /c call c:\windows\temp\hudson3900292017086958332.bat c:\program files (x86)\jenkins\jobs\temp\workspace>set devpath=c:\program files (x86)\microsoft visual studio 10.0\common7\ide  c:\program files (x86)\jenkins\jobs\temp\workspace>set path=d:\app\nazopay\product\11.2.0\dbhome_1\bin;d:\app\nazopay\product\11.2.0\client_1;c:\program files (x86)\integrity\integrityclient10\bin;c:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\windows\system32\windowspowershell\v1.0\;c:\windows\cde\tools;c:\program files\tortoisesvn\bin;c:\program files\java\jdk1.6.0_23\bin\;c:\program files (x86)\google\chrome\application;c:\mingw;c:\progra~2\integr~1\toolkit\mksnt;%java_home%;,;c:\program files\java\jdk1.6.0_23;,;c:\program files\java\jdk1.6.0_23\bin;%class_path%;,;c:\program files\java\jdk1.6.0_23\lib;,;c:\program files\java\jdk1.6.0_23\lib;;c:\program files (x86)\m**icrosoft visual studio 10.0\common7\ide   c:\program files (x86)\jenkins\jobs\temp\workspace>devenv.exe 

you must execute devenv.com.

the devenv.exe attempts open gui, when commands given, , can't. devenv.com has output directed standard output , works fine jenkins.

you must pass arguments.

without arguments both devenv.com , devenv.exe start ide gui, not want. correct command-line is

devenv.com projectname.sln /build release /project projectname 

first path solution want build. /build flag followed configuration. if have multiple platforms, have pass configuration , platform combination, e.g. release|win32. /project flag names project build (including dependencies). if omitted, builds projects selected build in given configuration.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -