Tutorial https://jenkins.io/doc/tutorials/build-a-java-app-with-maven/ not working.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Tutorial https://jenkins.io/doc/tutorials/build-a-java-app-with-maven/ not working.

SuprB
I copied and pasted the code and still i get an error.
Howto proceed ?


 Obtained Jenkinsfile from git /home/Github/simple-java-maven-app/
Running in Durability level: MAX_SURVIVABILITY
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
WorkflowScript: 4: expecting '}', found '' @ line 4, column 35.
               image 'maven:3-alpine'
                                     ^

1 error

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2f6b77c4-2244-45e4-8947-1cd46d2f1359%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Tutorial https://jenkins.io/doc/tutorials/build-a-java-app-with-maven/ not working.

Victor Martinez
I just followed the same steps from https://jenkins.io/doc/tutorials/build-a-java-app-with-maven/ and I didn't get any errors though.

- Run Jenkins in Docker
- Configure default plugins
- Create pipeline project in Jenkins
- Use the initial Pipeline as a Jenkinsfile

If you replay the build, do you see any syntax errors?

In my case it looks like the below screenshot:


<a imageanchor="1" href="about:invalid#zClosurez" style="clear: left; margin-bottom: 1em; float: left; margin-right: 1em;">Screenshot 2019-11-25 at 16.34.38.png<a imageanchor="1" href="about:invalid#zClosurez" style="clear: left; margin-bottom: 1em; float: left; margin-right: 1em;">
Cheers

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e267067f-65a9-4f40-b387-3cc7a0c0ba77%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Tutorial https://jenkins.io/doc/tutorials/build-a-java-app-with-maven/ not working.

SuprB
Well i copied the code as a whole (not line by line)
and it works like a charm !

Graag ontvang ik een ontvangst- en leesbevestiging retour.

Met vriendelijke groet,

Bas Neve
[hidden email]
316 14 12 00 71












Op ma 25 nov. 2019 om 17:35 schreef Victor Martinez <[hidden email]>:
I just followed the same steps from https://jenkins.io/doc/tutorials/build-a-java-app-with-maven/ and I didn't get any errors though.

- Run Jenkins in Docker
- Configure default plugins
- Create pipeline project in Jenkins
- Use the initial Pipeline as a Jenkinsfile

If you replay the build, do you see any syntax errors?

In my case it looks like the below screenshot:


Screenshot 2019-11-25 at 16.34.38.png
Cheers

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e267067f-65a9-4f40-b387-3cc7a0c0ba77%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAMchUiErg%3Dp0znyw8v6bsGf3ScMLodokQL3Pu%2B0rOccwuAtF8Q%40mail.gmail.com.