$ vim /etc/default/jenkins
No arquivo localize o conteúdo:
# port for HTTP connector (default 8080; disable with -1)
HTTP_PORT=8080
Agora é só alterar o valor da propriedade HTTP_PORT para a porta desejada.
$ vim /etc/default/jenkins
No arquivo localize o conteúdo:
# port for HTTP connector (default 8080; disable with -1)
HTTP_PORT=8080
Agora é só alterar o valor da propriedade HTTP_PORT para a porta desejada.
Se o comando "git status", tiver como resultado algo semelhante ao quadro a seguir:
$ git status
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: javaee5/seam-jboss5-exemplo/pom.xml
#
Use o comando "git checkout -- (file path)" para descartar mudanças.
$ git checkout -- javaee5/seam-jboss5-exemplo/pom.xml
Pronto arquivo restaurado! :)