How I can access the remote Desktop jenkins on another systems? - jenkins

I had configure the URl on remote Desktop jenkins but unable to access that jenkins on Local system as I hit that jenkins URl on my local system.

Related

Jenkins Host key verification failed to deploy

i have project jenkins to deploy to my remote server, my local machine and my remote server was connected with ssh but when i try to build job on jenkins, i am getting error like this
image
Login on your jenkins and then try to connect manually on the command line with ssh from jenkins to the remote server. Then approve the host key of the remote system. Run again your job. Then I think everything should be fine.

Access Teamcity to Gitlab repository (Fetch URL)

Access to the GitLab CE repository through TeamCity is limited to using only ssh key - login and password does not accept.
Error `Connection refused`
GitLab allow to log in using browser by ssh, access key and username/password.
My problem was the wrong value system var TEAMCITY_SERVER_OPTS on master server TeamCity
My GitLab CE is located at https://gitlab.org.com, but the value was not specified by -Dhttp.nonProxyHosts=*.org.com to exclude local addresses
That's all

How to set up an Azure DevOps service connection or endpoint to my localhost Jenkins install

I have Jenkins installed on an Ubuntu 18.04.3 LTS desktop PC on my localhost.
I also have an AzureDevOps repo on which I can successfully run a build, through a Jenkins pipeline job, connecitivity achieved via my AzureDevOps personal access token (PAT).
I am now trying to set up a Jenkins service connection or endpoint in AzureDevOps, to enable me trigger an Azure DevOps pipeline release whenever a Jenkins build completes successfully.
To achieve this in AzureDevOps, I am trying to set up access to Jenkins via a Jenkins service endpoint. The endpoint configuration requires among others, a Jenkins "Server URL" (screenshot below). Not surprisingly, AzureDevOps is unable to connect to my Jenkins instance as it's running on my local machine and therefore not publicly accessible.
Any suggestions on how I can overcome this hurdle would be most appreciated.
How to set up an Azure DevOps service connection or endpoint to my localhost Jenkins install
As we know, in order to receive the service hook notifications, you'll need to expose a port to the public internet.
To expose a port to the public internet, you can try to use the tool ngrok:
ngrok exposes local servers behind NATs and firewalls to the public
internet over secure tunnels.
Please check the document Configure a service hook for PR events for some more details.
Hope this helps.

copying artifact to remote machine using jenkins-pipeline

I have running jenkins in windows machine, i have create build there and artifact is ready, But how can i transfer that artifact to remote machine. I have ssh key and user-id only.(need to be trafered over ssh)
You can use SCP plugin to upload files.
Also, you may need to setup ssh client on your windows host.

Trigger Jenkins build using slack (Jenkins hosted in enterprise server without internet)

How can I use Slack trigger a Jenkins build for which Jenkins is hosted in a enterprise server without Internet connectivity?
I tried slash command in Slack, but when slack is trying to reach the Jenkins URL error is returned since its not accessible in internet.

Resources