- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有一个静态网站,存储在带有 Web 容器的 azure 存储 blob 上。我还创建了两个管道,一个用于构建,一个用于发布,并且任何 git 推送都会触发。
但是,即使管道不返回任何错误,我的静态网站中的文件也不会更新。
使用 azure 静态网络应用程序,该网站运行良好。
构建管道是:
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
steps:
- script: echo Hello, world!
displayName: 'Run a one-line script'
- script: |
echo Add other tasks to build, test, and deploy your project.
echo See https://aka.ms/yaml
displayName: 'Run a multi-line script'
发布管道是:
发布管道日志是:
2020-09-04T10:20:02.6569221Z ##[section]Starting: Initialize job
2020-09-04T10:20:02.6571745Z Agent name: 'Hosted Agent'
2020-09-04T10:20:02.6572142Z Agent machine name: 'WIN-O9T7OURK3J6'
2020-09-04T10:20:02.6572400Z Current agent version: '2.174.1'
2020-09-04T10:20:02.6596779Z Current image version: '20200827.1'
2020-09-04T10:20:02.6604603Z Agent running as: 'VssAdministrator'
2020-09-04T10:20:02.6614963Z Prepare release directory.
2020-09-04T10:20:02.6623759Z ReleaseId=4, TeamProjectId=8a218a65-218f-4a0b-a776-ac7b99e00a44, ReleaseDefinitionName=New release pipeline
2020-09-04T10:20:02.6749896Z Release folder: D:\a\r1\a
2020-09-04T10:20:02.6899665Z Environment variables available are below. Note that these environment variables can be referred to in the task (in the ReleaseDefinition) by replacing "_" with "." e.g. AGENT_NAME environment variable can be referenced using Agent.Name in the ReleaseDefinition:
[AGENT_DISABLELOGPLUGIN_TESTFILEPUBLISHERPLUGIN] --> [true]
[AGENT_DISABLELOGPLUGIN_TESTRESULTLOGPLUGIN] --> [true]
[AGENT_HOMEDIRECTORY] --> [C:\agents\2.174.1]
[AGENT_ID] --> [8]
[AGENT_JOBNAME] --> [Agent job]
[AGENT_MACHINENAME] --> [WIN-O9T7OURK3J6]
[AGENT_NAME] --> [Hosted Agent]
[AGENT_OS] --> [Windows_NT]
[AGENT_OSARCHITECTURE] --> [X64]
[AGENT_RELEASEDIRECTORY] --> [D:\a\r1\a]
[AGENT_RETAINDEFAULTENCODING] --> [false]
[AGENT_ROOTDIRECTORY] --> [D:\a]
[AGENT_SERVEROMDIRECTORY] --> [C:\agents\2.174.1\externals\vstsom]
[AGENT_TEMPDIRECTORY] --> [D:\a\_temp]
[AGENT_TOOLSDIRECTORY] --> [C:/hostedtoolcache/windows]
[AGENT_VERSION] --> [2.174.1]
[AGENT_WORKFOLDER] --> [D:\a]
[AZURE_HTTP_USER_AGENT] --> [VSTS_24daeef5-3f0a-4531-b444-5497df41caae_Release__4_4_1]
[BUILD_BUILDID] --> [4]
[BUILD_BUILDNUMBER] --> [20200904.4]
[BUILD_BUILDURI] --> [vstfs:///Build/Build/4]
[BUILD_DEFINITIONID] --> [1]
[BUILD_DEFINITIONNAME] --> [aurelian84.acudoclarisa]
[BUILD_PROJECTID] --> [8a218a65-218f-4a0b-a776-ac7b99e00a44]
[BUILD_PROJECTNAME] --> [acudoclarisa]
[BUILD_REPOSITORY_ID] --> [aurelian84/acudoclarisa]
[BUILD_REPOSITORY_NAME] --> [aurelian84/acudoclarisa]
[BUILD_REPOSITORY_PROVIDER] --> [GitHub]
[BUILD_REQUESTEDFOR] --> [Microsoft.VisualStudio.Services.TFS]
[BUILD_REQUESTEDFORID] --> [00000002-0000-8888-8000-000000000000]
[BUILD_SOURCEBRANCH] --> [refs/heads/master]
[BUILD_SOURCEBRANCHNAME] --> [master]
[BUILD_SOURCEVERSION] --> [b260e54d894d9f6a1f0b709f33a8a4fef35251de]
[BUILD_TYPE] --> [Build]
[GIT_TERMINAL_PROMPT] --> [0]
[MSDEPLOY_HTTP_USER_AGENT] --> [VSTS_24daeef5-3f0a-4531-b444-5497df41caae_Release__4_4_1]
[RELEASE_ARTIFACTS_DROP_BUILDID] --> [4]
[RELEASE_ARTIFACTS_DROP_BUILDNUMBER] --> [20200904.4]
[RELEASE_ARTIFACTS_DROP_BUILDURI] --> [vstfs:///Build/Build/4]
[RELEASE_ARTIFACTS_DROP_DEFINITIONID] --> [1]
[RELEASE_ARTIFACTS_DROP_DEFINITIONNAME] --> [aurelian84.acudoclarisa]
[RELEASE_ARTIFACTS_DROP_PROJECTID] --> [8a218a65-218f-4a0b-a776-ac7b99e00a44]
[RELEASE_ARTIFACTS_DROP_PROJECTNAME] --> [acudoclarisa]
[RELEASE_ARTIFACTS_DROP_REPOSITORY_ID] --> [aurelian84/acudoclarisa]
[RELEASE_ARTIFACTS_DROP_REPOSITORY_NAME] --> [aurelian84/acudoclarisa]
[RELEASE_ARTIFACTS_DROP_REPOSITORY_PROVIDER] --> [GitHub]
[RELEASE_ARTIFACTS_DROP_REQUESTEDFOR] --> [Microsoft.VisualStudio.Services.TFS]
[RELEASE_ARTIFACTS_DROP_REQUESTEDFORID] --> [00000002-0000-8888-8000-000000000000]
[RELEASE_ARTIFACTS_DROP_SOURCEBRANCH] --> [refs/heads/master]
[RELEASE_ARTIFACTS_DROP_SOURCEBRANCHNAME] --> [master]
[RELEASE_ARTIFACTS_DROP_SOURCEVERSION] --> [b260e54d894d9f6a1f0b709f33a8a4fef35251de]
[RELEASE_ARTIFACTS_DROP_TYPE] --> [Build]
[RELEASE_ATTEMPTNUMBER] --> [1]
[RELEASE_DEFINITIONENVIRONMENTID] --> [1]
[RELEASE_DEFINITIONID] --> [1]
[RELEASE_DEFINITIONNAME] --> [New release pipeline]
[RELEASE_DEPLOYMENT_REQUESTEDFOR] --> [Microsoft.VisualStudio.Services.TFS]
[RELEASE_DEPLOYMENT_REQUESTEDFOREMAIL] --> []
[RELEASE_DEPLOYMENT_REQUESTEDFORID] --> [00000002-0000-8888-8000-000000000000]
[RELEASE_DEPLOYMENT_STARTTIME] --> [2020-09-04 10:19:40Z]
[RELEASE_DEPLOYMENTID] --> [4]
[RELEASE_DEPLOYPHASEID] --> [4]
[RELEASE_ENVIRONMENTID] --> [4]
[RELEASE_ENVIRONMENTNAME] --> [toAzure]
[RELEASE_ENVIRONMENTS_TOAZURE_STATUS] --> [InProgress]
[RELEASE_ENVIRONMENTURI] --> [vstfs:///ReleaseManagement/Environment/4]
[RELEASE_PRIMARYARTIFACTSOURCEALIAS] --> [drop]
[RELEASE_REASON] --> [ContinuousIntegration]
[RELEASE_RELEASEDESCRIPTION] --> [Triggered by aurelian84.acudoclarisa 20200904.4.]
[RELEASE_RELEASEID] --> [4]
[RELEASE_RELEASENAME] --> [Release-4]
[RELEASE_RELEASEURI] --> [vstfs:///ReleaseManagement/Release/4]
[RELEASE_RELEASEWEBURL] --> [https://dev.azure.com/aurelianrosca/8a218a65-218f-4a0b-a776-ac7b99e00a44/_release?releaseId=4&_a=release-summary]
[RELEASE_REQUESTEDFOR] --> [Microsoft.VisualStudio.Services.TFS]
[RELEASE_REQUESTEDFOREMAIL] --> []
[RELEASE_REQUESTEDFORID] --> [00000002-0000-8888-8000-000000000000]
[RELEASE_SKIPARTIFACTSDOWNLOAD] --> [False]
[RELEASE_TRIGGERINGARTIFACT_ALIAS] --> [drop]
[REQUESTEDFORID] --> [00000002-0000-8888-8000-000000000000]
[SYSTEM] --> [release]
[SYSTEM_ARTIFACTSDIRECTORY] --> [D:\a\r1\a]
[SYSTEM_COLLECTIONID] --> [24daeef5-3f0a-4531-b444-5497df41caae]
[SYSTEM_COLLECTIONURI] --> [https://vsrm.dev.azure.com/aurelianrosca/]
[SYSTEM_CULTURE] --> [en-US]
[SYSTEM_DEFAULTWORKINGDIRECTORY] --> [D:\a\r1\a]
[SYSTEM_DEFINITIONID] --> [1]
[SYSTEM_DEFINITIONNAME] --> [New release pipeline]
[SYSTEM_ENABLEACCESSTOKEN] --> [False]
[SYSTEM_HOSTTYPE] --> [release]
[SYSTEM_JOBATTEMPT] --> [1]
[SYSTEM_JOBDISPLAYNAME] --> [Agent job]
[SYSTEM_JOBID] --> [acac96fb-4295-5d89-efc2-a34af29daef3]
[SYSTEM_JOBIDENTIFIER] --> [Stage_8a218a65218f4a0ba776ac7b99e00a44_1_1.Phase_1.__default]
[SYSTEM_JOBNAME] --> [__default]
[SYSTEM_JOBPARALLELISMTAG] --> [Private]
[SYSTEM_JOBPOSITIONINPHASE] --> [1]
[SYSTEM_JOBTIMEOUT] --> [0]
[SYSTEM_PHASEATTEMPT] --> [1]
[SYSTEM_PHASEDISPLAYNAME] --> [Agent job]
[SYSTEM_PHASEID] --> [4bad69ec-5c1e-55e1-09ea-2681215800be]
[SYSTEM_PHASENAME] --> [Phase_1]
[SYSTEM_PIPELINESTARTTIME] --> [2020-09-04 10:19:58+00:00]
[SYSTEM_PLANID] --> [bd50236b-b701-4b74-b700-1281e6e1e57a]
[SYSTEM_SERVERTYPE] --> [Hosted]
[SYSTEM_STAGEATTEMPT] --> [1]
[SYSTEM_STAGEDISPLAYNAME] --> [toAzure]
[SYSTEM_STAGEID] --> [c4c93af3-ce6a-5174-31b1-90fefd4e8937]
[SYSTEM_STAGENAME] --> [Stage_8a218a65218f4a0ba776ac7b99e00a44_1_1]
[SYSTEM_TASKDEFINITIONSURI] --> [https://dev.azure.com/aurelianrosca/]
[SYSTEM_TEAMFOUNDATIONCOLLECTIONURI] --> [https://dev.azure.com/aurelianrosca/]
[SYSTEM_TEAMFOUNDATIONSERVERURI] --> [https://vsrm.dev.azure.com/aurelianrosca/]
[SYSTEM_TEAMPROJECT] --> [acudoclarisa]
[SYSTEM_TEAMPROJECTID] --> [8a218a65-218f-4a0b-a776-ac7b99e00a44]
[SYSTEM_TIMELINEID] --> [bd50236b-b701-4b74-b700-1281e6e1e57a]
[SYSTEM_TOTALJOBSINPHASE] --> [1]
[SYSTEM_WORKFOLDER] --> [D:\a]
2020-09-04T10:20:03.0094507Z Creating artifacts directory: D:\a\r1\a
2020-09-04T10:20:03.0434758Z Created artifacts directory: D:\a\r1\a
2020-09-04T10:20:03.0513258Z Download all required tasks.
2020-09-04T10:20:03.0519915Z Checking job knob settings.
2020-09-04T10:20:03.0530087Z Knob: AgentToolsDirectory = C:/hostedtoolcache/windows Source: ${AGENT_TOOLSDIRECTORY}
2020-09-04T10:20:03.0531393Z Knob: AgentPerflog = C:\agents\perflog Source: ${VSTS_AGENT_PERFLOG}
2020-09-04T10:20:03.0533320Z Finished checking job knob settings.
2020-09-04T10:20:03.0758557Z Start tracking orphan processes.
2020-09-04T10:20:03.0845073Z ##[section]Finishing: Initialize job
2020-09-04T10:20:03.1184370Z ##[section]Starting: Finalize Job
2020-09-04T10:20:03.1268363Z Cleaning up task key
2020-09-04T10:20:03.1271152Z Start cleaning up orphan processes.
2020-09-04T10:20:03.1366622Z ##[section]Finishing: Finalize Job
构建管道日志是:
2020-09-04T10:08:48.8079982Z ##[section]Starting: Job
2020-09-04T10:08:49.1221493Z ##[section]Starting: Initialize job
2020-09-04T10:08:49.1222911Z Agent name: 'Hosted Agent'
2020-09-04T10:08:49.1223535Z Agent machine name: 'fv-az89'
2020-09-04T10:08:49.1223836Z Current agent version: '2.174.1'
2020-09-04T10:08:49.1266730Z ##[group]Operating System
2020-09-04T10:08:49.1267036Z Ubuntu
2020-09-04T10:08:49.1267255Z 18.04.5
2020-09-04T10:08:49.1267446Z LTS
2020-09-04T10:08:49.1267668Z ##[endgroup]
2020-09-04T10:08:49.1267909Z ##[group]Virtual Environment
2020-09-04T10:08:49.1268198Z Environment: ubuntu-18.04
2020-09-04T10:08:49.1268456Z Version: 20200825.1
2020-09-04T10:08:49.1268858Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20200825.1/images/linux/Ubuntu1804-README.md
2020-09-04T10:08:49.1269324Z ##[endgroup]
2020-09-04T10:08:49.1270392Z Current image version: '20200825.1'
2020-09-04T10:08:49.1275298Z Agent running as: 'vsts'
2020-09-04T10:08:49.1322729Z Prepare build directory.
2020-09-04T10:08:49.1641593Z Set build variables.
2020-09-04T10:08:49.1677809Z Download all required tasks.
2020-09-04T10:08:49.1803413Z Downloading task: CmdLine (2.164.2)
2020-09-04T10:08:51.3084701Z Checking job knob settings.
2020-09-04T10:08:51.3095779Z Knob: AgentToolsDirectory = /opt/hostedtoolcache Source: ${AGENT_TOOLSDIRECTORY}
2020-09-04T10:08:51.3097416Z Knob: AgentPerflog = /home/vsts/perflog Source: ${VSTS_AGENT_PERFLOG}
2020-09-04T10:08:51.3098318Z Finished checking job knob settings.
2020-09-04T10:08:51.3409521Z Start tracking orphan processes.
2020-09-04T10:08:51.3599665Z ##[section]Finishing: Initialize job
2020-09-04T10:08:51.3958789Z ##[section]Starting: Checkout aurelian84/acudoclarisa@master to s
2020-09-04T10:08:51.4184611Z ==============================================================================
2020-09-04T10:08:51.4185298Z Task : Get sources
2020-09-04T10:08:51.4185880Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-09-04T10:08:51.4186271Z Version : 1.0.0
2020-09-04T10:08:51.4186734Z Author : Microsoft
2020-09-04T10:08:51.4187401Z Help : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-09-04T10:08:51.4187851Z ==============================================================================
2020-09-04T10:08:52.3231348Z Syncing repository: aurelian84/acudoclarisa (GitHub)
2020-09-04T10:08:52.3234224Z ##[command]git version
2020-09-04T10:08:52.3237544Z git version 2.28.0
2020-09-04T10:08:52.3238571Z ##[command]git lfs version
2020-09-04T10:08:52.3242054Z git-lfs/2.11.0 (GitHub; linux amd64; go 1.13.4)
2020-09-04T10:08:52.3243320Z ##[command]git init "/home/vsts/work/1/s"
2020-09-04T10:08:52.3246391Z Initialized empty Git repository in /home/vsts/work/1/s/.git/
2020-09-04T10:08:52.3247198Z ##[command]git remote add origin https://github.com/aurelian84/acudoclarisa
2020-09-04T10:08:52.3255012Z ##[command]git config gc.auto 0
2020-09-04T10:08:52.3258995Z ##[command]git config --get-all http.https://github.com/aurelian84/acudoclarisa.extraheader
2020-09-04T10:08:52.3262749Z ##[command]git config --get-all http.proxy
2020-09-04T10:08:52.3266411Z ##[command]git config http.version HTTP/1.1
2020-09-04T10:08:52.3273151Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules origin
2020-09-04T10:08:53.0049121Z remote: Enumerating objects: 28, done.
2020-09-04T10:08:53.0051479Z remote: Counting objects: 3% (1/28)
2020-09-04T10:08:53.0141236Z remote: Counting objects: 7% (2/28)
2020-09-04T10:08:53.0142482Z remote: Counting objects: 10% (3/28)
2020-09-04T10:08:53.0143651Z remote: Counting objects: 14% (4/28)
2020-09-04T10:08:53.0144643Z remote: Counting objects: 17% (5/28)
2020-09-04T10:08:53.0639698Z remote: Counting objects: 21% (6/28)
2020-09-04T10:08:53.1184257Z remote: Counting objects: 25% (7/28)
2020-09-04T10:08:53.1199865Z remote: Counting objects: 28% (8/28)
2020-09-04T10:08:53.1201614Z remote: Counting objects: 32% (9/28)
2020-09-04T10:08:53.1202205Z remote: Counting objects: 35% (10/28)
2020-09-04T10:08:53.1202789Z remote: Counting objects: 39% (11/28)
2020-09-04T10:08:53.1203346Z remote: Counting objects: 42% (12/28)
2020-09-04T10:08:53.1203914Z remote: Counting objects: 46% (13/28)
2020-09-04T10:08:53.1204469Z remote: Counting objects: 50% (14/28)
2020-09-04T10:08:53.1205035Z remote: Counting objects: 53% (15/28)
2020-09-04T10:08:53.1205595Z remote: Counting objects: 57% (16/28)
2020-09-04T10:08:53.1206185Z remote: Counting objects: 60% (17/28)
2020-09-04T10:08:53.1206756Z remote: Counting objects: 64% (18/28)
2020-09-04T10:08:53.1207308Z remote: Counting objects: 67% (19/28)
2020-09-04T10:08:53.1207872Z remote: Counting objects: 71% (20/28)
2020-09-04T10:08:53.1208420Z remote: Counting objects: 75% (21/28)
2020-09-04T10:08:53.1208984Z remote: Counting objects: 78% (22/28)
2020-09-04T10:08:53.1209551Z remote: Counting objects: 82% (23/28)
2020-09-04T10:08:53.1210134Z remote: Counting objects: 85% (24/28)
2020-09-04T10:08:53.1210686Z remote: Counting objects: 89% (25/28)
2020-09-04T10:08:53.1211251Z remote: Counting objects: 92% (26/28)
2020-09-04T10:08:53.1211797Z remote: Counting objects: 96% (27/28)
2020-09-04T10:08:53.1212361Z remote: Counting objects: 100% (28/28)
2020-09-04T10:08:53.1212944Z remote: Counting objects: 100% (28/28), done.
2020-09-04T10:08:53.1213644Z remote: Compressing objects: 5% (1/20)
2020-09-04T10:08:53.1214247Z remote: Compressing objects: 10% (2/20)
2020-09-04T10:08:53.1214812Z remote: Compressing objects: 15% (3/20)
2020-09-04T10:08:53.1216150Z remote: Compressing objects: 20% (4/20)
2020-09-04T10:08:53.1216738Z remote: Compressing objects: 25% (5/20)
2020-09-04T10:08:53.1217301Z remote: Compressing objects: 30% (6/20)
2020-09-04T10:08:53.1217889Z remote: Compressing objects: 35% (7/20)
2020-09-04T10:08:53.1218448Z remote: Compressing objects: 40% (8/20)
2020-09-04T10:08:53.1219020Z remote: Compressing objects: 45% (9/20)
2020-09-04T10:08:53.1219586Z remote: Compressing objects: 50% (10/20)
2020-09-04T10:08:53.1220771Z remote: Compressing objects: 55% (11/20)
2020-09-04T10:08:53.1221309Z remote: Compressing objects: 60% (12/20)
2020-09-04T10:08:53.1221841Z remote: Compressing objects: 65% (13/20)
2020-09-04T10:08:53.1222352Z remote: Compressing objects: 70% (14/20)
2020-09-04T10:08:53.1222858Z remote: Compressing objects: 75% (15/20)
2020-09-04T10:08:53.1223509Z remote: Compressing objects: 80% (16/20)
2020-09-04T10:08:53.1224032Z remote: Compressing objects: 85% (17/20)
2020-09-04T10:08:53.1224521Z remote: Compressing objects: 90% (18/20)
2020-09-04T10:08:53.1225025Z remote: Compressing objects: 95% (19/20)
2020-09-04T10:08:53.1225527Z remote: Compressing objects: 100% (20/20)
2020-09-04T10:08:53.1226052Z remote: Compressing objects: 100% (20/20), done.
2020-09-04T10:08:53.1227275Z remote: Total 28 (delta 5), reused 12 (delta 1), pack-reused 0
2020-09-04T10:08:53.1227804Z From https://github.com/aurelian84/acudoclarisa
2020-09-04T10:08:53.1228477Z * [new branch] master -> origin/master
2020-09-04T10:08:53.2004470Z ##[command]git checkout --progress --force 56d939fcfba1fd33d1b2b9b38cb04505e856394b
2020-09-04T10:08:53.2007747Z Note: switching to '56d939fcfba1fd33d1b2b9b38cb04505e856394b'.
2020-09-04T10:08:53.2008136Z
2020-09-04T10:08:53.2008623Z You are in 'detached HEAD' state. You can look around, make experimental
2020-09-04T10:08:53.2009046Z changes and commit them, and you can discard any commits you make in this
2020-09-04T10:08:53.2009442Z state without impacting any branches by switching back to a branch.
2020-09-04T10:08:53.2009687Z
2020-09-04T10:08:53.2009963Z If you want to create a new branch to retain commits you create, you may
2020-09-04T10:08:53.2010890Z do so (now or later) by using -c with the switch command. Example:
2020-09-04T10:08:53.2011164Z
2020-09-04T10:08:53.2011529Z git switch -c <new-branch-name>
2020-09-04T10:08:53.2011726Z
2020-09-04T10:08:53.2011941Z Or undo this operation with:
2020-09-04T10:08:53.2012135Z
2020-09-04T10:08:53.2012448Z git switch -
2020-09-04T10:08:53.2012595Z
2020-09-04T10:08:53.2012893Z Turn off this advice by setting config variable advice.detachedHead to false
2020-09-04T10:08:53.2013145Z
2020-09-04T10:08:53.2013393Z HEAD is now at 56d939f new index.html update
2020-09-04T10:08:53.2061118Z ##[section]Finishing: Checkout aurelian84/acudoclarisa@master to s
2020-09-04T10:08:53.2091800Z ##[section]Starting: Run a one-line script
2020-09-04T10:08:53.2098681Z ==============================================================================
2020-09-04T10:08:53.2099056Z Task : Command line
2020-09-04T10:08:53.2099485Z Description : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
2020-09-04T10:08:53.2099852Z Version : 2.164.2
2020-09-04T10:08:53.2100156Z Author : Microsoft Corporation
2020-09-04T10:08:53.2100573Z Help : https://learn.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
2020-09-04T10:08:53.2101028Z ==============================================================================
2020-09-04T10:08:53.6501724Z Generating script.
2020-09-04T10:08:53.6516311Z Script contents:
2020-09-04T10:08:53.6516583Z echo Hello, world!
2020-09-04T10:08:53.6517278Z ========================== Starting Command Output ===========================
2020-09-04T10:08:53.6539765Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/ddcca1ed-63f3-412f-99a5-56b8b6240deb.sh
2020-09-04T10:08:53.6630129Z Hello, world!
2020-09-04T10:08:53.6638605Z
2020-09-04T10:08:53.6702318Z ##[section]Finishing: Run a one-line script
2020-09-04T10:08:53.6728249Z ##[section]Starting: Run a multi-line script
2020-09-04T10:08:53.6735810Z ==============================================================================
2020-09-04T10:08:53.6736188Z Task : Command line
2020-09-04T10:08:53.6736607Z Description : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
2020-09-04T10:08:53.6736980Z Version : 2.164.2
2020-09-04T10:08:53.6737286Z Author : Microsoft Corporation
2020-09-04T10:08:53.6737697Z Help : https://learn.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
2020-09-04T10:08:53.6738173Z ==============================================================================
2020-09-04T10:08:53.8156675Z Generating script.
2020-09-04T10:08:53.8170866Z ========================== Starting Command Output ===========================
2020-09-04T10:08:53.8196986Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/201b8759-ec27-4acf-937b-4d793793b47c.sh
2020-09-04T10:08:53.8272354Z Add other tasks to build, test, and deploy your project.
2020-09-04T10:08:53.8276006Z See https://aka.ms/yaml
2020-09-04T10:08:53.8291078Z
2020-09-04T10:08:53.8352009Z ##[section]Finishing: Run a multi-line script
2020-09-04T10:08:53.8379815Z ##[section]Starting: Checkout aurelian84/acudoclarisa@master to s
2020-09-04T10:08:53.8384214Z ==============================================================================
2020-09-04T10:08:53.8384595Z Task : Get sources
2020-09-04T10:08:53.8384966Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-09-04T10:08:53.8385324Z Version : 1.0.0
2020-09-04T10:08:53.8385561Z Author : Microsoft
2020-09-04T10:08:53.8385956Z Help : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-09-04T10:08:53.8386405Z ==============================================================================
2020-09-04T10:08:54.1968674Z Cleaning any cached credential from repository: aurelian84/acudoclarisa (GitHub)
2020-09-04T10:08:54.1978532Z ##[section]Finishing: Checkout aurelian84/acudoclarisa@master to s
2020-09-04T10:08:54.2035762Z ##[section]Starting: Finalize Job
2020-09-04T10:08:54.2068552Z Cleaning up task key
2020-09-04T10:08:54.2070128Z Start cleaning up orphan processes.
2020-09-04T10:08:54.2373252Z ##[section]Finishing: Finalize Job
2020-09-04T10:08:54.2415334Z ##[section]Finishing: Job
最诚挚的问候,奥勒良
最佳答案
azure pipelines for static website hosted on azure storage blob
根据您在发布管道中提供的错误图像:
Upload to container: '$web' in storage account: ... uploading files to blob storage.' For more info
显然,此错误会阻止 azure copy 任务更新静态网站。
要解决此问题,请确保您使用的 AzCopy 版本为 v7.3.0
及更高版本(尝试使用 V3
和 V4
用于 azure 复制任务)。
如果您已在使用 V3
或 V4
版本,请确保我们在此任务中使用的服务主体有权访问存储帐户。您可以尝试导航到存储帐户
-> 访问控制
页面和向我的服务主体/托管身份添加角色分配
(存储 Blob 数据贡献者/所有者角色):
此外,还要检查 Azure DevOps 项目设置中的服务连接,以确定您正在使用正确的资源组。
您可以检查this thread了解更多详细信息。
关于用于托管在 azure 存储 blob 上的静态网站的 azure 管道,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63739401/
我会尝试尽可能详细地描述我的问题,但如果需要更详细的解释,请告诉我。 为了简化,假设我有 3 个 DLL(实际上我有更多,但我猜这不是很重要): managed-1.dll - 托管 DLL(用 C#
我有一个 Tomcat 6 JSF Web 应用程序,我想使用 CDI bean 来设置它。不过,我必须逐渐将项目转换为 CDI。 我的问题是:CDI bean 和传统的 JSF 托管 bean 可以
我计划将 Web 应用程序从使用 JSF 托管 Bean 转换为使用 CDI 托管 Bean。我知道我需要执行以下操作: 在 WEB-INF 中添加一个空 beans.xml 文件。 将所有 JSF
我在裸域上运行我的解析应用程序。 Parse 并没有让我的生活变得轻松。 起初我很难设置它,因为大多数 DNS 托管服务不允许根域上的 CNAME,而 Parse 需要 CNAME。 决定尝试使用 C
如果您使用 Firebase 托管 将请求定向到 云函数 通过重写,“通过”托管的请求流量是否会记入 Firebase 托管 国标转出 ? (忽略 Cloud Function 的计费) 换句话说,
关闭。这个问题是off-topic .它目前不接受答案。 想改善这个问题吗? Update the question所以它是 on-topic对于堆栈溢出。 9年前关闭。 Improve this q
我有一个特定的用例,我正尝试使用 Firebase 托管来解决,它如下: 我正在使用 Gridsome 生成静态网站 在构建之前,Gridsome 使用 Graphql 并从 Headless CMS
您好,我有一个blazor页面,我想在其中显示一个变量。 这个变量从另一个线程(通过Websocket接收数据的另一个线程)获取更新,我想以线程安全的方式显示它: Blazor页面 @page "/n
我想使用 Firebase 托管来托管一个 angular 应用程序,我需要创建一个重定向到另一个 URL 中的一些旧文件。 根据 Firebase 文档,您可以进行基本重定向 "redirects"
我正在尝试找出满足电子学习平台以下要求的最佳方法。 我在其中编辑视频的后端,以便可以将它们彼此链接(例如youtube-comment函数) 用户只能在访问平台时观看视频(不允许下载!) 视频只能通过
已关闭。这个问题是 not about programming or software development 。目前不接受答案。 这个问题似乎不是关于 a specific programming
我想这是一个相当深入的主题,因此任何带有洞察信息的网址也很乐意接受。我一直在使用原生 DirectX,但从未管理过。另一方面,大多数情况下,在开发不需要高级 GPU 渲染的其他类型的应用程序时,我通常
我刚刚将一个网站部署到 Firebase 托管,效果非常好 - 设置非常简单。 但是,我的问题是,有什么方法可以使访问该网站受到身份验证的限制吗?这是一个管理面板,只有我的团队才能访问。有什么方法可以
已关闭。这个问题是 not about programming or software development 。目前不接受答案。 这个问题似乎不是关于 a specific programming
就目前情况而言,这个问题不太适合我们的问答形式。我们希望答案得到事实、引用资料或专业知识的支持,但这个问题可能会引发辩论、争论、民意调查或扩展讨论。如果您觉得这个问题可以改进并可能重新开放,visit
按照目前的情况,这个问题不适合我们的问答形式。我们希望答案得到事实、引用或专业知识的支持,但这个问题可能会引发辩论、争论、投票或扩展讨论。如果您觉得这个问题可以改进并可能重新打开,visit the
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 要求我们推荐或查找书籍、工具、软件库、教程或其他场外资源的问题对于 Stack Overflow 来说是
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 我们不允许提问寻求书籍、工具、软件库等的推荐。您可以编辑问题,以便用事实和引用来回答。 关闭 6 年前。
我刚刚将一个网站部署到 Firebase 托管,它运行良好 - 设置非常简单。 但是,我的问题是,有什么方法可以通过身份验证限制对网站的访问?这是一个只有我的团队才能访问的管理面板。有什么方法可以用密
如果我想托管一个对公众用处不大的应用程序(例如,一个将点打印到控制台的程序,它们的数量取决于现在的时间),我喜欢在启动板中的方式不必乱扔全局托管站点的命名空间并用诸如 HourDot 之类的名称填充它
我是一名优秀的程序员,十分优秀!