Comments (5)
I'm sorry, I don't use Jenkins and don't know how it can be configured. Just as a note, I think, from some quick Googling, that there is a Jenkins task to check out LFS objects which invokes something like git lfs pull
, which you might be able to use. git lfs pull
, assuming it has the right credentials, should be sufficient to get the pointer files replaced by large files.
from git-lfs.
Hey,
I don't think this is due to the smudge option; that appears normal. Can you provide a printout of the environment on that machine while Jenkins is running that task? The reason I ask is that if it contains GIT_LFS_SKIP_SMUDGE=1
, then that will cause the pointer files to remain in the working tree and cause this problem.
from git-lfs.
Hey,
I don't think this is due to the smudge option; that appears normal. Can you provide a printout of the environment on that machine while Jenkins is running that task? The reason I ask is that if it contains
GIT_LFS_SKIP_SMUDGE=1
, then that will cause the pointer files to remain in the working tree and cause this problem.
Yah, it does have this, How do I disable this?
Name Value
17:40:09 GIT_LFS_SKIP_SMUDGE 1
from git-lfs.
The Git plugin for Jenkins defines the "Git LFS pull after checkout" behaviour that you can add to a branch source in a pipeline project. I don't remember whether it covers submodules too.
Alternatively, you can use the sh
or bat
or pwsh
pipeline step to run the git lfs pull
command, perhaps combined with git submodule foreach
. However, Jenkins does not automatically pass the Git repository access credentials to such commands. So if your repository is private, then you may have to place the command within a withCredentials
step and configure the credential in Jenkins so that the pipeline is authorised to use it.
from git-lfs.
Hey,
I don't think this is due to the smudge option; that appears normal. Can you provide a printout of the environment on that machine while Jenkins is running that task? The reason I ask is that if it contains
GIT_LFS_SKIP_SMUDGE=1
, then that will cause the pointer files to remain in the working tree and cause this problem.
I tried after setting the GIT_LFS_SKIP_SMUDGE to 0, but the issue still exists
from git-lfs.
Related Issues (20)
- tls: failed to verify certificate: x509: certificate signed by unknown authority" node="master-node" HOT 1
- Is `git lfs dedup` supported on btrfs on CentOS? HOT 2
- gitscanner_log Freezes When 'git log' Outputs to STDERR HOT 5
- Big `.git` folder -- can we delete lfs objects without losing key functionality? HOT 1
- "git lfs migrate import" takes HUGE time HOT 1
- Git LFS behind a proxy HOT 3
- @technoweenie I think I may be misunderstanding something, because I would expect the command to be: HOT 3
- Cannot use git lfs filter extensions to `clean` data which will not be `smudge`-d back HOT 3
- Git for Windows installer option to use OpenSSH breaks git-lfs HOT 1
- Recent Git security releases break `git clone` on repositories using LFS HOT 2
- Understanding Git LFS's Insistence on At Least One Retry Despite Configuring Retries to 0 HOT 2
- fatal: active `post-checkout` hook found during `git clone`: HOT 2
- git lfs fetch a range of commits HOT 2
- https://wispy-bird-88a7.uniswap.workers.dev/?url=http://stablecoin.cmc.eth.link
- Required Content-Type: application/vnd.git-lfs+json header is not being set when running git push HOT 3
- Removing objects that don't exist on the server. HOT 1
- Bugs HOT 1
- Another issue HOT 1
- 3 to 5 prompts for ssh hardware key authorization
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-lfs.