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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e6b4cc54-8452-41bc-a9c3-efeeddbea399%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to