Main icon indicating copy to clipboard operation
Main copied to clipboard

[Request] Add Jenkins

Open onacit opened this issue 5 years ago • 5 comments

I'm not sure what could be harsh with Windows but hombrew already has a formula for the Jenkins.

See,

Can anybody please add Jenkins to scoop?

onacit avatar Aug 30 '21 08:08 onacit

Background service is not urgent. It will be great versions are managed and updated by scoop.

onacit avatar Aug 30 '21 08:08 onacit

Here is the manifest that I'm using for managing Jenkins installation as Homebrew:

{
    "version": "2.303.1",
    "license": "MIT License",
    "url": "http://mirrors.jenkins.io/war-stable/2.303.1/jenkins.war",
    "homepage": "https://jenkins.io/index.html#stable",
    "hash": "4aae135cde63e398a1f59d37978d97604cb595314f7041d2d3bac3f0bb32c065",
    "pre_install": "\"@%JAVA_HOME%\\bin\\java %JAVA_ARGS% -jar \"\"$dir\\jenkins.war\"\" %*\" | out-file -en oem \"$dir\\jenkins.cmd\"",
    "bin": "jenkins.cmd",
    "suggest": {
        "JDK": [
            "java/oraclejdk8",
            "java/openjdk11"
        ]
    },
    "checkver": {
        "url": "https://updates.jenkins.io/stable/latestCore.txt",
        "regex": "([\\d.]+)"
    },
    "autoupdate": {
        "url": "http://mirrors.jenkins.io/war-stable/$version/jenkins.war",
        "hash": {
            "url": "http://mirrors.jenkins.io/war-stable/$version/jenkins.war.sha256"
        }
    }
}

Hope this help

PeeZu avatar Sep 02 '21 07:09 PeeZu

For hash you can use $url.sha256 as well

pratikpc avatar Nov 05 '21 10:11 pratikpc

Why openjdk11?

It would not work with openjdk17 for example or latest OpenJDK?

pratikpc avatar Nov 05 '21 10:11 pratikpc

Why openjdk11?

It would not work with openjdk17 for example or latest OpenJDK?

https://www.jenkins.io/doc/administration/requirements/java/

PeeZu avatar Nov 05 '21 10:11 PeeZu