Comments (6)
Can you give an example when pipelines
has .git
in BITBUCKET_REPO_SLUG
? Or please clarify what the report is about. @Timple
from pipelines.
image: ubuntu
pipelines:
default:
- step:
script:
- echo "$BITBUCKET_REPO_SLUG"
Typically a repository url looks like this:
https://bitbucket.org/company/somereponame
bitbucket pipelines:
BITBUCKET_REPO_SLUG=somereponame
pipelines.phar:
BITBUCKET_REPO_SLUG=somereponame.git
from pipelines.
@Timple Could it be that you project is inside a folder named somereponame.git
? Pipelines should take the basename of the project folder (which is also the project name for it which then goes into the slug).
from pipelines.
Aha, that might be it! They are not in a folder with the .git
extension but they are symlink. And the symlinks (with extension) point to a folder with extension.
So this might be something we need to fix on our side.
from pipelines.
Ah, that explains it. If you want to have the same behaviour as on Bitbucket, you can add an entry to the .env.dist
file specifying it. pipelines
then takes that automatically into the runner-environment of the pipeline:
.env.dist
BITBUCKET_REPO_SLUG=somereponame
See as well Pipelines Environment Variable Usage.
from pipelines.
Awesome, thanks for the pointer
from pipelines.
Related Issues (20)
- 'image' required in service definition HOT 3
- Dockerfile for pipelines? HOT 5
- `step.clone-path` does not match current Bitbucket behavior HOT 4
- Support for `condition` HOT 4
- (Some) Anchors Do Not Work - Raises Invalid YAML HOT 12
- Support for 'docker' in 'options' HOT 9
- Failed to parse validated YAML file HOT 2
- /bin/sh: 5: source: not found HOT 12
- Pipelines Fatal Environment Definition Error is puzzling HOT 11
- PHP Deprecated: trim(): ... no pipeline to run! HOT 7
- script non-zero exit status: 243 HOT 3
- pipelines: file parse error: 'image' required in service definition HOT 1
- coverage-checker.php deprecated notice HOT 1
- Parallel step support for fail-fast and steps properties HOT 3
- More Docker Client Versions HOT 5
- Does this tool support pipes? HOT 3
- Services support (e.g. mysql) HOT 5
- Default pipeline with parallel fails validation HOT 3
- Working with private repos HOT 4
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 pipelines.