>
> You can get the jobs BUILD_NUMBER value through the getNumber() method.
> With that you may access the plain log via
> /job///consoleText
> URL.
>
>
>
> Regards
>
> Eric
>
This definitely works!
I was hoping that there would be a way to access the logs without hitting a
URL.
Many Th
d, I
check the results for a failure. Is there way to access the job's logs?
I see that the RunWrapper does not expose any api to retrieve
Run.getLogFile().
Many Thanks!
-Vizionz
// Allocate Node
//
node("MyNode")
{
// Set Directory
//
dir("PathToDirectory
Hello,
Is it possible to add '--recursive' parameter to the workflow git statement?
git branch: "${GitBranch}", changelog: true, poll: false, url: "${GitRepo}"
This statement does not pull submodules when executed.
High Regards,
Jc
--
You received this message because you are subscribed to
Two minutes after posting...
https://issues.jenkins-ci.org/browse/JENKINS-26133
Looks as though there is no easy way to return output/status from a shell
script instance.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from th
ory/to/git/REPO")
{
GitCommitCountValue=sh([script: "git rev-list HEAD --count"])
print "Git Commit Count = ${GitCommitCountValue}"
}
}
*Output:*
[REPO] Running shell script
> + git rev-list HEAD --count
> 99
> Running: Print Message
> GIT COMMIT COUNT = 0
Thank you in adv