diff --git a/contrib/teamcity/build-configurations.py b/contrib/teamcity/build-configurations.py --- a/contrib/teamcity/build-configurations.py +++ b/contrib/teamcity/build-configurations.py @@ -134,7 +134,7 @@ # should be run parallel. script = self.config.get("script", None) if script: - script_path = Path(self.script_root.joinpath(script)) + script_path = Path(self.project_root.joinpath(script)) if not script_path.is_file() or not os.access(script_path, os.X_OK): raise FileNotFoundError( "The script file {} does not exist or does not have execution permission".format( diff --git a/contrib/teamcity/build-configurations.yml b/contrib/teamcity/build-configurations.yml --- a/contrib/teamcity/build-configurations.yml +++ b/contrib/teamcity/build-configurations.yml @@ -2,7 +2,7 @@ # Templates can be referenced in builds to avoid duplication templates: gitian_builds: - script: gitian.sh + script: contrib/teamcity/gitian.sh timeout: 7200 artifacts: gitian-results: ''