小编Muh*_*him的帖子

在 jenkins windows 从机中克隆远程存储库“来源”时出错

这个问题已经被问到了。我已经看到了答案,但没有一个对我有用。我更改了全局配置设置并设置了从机的git路径。另外,我在节点属性 -> 工具位置下的节点设置中添加了 git 路径,我也添加了我的 git 路径。

我的 git 路径是,C:\Program Files\Git\cmd\git.exe但问题仍然存在。

之前还好好的,但是突然就这样了。

请注意,在我的其他 Windows 从机上它工作正常。所以我不认为它有任何 SSH 密钥相关的问题。

Started by user Muhammad Ibrahim
Running as SYSTEM
Building remotely on ELO_122 (Group_1) in workspace c:\jenkins\workspace\Download_Latest_Version_POS
using credential GIT_HUB_SSH_KEY
Cloning the remote Git repository
Cloning repository git@github.com:aliibrahimroshan/pos_applicaiton.git
 > C:\Program Files\Git\cmd\git.exe init c:\jenkins\workspace\Download_Latest_Version_POS # timeout=10
Fetching upstream changes from git@github.com:aliibrahimroshan/pos_applicaiton.git
 > C:\Program Files\Git\cmd\git.exe --version # timeout=10
using GIT_SSH to set credentials 
 > C:\Program Files\Git\cmd\git.exe fetch --tags --force --progress -- git@github.com:aliibrahimroshan/pos_applicaiton.git +refs/heads/*:refs/remotes/origin/* # …
Run Code Online (Sandbox Code Playgroud)

windows git slave jenkins

6
推荐指数
1
解决办法
5718
查看次数

docker compose sql_mode='' 不起作用

当我在 mysql 8.0 容器上设置 sql_mode='' 时,它不起作用。我想将 sql 模式更改为 null,因为我的应用程序给了我这个错误

Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'medix_pharma.mp_generalentry.date' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
Run Code Online (Sandbox Code Playgroud)

这是我的 docker compose 文件

version: '3.1'

services:
  php:
    depends_on:
      - db
    build:
      context: .
    volumes:
      - ./src:/var/www/html/
      - ./config/vhosts:/etc/apache2/sites-enabled
      - ./config/php/php.ini:/usr/local/etc/php/php.ini
    ports:
      - "80:80"
    restart: "no"
  # MySQL
  db:
    image: mysql:8.0
    container_name: mysql_host
    environment:
      MYSQL_ROOT_PASSWORD: root
      MYSQL_DATABASE: medix_pharma
      MYSQL_USER: …
Run Code Online (Sandbox Code Playgroud)

mysql docker docker-compose

3
推荐指数
1
解决办法
3772
查看次数

如何在Flutter中渲染HTML标签并限制行数

我想限制行数并在 flutter 中渲染 html 标签,现在我正在使用文本小部件并限制行数。问题是我在其余的完整 api 中获取 html 标签,所以我想渲染这些标签。我尝试了 flutter html 包,但没有限制行数的选项。谢谢

 Container(
  padding: EdgeInsets.symmetric(horizontal:10.0),
  margin: EdgeInsets.only(bottom:10.0),
  child: Text(
    widget.description,
    style:plpDescriptionTextstyle,
    maxLines: 4,
      ),
   ),
Run Code Online (Sandbox Code Playgroud)

dart flutter

2
推荐指数
1
解决办法
9604
查看次数

标签 统计

dart ×1

docker ×1

docker-compose ×1

flutter ×1

git ×1

jenkins ×1

mysql ×1

slave ×1

windows ×1