Hi
Please help me in this regards.
i dont know why after git commit the status revert to old revision and push does not occur.
+ /usr/bin/git add .
+ /usr/bin/git status
# Not currently on any branch.
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# new file: xxxx1.css
# new file: xxxx2.css
# new file: xxxx3.css
+ /usr/bin/git commit -am 'checked in from jenkins'
[detached HEAD 07c00f4] checked in from jenkins
45 files changed, 11897 insertions(+), 3 deletions(-)
create mode 100644 xxxx1.css
create mode 100644 xxxx2.css
create mode 100644 xxxx3.css
+ /usr/bin/git status
# Not currently on any branch.
nothing to commit (working directory clean)
+ /usr/bin/git push
Everything up-to-date
I dont understand what happens after commit and before push, its not working executing shell inside jenkins or manually putting commands into jenkins.
Require assistance, please.
Jyotir
On Thursday, 13 February 2014 19:54:20 UTC+5:30, jyotir bhandari wrote:Hi
I am newbie to jenkins, and since morning I am trying to push changes to git repositories, but after git commit, it just does not executes git push command in pre build scm.
I have tried tit publisher in post script but then build process just checks-out stable release available to him and after that git publish sticks to it, it commit changes are overwritten again and again.
Note : I am not using github, i have my own git server.
Please suggest as to how to get code checked in via jenkins.
Regards
Jyotir