fetch develop before checking
This commit is contained in:
parent
bada9fee11
commit
5f55a7bcc8
|
@ -51,7 +51,7 @@ pipeline {
|
||||||
|
|
||||||
stage('Migration') {
|
stage('Migration') {
|
||||||
steps { script {
|
steps { script {
|
||||||
nix.shell('make migration-check')
|
nix.shell('make migration-check', pure: false)
|
||||||
} }
|
} }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,7 @@ check_migration_order() {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
git fetch origin develop
|
||||||
committed_files=$(git ls-tree -r --name-only HEAD protocol/migrations/sqlite/*.sql | sort)
|
committed_files=$(git ls-tree -r --name-only HEAD protocol/migrations/sqlite/*.sql | sort)
|
||||||
staged_files=$(git diff --name-only origin/develop protocol/migrations/sqlite/*.sql | sort)
|
staged_files=$(git diff --name-only origin/develop protocol/migrations/sqlite/*.sql | sort)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue