JFrox Xray installation on Windows server - devops

I Have JFrog Artifactory installed and up and running on Windows 2012 R2, now i want to install JFrog-Xray on the same server and linking with existing Artifactory instance, is it possible ?
As per JFrog documentation, XRay installer available only for for Docker runtime and Linux.

As described in the official JFrog Xray Installation docs, Xray cannot be installed on Windows directly.
There are two options here
Setup a Linux VM running in the same server and install Xray on it
Setup a separate, Linux based server and install Xray on it
You can also install both Artifactory and Xray together in the same Linux server or a Kubernetes (Linux) installation.
I know this answer does not provide a clean Xray on Windows solution, but does provide a viable option that is production grade.

Related

Passing Jenkins credentials to Artifactory without the Artifactory plugin

I have been asked to work on an older shared version of Jenkins. It is so old that installing the Artifactory plug-in is just not possible. The latest version of the plug-in wont load and installing the older version and all its dependencies without an internet connection is just a pain.
In short is there a quick and simple way in which we can pass the credentials to artifactory from Jenkins before Jenkins tries to read or write to the Artifactory repo ?
Edit:
My setup is Jenkins running on RH Linux, building a very simple Maven project with the requirement to output the build artefacts to Artifactory. JFrog CLI is available with my version of Artifactory, however is not running currently on the Linux box.
Option 1 - JFrog CLI
See the documentation of the Maven commands.
JFrog CLI is available on multiple linux architectures (386, amd64, arm64, arm, s390x to date). You can install it as part of your pipeline. Get it here.
Option 2 - Maven Artifactory Plugin
See the documentation of the plugin. You can also learn how to use the plugin from this project example.
You could simply use the Artifactory REST API with curl. Depending on your repository:
curl -u myUser:myP455w0rd! -X PUT "http://localhost:8081/artifactory/my-repository/my/new/artifact/directory/file.txt" -T Desktop/myNewFile.txt
The documentation from JFrog about this is actually pretty good.
You can also add hashes and other parameters this way.
https://www.jfrog.com/confluence/display/JFROG/Artifactory+REST+API

How do I get Jenkins running on Linux to communicate with Windows servers?

How do I get Jenkins running on Linux to communicate with Windows servers?
Currently Jenkins running in Linux and WebSphere running on windows and both are on prem not in cloud
i need to deploy War file which generated by Linux Jenkins to windows WebSphere, and client not agreeing for 3rd party tools like open-ssh and pscp
so , pls let me know if any one have idea to implement this ..
Thanks

How to set up a private Docker repository with Artifactory OSS?

I tried to set up a private docker repository using Artifactory OSS (open source version) but could not find how to do it. The online documentation is about using the licensed Artifactory product as a docker repository.
Does anyone know how to set it up in Artifactory OSS?
I installed and started Artifactory OSS, but could not find docker package information. The Package View feature is disabled in OSS version.
According to the Artifactory Comparison Matrix, Artifactory OSS only supports Maven, Gradle and Ivy.
To use the Artifactory Docker package management you have to purchase Artifactory Pro, Artifactory Cloud or Artifactory Enterprise. Another solution is to use Nexus Repository OSS which include this feature in the open source version.

How can developers access to Nexus OSS

Can someone tell me how exactly developers can acces to Nexus OSS ? Have i to install it in one server apart with Jenkins for exemple in a VM and after that what i have to do ?
Thanks.
Nexus Repository Manager is a separate application from Jenkins. You can run it in the same or a different VM. After installation you just have to configure the tools you use to connect to it for downloads and publishing and potentially configure repositories.
In terms of the tools e.g. we have a full chapter about configuring Apache Maven and others to Maven repositories as well as example projects. And similar for other formats.
All that and a lot more is covered in the documentation.

Installing hudson slave agent as a service

I'd like to set up a Hudson slave agent (v3.2.2) as a Windows service on one of my Windows nodes (running Windows 8.1 x64 with .NET 3.5 installed). As of this wiki page, there should be a File > Install as Windows Service menu option. But when I run the JNLP, there's no such option:
So: How do I install the Hudson slave agent as a Windows service?
There is a bug that has been submitted for this, Bug 427526, and also a workaround. It is related to the version of Java. I used JDK 7u11 and I got the File option and was able to install the slave as a service.

Resources