Comments (1)
We will need this for Transifex automation ipfs-inactive/jenkins-libs#28
Would something like Credentials Binding Plugin do the trick? (Injecting Secrets into Jenkins Build Jobs)
Injecting only into specific scopes sounds like a good practice, snippet for the linked plugin:
withCredentials([usernamePassword(credentialsId: 'amazon', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) {
// available as an env variable, but will be masked if you try to print it out any which way
// note: single quotes prevent Groovy interpolation; expansion is by Bourne Shell, which is what you want
sh 'echo $PASSWORD'
// also available as a Groovy variable
echo USERNAME
// or inside double quotes for string interpolation
echo "username is $USERNAME"
}
from dev-team-enablement.
Related Issues (20)
- Website builds should hit preload servers HOT 2
- No permission to abort full pipeline
- Build failing on notify github HOT 1
- Error cloning remote repo 'origin' HOT 1
- No such property: currentOS for class: groovy.lang.Binding HOT 1
- Pipeline doesn't stop if there was an error HOT 1
- Codelint fails HOT 1
- Codecov upload failed HOT 2
- js-ipfs build on Windows fails due to Python HOT 3
- Build seems green but tests failed
- Set tmp and home dir env to within the workspace
- Windows worker is out of diskspace HOT 1
- JavaScript Projects: run browser tests in CI only HOT 2
- Benchmarking infra HOT 1
- Consider using JClouds for jenkins HOT 3
- Webui CI job fails to publish dnslink update HOT 4
- With the new pipeline, all tests have to wait on Mac OS X Workers to install their deps HOT 2
- Run branch tests only an Greenkeeper branches
- Run only on supported LTS version HOT 1
- Shall I move all of the issues here to ipfs/infra and archive this repo? HOT 9
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 dev-team-enablement.