我正在尝试使用jenkins将mvc.net网站部署到我的本地IIS服务器,因为我已经编写了Windows execute bath命令(同样,我也在尝试以命令模式创建Web部署程序包zip文件):>
inline int __attribute__((always_inline)) is_zero(int64_t checkMe)
{ /* ensure that compiler will do some optimization */
return checkMe == 0;
}
inline int64_t __attribute__((always_inline)) is_zero1(int64_t checkMe)
{ /* ensure that compiler will do some optimization */
return checkMe == 0;
}
/* or even better */
inline uint8_t __attribute__((always_inline)) is_zero2(int64_t checkMe)
{ /* ensure that compiler will do some optimization */
return checkMe == 0;
}
我使用了以下命令进行部署:
is_zero:
ldi r30,lo8(1)
ldi r31,hi8(1)
or r18,r19
or r18,r20
or r18,r21
or r18,r22
or r18,r23
or r18,r24
or r18,r25
breq .L2
ldi r30,lo8(0)
ldi r31,hi8(0)
.L2:
mov r24,r30
mov r25,r31
ret
is_zero1:
ldi r30,lo8(1)
or r18,r19
or r18,r20
or r18,r21
or r18,r22
or r18,r23
or r18,r24
or r18,r25
breq .L4
ldi r30,lo8(0)
.L4:
mov r18,r30
ldi r19,lo8(0)
ldi r20,lo8(0)
ldi r21,lo8(0)
ldi r22,lo8(0)
ldi r23,lo8(0)
ldi r24,lo8(0)
ldi r25,lo8(0)
ret
is_zero2:
ldi r30,lo8(1)
or r18,r19
or r18,r20
or r18,r21
or r18,r22
or r18,r23
or r18,r24
or r18,r25
breq .L6
ldi r30,lo8(0)
.L6:
mov r24,r30
ret
我遇到了这个错误:
"C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe" "TestJenkins\TestJenkins.csproj" /T:Build;Package /p:Configuration=Release /p:OutputPath="obj\RELEASE" /p:DeployIisAppPath="http://my local address" /p:VisualStudioVersion=14.0 /p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:PackageLocation="obj/Release/Package/TestJenkins.zip"
任何帮助将不胜感激。
答案 0 :(得分:0)
我相信您需要将DeployIisAppPath
参数设置为IIS中您网站的名称,而不是url
两种情况:
对于IIS中的单独网站,DeployIisAppPath
将是IIS网站的名称。 TestJenkinsWeb
用于作为网站下的应用程序进行部署,例如Default website
,然后将其DeployIisAppPath
设置为Website name/Application name
,例如Default Web Site/TestJenkinsApp