diff options
| author | mo khan <mo.khan@gmail.com> | 2020-03-18 16:35:30 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-03-18 16:35:30 -0600 |
| commit | a5ba9c50f12484624fca78a5a488f9fbe08cd6bd (patch) | |
| tree | 51d30b02d849ced056dd3a14c608788504f30a77 | |
| parent | 76ae083e52248775368fcc364561e0ba9ddf1076 (diff) | |
publish a new airgap version
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | README.md | 6 | ||||
| -rw-r--r-- | ci_settings.xml | 4 | ||||
| -rw-r--r-- | pom.xml | 4 |
4 files changed, 11 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target @@ -5,3 +5,9 @@ ```bash mvn archetype:generate -DgroupId=com.gitlab.xlgmokha -DartifactId=mvn-spike -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false ``` + +Deploy to gitlab.airgap: + +```bash +root@b08534b78fdf:/code# TOKEN=<token> mvn deploy -e -s ci_settings.xml -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true +``` diff --git a/ci_settings.xml b/ci_settings.xml index e84b931..e6fe4ec 100644 --- a/ci_settings.xml +++ b/ci_settings.xml @@ -5,8 +5,8 @@ <configuration> <httpHeaders> <property> - <name>Job-Token</name> - <value>${env.CI_JOB_TOKEN}</value> + <name>Private-Token</name> + <value>${env.TOKEN}</value> </property> </httpHeaders> </configuration> @@ -1,9 +1,9 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.gitlab.xlgmokha</groupId> + <groupId>airgap.gitlab.xlgmokha</groupId> <artifactId>mvn-spike</artifactId> <packaging>jar</packaging> - <version>1.2-SNAPSHOT</version> + <version>1.3-SNAPSHOT</version> <name>mvn-spike</name> <url>http://maven.apache.org</url> <licenses> |
