Skip to content

Commit f385b02

Browse files
author
cli
committed
fix: no such file or directory
1 parent f668453 commit f385b02

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

projects/teamcity-download-artifact.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

33
# 默认使用名为artifacts的token, 权限较小(被设置为: `<Root project>: View build runtime parameters and data`)
44
# @see http://th-ci.transcodegroup.cn:9080/profile.html?item=accessTokens

web-downloader/compose.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
services:
22
web-downloader-track:
3-
image: alpine
4-
# command: /home/docker/web-downloader/web-downloader.sh
5-
command: /home/docker/projects/teamcity-download-artifact.sh
3+
image: alpine/curl
4+
command: /home/docker/web-downloader/web-downloader.sh
65
environment:
7-
- TEAMCITY_TAG=${TRACK_WEB_VERSION:?required}
6+
# tag starts with 'v', eg: v1.53.0
7+
- TEAMCITY_TAG=v${TRACK_WEB_VERSION:?required}
88
- TEAMCITY_BUILD_NAME=MaintainVbenAdmin_Release
99
- TEAMCITY_BUILD_ZIP_NAME=maintain.zip
1010
- NGINX_HTML_DIR_NAME=track

0 commit comments

Comments
 (0)