Re: Pipeline script step looking script inside job@tmp path

2023-06-06 Thread Mk
sh '$WORKSPACE/script.sh' solved the problem. On Tuesday, June 6, 2023 at 4:17:12 PM UTC+5:30 Mk wrote: > I'm using Jenkins - 2.375.2 and both Jenkinsfile and script.sh files are > in my github repository. > > My Jenkinsfile (Declarative Pipeline) content as follows, > pipeline { > agent

Pipeline script step looking script inside job@tmp path

2023-06-06 Thread Mk
I'm using Jenkins - 2.375.2 and both Jenkinsfile and script.sh files are in my github repository. My Jenkinsfile (Declarative Pipeline) content as follows, pipeline { agent any stages { stage('Checkout') { steps { git url: 'g...@github.com:org/reposit