When Jenkinsfile is added in gitlab project unalbe to view gives NOT found error jetty running as a docker container

when Jenkinsfile is added in gitlab project unalbe to view gives NOT found error jetty running as a docker container

Hi,

I’d kindly ask you to format your question in a more readable manner. Also, please do consider that nobody can see your screen or your actions. Describe in detail which steps you did and how the result now looks like, best illustrated with a screenshot.

Since you have mentioned jetty and Docker, please also share the CI configuration file and related things from the CI pipelines.

Cheers,
Michael

 `external_url 'http://name-domain.elb.amazonaws.com/gitlab/'
    gitlab_rails['lfs_enabled'] = true
    gitlab_rails['ldap_enabled'] = true
    registry_nginx['enable'] = true
    gitlab_rails['registry_path'] = "/mnt/docker_registry"
    registry['enable'] = true
    registry_external_url 'http://localhost:4567'
    nginx['listen_port'] = 8081
    # LDAP Configuration
    gitlab_rails['ldap_enabled'] = true
    gitlab_rails['ldap_servers'] = YAML.load <<-'EOS'
      main:
        label: 'LDAP'
        host: 'ldap'
        port: 389
        uid: 'uid'
        method: 'plain'
        bind_dn: 'cn=admin,dc=ldap,dc=example,dc=com'
        password: <LDAP_PASSWORD>
        active_directory: true
        allow_username_or_email_login: false
        block_auto_created_users: false
        base: 'ou=people,dc=ldap,dc=example,dc=com'
        signin_enabled: false
    EOS`

Added this env in docker-compose file and brought up docker container
…I see that the word Jenkinsfile and jenkins.groovy or any other files related to jenkins doesn’t appear ,Although I am able to see that in commit history and clone it as well.Jenkins is able to pick the jenkinsfile ,inside the container I see the contents of Jenkinsfile as well.Only in GUI not able to view it.

create a project using curl API and the following repo created with enabled above parameters.
curl -k -H “Content-Type:application/json” http://private-ip:8081/gitlab/api/v4/projects?private_token=${auth-token} -d “{ “name”: “$repo_name” }”

Can anyone answer on this…do I need to add workhorse port or something?.Jenkins and gitlab are in one network.There’s some sort dependency from jenkins as it gives error when clicked only on jenkinfile .