Does this work locally as it kind of looks like not a Jenkins issue but a
Grails one.

Looks like a problem when processing the style.css file - I'm assuming if
you run with --stacktrace like it says you'll find out more.

Richard.

On Thu, 30 Mar 2017 at 12:53 Роман Ловаков <romiros...@gmail.com> wrote:

> what am I doing wrong? In the Global Tool Configuration, I installed the
> local Grails 3.4.8, Gradle 3.4, JDK 8, Groovy 2.4.10. In the Grails project
> settings in the Build section, I chose Build with Grails, the target field
> I wrote war. i have next settings and next structure of project on
> bitbucet
> But I have error
> [EnvInject] - Loading node environment variables.
> Building in workspace /var/lib/jenkins/jobs/xxx/workspace
>  > git rev-parse --is-inside-work-tree # timeout=10
> Fetching changes from the remote Git repository
>  > git config remote.origin.url https://x...@bitbucket.org/xxx/xxx.git #
> timeout=10
> Fetching upstream changes from https://x...@bitbucket.org/xxx/xxx.git
>  > git --version # timeout=10
> using GIT_ASKPASS to set credentials
>  > git fetch --tags --progress https://x...@bitbucket.org/xxx/xxx.git
> +refs/heads/*:refs/remotes/origin/*
>  > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
>  > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
> Checking out Revision 311cc87e3bda4c55dbd044edbace1f66bdc56a7b
> (refs/remotes/origin/master)
>  > git config core.sparsecheckout # timeout=10
>  > git checkout -f 311cc87e3bda4c55dbd044edbace1f66bdc56a7b
>  > git rev-list 311cc87e3bda4c55dbd044edbace1f66bdc56a7b # timeout=10
> [workspace] $ /usr/lib/grails/3.2.8/bin/grails
> -Dgrails.work.dir=/var/lib/jenkins/jobs/xxx/workspace//target war
> --non-interactive --plain-output
> :compileJava NO-SOURCE
> :compileGroovy UP-TO-DATE
> :findMainClass
> :assetCompile
> Processing File 1 of 30 - jstree/default-dark/32px.png
> - Writing File
> Processing File 2 of 30 - jstree/default-dark/40px.png
> - Writing File
> Processing File 3 of 30 - jstree/default-dark/throbber.gif
> - Writing File
> Processing File 4 of 30 - jstree/default/32px.png
> - Writing File
> Processing File 5 of 30 - jstree/default/40px.png
> - Writing File
> Processing File 6 of 30 - jstree/default/throbber.gif
> - Writing File
> Processing File 7 of 30 - glyphicons-halflings-regular.ttf
> - Writing File
> Processing File 8 of 30 - glyphicons-halflings-regular.svg
> - Writing File
> Processing File 9 of 30 - glyphicons-halflings-regular.woff2
> - Writing File
> Processing File 10 of 30 - glyphicons-halflings-regular.woff
> - Writing File
> Processing File 11 of 30 - glyphicons-halflings-regular.eot
> - Writing File
> Processing File 12 of 30 - css/bootstrap/bootstrap.min.css
> - Writing File
> Processing File 13 of 30 - css/bootstrap/bootstrap.css
> - Minifying File
> - Writing File
> Processing File 14 of 30 - css/jstree/default-dark/style.min.css
> - Writing File
> Processing File 15 of 30 - css/jstree/default-dark/style.css
> Error |
> Command [war] error: Could not execute build using Gradle distribution '
> https://services.gradle.org/distributions/gradle-3.4-all.zip'. (Use
> --stacktrace to see the full trace)
> Build step 'Build With Grails' marked build as failure
> Collecting metadata...
> Metadata collection done.
> Finished: FAILURE
>
> What i doing wrong?
>
> --
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/e73423f2-9b84-45f0-907e-416f4e21e15b%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/e73423f2-9b84-45f0-907e-416f4e21e15b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAMui9445R4Nhwp48-T8-UTefHmr2yVPjCx%3D%2B5W58bughVUU7Yg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to