I am using the following element in maven pom.xml file to pull the code from bitbucket, but after compiling, am not seeing the pulled code anywhere.
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-scm-plugin</artifactId> <version>1.6</version> <configuration> <goals>checkout</goals> <checkoutDirectory>target/checkout</checkoutDirectory> <username>xyz</username> <password>abc</password> </configuration> <executions> <execution> <id>check-out-project1</id> <phase>generate-sources</phase> <goals> <goal>checkout</goal> </goals> </execution> </executions> </plugin> </plugins> </build> I am using above code, but it is doing 1)git clone 2)git ls-remote 3)git pull branch 4)git checkout. but here i want only 2,3,4 steps or atleast just 3,4 but i dont want clone.
1)git clone 2)git ls-remote 3)git pull branch 4)git checkout. but here i want only 2,3,4 steps or atleast just 3,4 but i dont want clone.
There is no such thing as checking out without cloning for Git. 1, 2, 3 and 4 are theoretically correct and sound.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs