Have the very same question :-)
Anyone knows?
Il giorno sabato 30 aprile 2016 22:50:06 UTC+1, Camilo Nova ha scritto:
>
> Hi,
>
> I'm using the pipeline and when it finishes it leaves an empty folder
> 'my-project@tmp' and I don't want to leave it there.
>
> There is a way to disable the folder generation? Maybe using /tmp
>
> There is a way to tell the pipeline to remove that folder after it
> finishes?
>
> This is my pipeline:
>
> stage 'test'
> node('unix') {
> checkout scm
> stash inludes: '**', name: 'source'
>
> sh '''
> virtualenv --python=python2.7 .env
> . .env/bin/activate
> pip install -r requirements.txt
> ./manage.py test --failfast
> '''
> }
>
> As far as I read seems the 'sh' command creates the directory, but I want
> to remove it after it finishes or to set a different tmp folder path.
>
> Thanks.
>
--
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/8960b636-d6d0-45dd-b0e0-db49fdad9929%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.