hello,

je fait tourner plusieurs container sur docker un gogs https://gogs.io/
et un Jenkins, le problème est que j'arrive à pousser mes repo sur mon Gogs mes lorsque je crée un projet freestyle
pour builder mon projet et que je renseigne l url de mon repos il me dis que la connection est refusé

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
Failed to connect to repository : Command "git -c core.askpass=true ls-remote -h git@localhost:user/spring-docker.git HEAD" returned status code 128:
stdout: 
stderr: ssh: connect to host localhost port 22: Connection refused 
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
voici les infos docker

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                                              NAMES
364a4b7e6db8        jenkins             "/bin/tini -- /usr/lo"   4 hours ago         Up 4 hours          0.0.0.0:50000->50000/tcp, 0.0.0.0:8081->8080/tcp   jenk
7b72c3ed8b6a        gogs/gogs           "docker/start.sh /bin"   27 hours ago        Up 27 hours         0.0.0.0:22->22/tcp, 0.0.0.0:3000->3000/tcp         gogs
d8f1b7d37cbc        mysql               "docker-entrypoint.sh"   11 days ago         Up 2 days           0.0.0.0:3306->3306/tcp                             db
j'ai portant générer un token dans Gogs que je renseigne dans Jenkins mais rien ni fait, sa ne récupére pas le projet, si quelqu'un à une idée, merci.