jenkins-x-buildpacks / jenkins-x-classic

Classic Build Pack for libraries (CI + Release but no CD) for releasing Java, Maven, Gradle, NPM modules but without deploying on any specific cloud or infrastructure
Apache License 2.0
16 stars 46 forks source link

go-http quickstart project fails to build due to upstream change in Jenkins Path #16

Open 85matthew opened 4 years ago

85matthew commented 4 years ago

This was my original issue but I believe the change to be in this repo. jenkins-x/jx#6264

go-http project fails to build. Shows this error

process apparently never started in /home/jenkins/go/src/github.com/matthew/go-demo-6@tmp/durable-704406a9 (running Jenkins temporarily with -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.LAUNCH_DIAGNOSTICS=true might make the problem clearer)

Steps to reproduce the behavior

Create a new quickstart go-http project, see it fail on the build.

Expected behavior

jx create quickstart (for go-http, brand new project) should build.

Actual behavior

process apparently never started in /home/jenkins/go/src/github.com/matthew/go-demo-6@tmp/durable-704406a9 (running Jenkins temporarily with -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.LAUNCH_DIAGNOSTICS=true might make the problem clearer)

Gives that error.

Jx version

The output of jx version is:

➜ jx git:(master) jx version NAME VERSION jx 2.0.1040 jenkins x platform 2.0.1690 Kubernetes cluster v1.12.4 kubectl v1.13.2 helm client Client: v2.14.1+g5270352 git 2.17.0 Operating System Mac OS X 10.15.1 build 19B88 Jenkins type

[x ] Classic Jenkins Kubernetes cluster

Testing with Minikube, also w/ EKS

Operating system / Environment

Mac. see above.

Problem seems to be due to this Effort and PR:

https://issues.jenkins-ci.org/browse/JENKINS-58705

https://github.com/jenkinsci/kubernetes-plugin/pull/559/files

Need to update the path for generated Jenkinsfile via quickstart.