distributable: url: https://get.jenkins.io/war-stable/2.426.2/jenkins.war versions: url: https://www.jenkins.io/download/ match: /\d+\.\d+\.\d+\/jenkins\.war/ strip: /\/jenkins\.war/ warnings: - vendored dependencies: openjdk.org: '<20' runtime: env: JENKINS_HOME: ${{prefix}}/var/jenkins build: - run: mkdir -p libexec/lib bin var/jenkins working-directory: ${{prefix}} - jar xvf jenkins.io-{{version}}.war - cp -r jenkins.io-{{version}}.war {{prefix}}/libexec/lib/ - cp -r WEB-INF/lib/* {{prefix}}/libexec/lib/ - run: | cat > jenkins-lts < jenkins-lts-cli <=2.426.4' - jenkins-lts --httpPort=$FREE_PORT > var/jenkins/jenkins.log 2>&1 & - PID=$! - sleep 30 - curl -L localhost:$FREE_PORT -o output.html - kill $PID || cat var/jenkins/jenkins.log # debug - cat output.html | grep '' env: _JAVA_OPTIONS: -Djava.io.tmpdir=$PWD/tmp $_JAVA_OPTIONS JENKINS_HOME: $PWD/var/jenkins