Changeset - 15a12f2a47b4
[Not reviewed]
default
0 1 0
domruf - 9 years ago 2017-03-24 20:15:07
dominikruf@gmail.com
jenkinsfile: delete all old files in the workspace

Especial important when files have been renamed and there are *.pyc files
left over from the last build.
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
Jenkinsfile
Show inline comments
 
@@ -64,6 +64,7 @@ node {
 
    def pytests = [:]
 
    pytests['sqlite'] = {
 
        ws {
 
            deleteDir()
 
            unstash name: 'kallithea'
 
            if (isUnix()) {
 
                sh script: """$activatevirtualenv
 
@@ -89,6 +90,7 @@ node {
 
    if (isUnix()) {
 
        pytests['de'] = {
 
            ws {
 
                deleteDir()
 
                unstash name: 'kallithea'
 
                withEnv(['LANG=de_DE.UTF-8',
 
                    'LANGUAGE=de',
 
@@ -113,6 +115,7 @@ node {
 
        }
 
        pytests['mysql'] = {
 
            ws {
 
                deleteDir()
 
                unstash name: 'kallithea'
 
                sh """$activatevirtualenv
 
                    pip install --upgrade MySQL-python
 
@@ -135,6 +138,7 @@ node {
 
        }
 
        pytests['postgresql'] = {
 
            ws {
 
                deleteDir()
 
                unstash name: 'kallithea'
 
                sh """$activatevirtualenv
 
                    pip install --upgrade psycopg2
0 comments (0 inline, 0 general)