Hi David, Is there any other forum where I can get help? I haven't got much inputs on this forum
On Fri, Feb 24, 2017 at 12:08 AM, David Karr <[email protected]> wrote: > On Wed, Feb 22, 2017 at 9:36 AM, Sharan Basappa > <[email protected]> wrote: > > folks, need some guidance here ... thanks > > > > On Tuesday, 21 February 2017 23:39:43 UTC+5:30, Sharan Basappa wrote: > >> > >> My Jenkins build job indicates success but none of the scripts I am > >> executing seem to do anything. I put a simple "pwd" command to echo > current > >> working directory but nothing happens. All Jenkins reports is "Running > shell > >> script" and then nothing is seen. > >> > >> > >> Snippet of Jenkins log: > >> > >> First time build. Skipping changelog. [Pipeline] sh > >> [an_example_test3-26UQSYQ445FSBP4QRKEWLPQCJH545MLQVD6B552CIGPOXLZO4G5A] > >> Running shell script [Pipeline] sh > >> [an_example_test3-26UQSYQ445FSBP4QRKEWLPQCJH545MLQVD6B552CIGPOXLZO4G5A] > >> Running shell script [Pipeline] sh > >> [an_example_test3-26UQSYQ445FSBP4QRKEWLPQCJH545MLQVD6B552CIGPOXLZO4G5A] > >> Running shell script [Pipeline] sh > >> [an_example_test3-26UQSYQ445FSBP4QRKEWLPQCJH545MLQVD6B552CIGPOXLZO4G5A] > >> Running shell script [Pipeline] } [Pipeline] // node [Pipeline] End of > >> Pipeline Finished: SUCCESS > >> > >> > >> Jenkinsfile that is used to define the builds: > >> > >> node { stage 'build' sh "echo ${env.BRANCH_NAME}" git url: > >> 'git@hd1:testing', branch: "${env.BRANCH_NAME}" sh "ls -rtl" sh "pwd" > sh > >> "csh ${workspace}/simple.csh" sh "csh ${workspace}/source.csh" } > > I'm not an expert, but I would change your syntax to "stage ('build') > { ... }". The parens probably aren't necessary, but the closure syntax > likely is. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Users" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/jenkinsci-users/Dj6hRGzzJZs/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jenkinsci-users/CAA5t8VoRVBPFv52GKzNLc7mYGxr_ > v4ooL20_r_JWeH5ORSALXQ%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CACfoTn7RLBQdd87Tnz-QaXED0oTri4Zx0a-v%2Bth11R31is0pdg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
