Hey Jerome
I'm using latest stable version of Jenkins and my pipeline node script
looks as below.
node {
> stage('checkout') {
> git '...........github link...........'
> }
> stage('build and test') {
> bat 'npm install'
> bat 'npm run test'
> }
> stage('archive') {
> bat 'zip zipFile: \'screen.zip\' archive: true dir: \'screenprint\' glob:
> \'**/*.png\''
> }
> }
>
Thanks
Baswaraj
--
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/38e92b8f-1e32-4e68-aee6-16705a20f0df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.