Try:
env.RUN_DISPLAY_URL
If you look at this plugin: https://plugins.jenkins.io/display-url-api
you will see there these variables you can try:
RUN_DISPLAY_URL – links to the run result
RUN_CHANGES_DISPLAY_URL – links to the changes page for a run
JOB_DISPLAY_URL – links to the jobs homepage
Hello
just in case, could someone share a groovy sample script to achieve this?
I guess you have to download .jpi file into /plugins folder (also handling
dependencies...), then restart jenkins?
I had written that in shell (ugly but working), but still learning in
Groovy!
Thanks in advance
On T
The other problem is that you are expecting state to be retained between
invocations of sh.
sh 'cd /media/usb'
sh 'rm -rf testing'
sh 'mkdir testing'
sh 'cd testing'
git branch: 'feature', url: 'g...@github.com:
CelestialSystem/cyelp.git'
sh 'cp develop-unit/arm/ltp.
The following pipeline script fails
class Test implements Serializable {
final def buildIn
final def allUpstreamDependencies = [:]
Test(buildIn) {
this.buildIn = buildIn
}
void test() {
buildIn.node("master") {
allUpstreamDependencies["projecA"] =
Hi
I have deployed Jenkins 2.117 war file onto WebLogic 12.2.1.2 as a
webapplication and I am able to login to the application. I want to add
additional nodes (remote servers) and would like to launch them using SSH,
I have ssh key setup configured between the master where the WebLogic
hostin
We have a pipeline which generally looks like the following:
properties([parameters([
booleanParam(defaultValue: false, description: '', name: 'ARMv8')])])
pipeline {
agent any
stage('build') {
options {
skipDefaultCheckout true
}
when { expression { return params.ARMv8 } }
Hi Slide,
One more observation, this result file is not in workspace. that is the
reason its always outputting 1 when we print the file content.
This could be root cause in my understanding.
I am sorry I should have mentioned this ealrier that verify script writes
this file on hardisk which is not
> I'd guess you need to escape the spaces in the original string?
Escaping didn’t help.
I’ve posted a complete description of the problem on Stackoverflow:
https://stackoverflow.com/questions/49922959/how-to-fix-java-was-unexpected-at-this-time-when-invoking-vs-2017-build-to
From: jenkinsci-us