We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to execute a script sh in my repository root folder but I am getting the message error bellow:
2018-08-31T20:11:21.8296793Z ##[section]Starting: Shell Script 2018-08-31T20:11:21.8302330Z ============================================================================== 2018-08-31T20:11:21.8302515Z Task : Shell++ 2018-08-31T20:11:21.8302637Z Description : Execute bash script 2018-08-31T20:11:21.8302771Z Version : 0.3.1 2018-08-31T20:11:21.8302889Z Author : ms-devlabs 2018-08-31T20:11:21.8303035Z Help : More Information 2018-08-31T20:11:21.8303216Z ============================================================================== 2018-08-31T20:11:22.0840136Z not found echo: null 2018-08-31T20:11:22.0887655Z ##[section]Finishing: Shell Script
Here is may script:
#!/usr/bin/env bash DIR=/d/git/eSim.Beneficio if [ -d "$DIR" ]; then printf '%s\n' "Removing Lock ($DIR)" rm -rf "$DIR" fi #navigate to git directory cd /d/git/ #clone repo git clone https://<user>:<password>@mongeral.visualstudio.com/DefaultCollection/Projetos/_git/eSim.Beneficio cd /d/git/eSim.Beneficio # Checkout master branch and merge version branch into master git checkout automaticMergeTest git merge master --no-ff --no-edit git push CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD) # Success echo "-------------------------------------------------------------------------" echo "Merge master into $CURRENT_BRANCH complete"
I've ran this script in build server e got success.
Am I doing something wrong?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm trying to execute a script sh in my repository root folder but I am getting the message error bellow:
2018-08-31T20:11:21.8296793Z ##[section]Starting: Shell Script
2018-08-31T20:11:21.8302330Z ==============================================================================
2018-08-31T20:11:21.8302515Z Task : Shell++
2018-08-31T20:11:21.8302637Z Description : Execute bash script
2018-08-31T20:11:21.8302771Z Version : 0.3.1
2018-08-31T20:11:21.8302889Z Author : ms-devlabs
2018-08-31T20:11:21.8303035Z Help : More Information
2018-08-31T20:11:21.8303216Z ==============================================================================
2018-08-31T20:11:22.0840136Z not found echo: null
2018-08-31T20:11:22.0887655Z ##[section]Finishing: Shell Script
Here is may script:
I've ran this script in build server e got success.
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: